]> 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 37fc0b20d9d4db06b7dec80e32f48ae85793c364..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
@@ -74,6 +74,7 @@ Patch19:      pkgconfig.patch
 Patch20:       uname-deps.patch
 Patch21:       aarch64.patch
 URL:           https://rpm.org/
+BuildRequires: acl-devel
 BuildRequires: db-devel >= %{db_ver}
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1.4
@@ -81,6 +82,7 @@ BuildRequires:        bzip2-devel >= 1.0.2-17
 BuildRequires: elfutils-devel >= 0.108
 BuildRequires: gettext-tools >= 0.19.2
 BuildRequires: libarchive-devel
+BuildRequires: libcap-devel
 BuildRequires: libmagic-devel
 BuildRequires: libgcrypt-devel
 %if %{with plugins}
@@ -100,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.029502 seconds and 4 git commands to generate.