]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- don't use possibly missing macros in preamble
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 26 Oct 2020 08:41:08 +0000 (09:41 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 26 Oct 2020 08:41:08 +0000 (09:41 +0100)
rpm.spec

index a5578993abeea03ec28d44c625a7a9233a075b6b..5867562497c2ec359a623b9edeb110bfd6367741 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -13,9 +13,9 @@
 %define                popt_ver        1.15
 %define                sover           9.1.0
 
- %if %{_ver_ge '%{_rpmversion}' '4.12'} && %{_ver_lt '%{_rpmversion}' '5.0'}
- %define       with_recommends_tags
- %endif
+%if "%{_rpmversion}" >= "4.12" && "%{_rpmversion}" < "5"
+%define        with_recommends_tags    1
+%endif
 
 Summary:       RPM Package Manager
 Summary(de.UTF-8):     RPM Packet-Manager
This page took 0.069848 seconds and 4 git commands to generate.