]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.spec
- don't use possibly missing macros in preamble
[packages/rpm.git] / rpm.spec
index 64096791f9afcc5c7b0d16d70db92f6599194858..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
@@ -102,6 +102,7 @@ BuildRequires:      python3-modules
 %if %{with python3}
 BuildRequires: python3-devel
 BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.750
 %endif
 BuildRequires: sqlite3-devel >= 3.22.0
 BuildRequires: tcl
This page took 0.090946 seconds and 4 git commands to generate.