]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- version 1.750: fixed reversed _rpm_lt/_rpm_ge logic auto/th/rpm-pld-macros-1.750-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 28 Sep 2020 19:21:34 +0000 (21:21 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 28 Sep 2020 19:21:34 +0000 (21:21 +0200)
macros.pld
rpm-pld-macros.spec

index 8c3f698459f54d463658453205c4560e4e936bd6..4bcfcca2f682c500ef4eb84e04370998f3a815f8 100644 (file)
@@ -518,8 +518,8 @@ Provides: %{1} = %{?epoch:%{epoch}:}%{?version:%{version}}%{?release:-%{release}
 
 # for package versions comparison (incl. cc_version or _rpmversion)
 # BuildRequires:       rpmbuild(macros) >= 1.749
-%_ver_lt()     %(test $(rpmvercmp "%{1}" "%{2}" >/dev/null 2>&1; echo $?) -eq 2; echo $?)
-%_ver_ge()     %(test $(rpmvercmp "%{1}" "%{2}" >/dev/null 2>&1; echo $?) -ne 2; echo $?)
+%_ver_lt()     %(test $(rpmvercmp "%{1}" "%{2}" >/dev/null 2>&1; echo $?) -ne 2; echo $?)
+%_ver_ge()     %(test $(rpmvercmp "%{1}" "%{2}" >/dev/null 2>&1; echo $?) -eq 2; echo $?)
 
 %apache_modules_api %{expand:%%global apache_modules_api %(awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' /usr/include/apache/ap_mmn.h 2>/dev/null || echo ERROR)}%apache_modules_api
 
index 1d8f705c8775afb802f6c9b05a98583d112fd1d4..54fe2711f4d2532bb5105157234f0b7bb557d9ee 100644 (file)
@@ -1,4 +1,4 @@
-%define                rpm_macros_rev  1.749
+%define                rpm_macros_rev  1.750
 %define                find_lang_rev   1.40
 # split into individual X_prov_ver if there is a reason to desync
 %define                prov_ver        4.15
This page took 0.41735 seconds and 4 git commands to generate.