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

Christian Hesse eworm at archlinux.org
Wed Jul 7 20:58:31 UTC 2021


    Date: Wednesday, July 7, 2021 @ 20:58:31
  Author: eworm
Revision: 419069

fix internal version comparison

Modified:
  systemd/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-07 19:33:52 UTC (rev 419068)
+++ PKGBUILD	2021-07-07 20:58:31 UTC (rev 419069)
@@ -110,7 +110,9 @@
   )
 
   local _meson_options=(
-    -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
 
     -Dgnu-efi=true




More information about the arch-commits mailing list