[arch-commits] Commit in lib32-systemd/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Wed Jul 7 21:00:26 UTC 2021


    Date: Wednesday, July 7, 2021 @ 21:00:25
  Author: eworm
Revision: 975310

fix internal version comparison

Modified:
  lib32-systemd/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-07 20:47:28 UTC (rev 975309)
+++ PKGBUILD	2021-07-07 21:00:25 UTC (rev 975310)
@@ -72,7 +72,9 @@
     --libexecdir	/usr/lib32
     --libdir		/usr/lib32
 
-    -Dversion-tag="${pkgver}-${pkgrel}-arch"
+    # internal version comparison is incompatible with pacman:
+    #   249~rc1 < 249 < 249.1 < 249rc
+    -Dversion-tag="${_tag_name/-/\~}-${pkgrel}-arch"
     -Dmode=release
 
     # features




More information about the arch-commits mailing list