%bcond_without plugins # build plugins
%bcond_without recommends_tags # build without Recommends tag (bootstrapping)
%bcond_with imaevm # build with IMA/EVM support (requires libimaevm from ima-evm-utils)
-%bcond_with cheating # do not add spurious deps to short-circuited builds
%define db_ver 5.3.28.0
%define popt_ver 1.15
Summary(uk.UTF-8): Менеджер пакетів від RPM
Name: rpm
Version: 4.16.0
-Release: 0.4
+Release: 0.7
Epoch: 1
License: GPL v2 / LGPL v2.1
Group: Base
Patch20: uname-deps.patch
Patch21: aarch64.patch
Patch22: ix86-platforms.patch
-Patch23: %{name}-enable_cheating.patch
+Patch23: shortcircuited-deps.patch
+Patch24: cpuinfo-deps.patch
+Patch25: rpmio-read-proc-files.patch
URL: https://rpm.org/
BuildRequires: acl-devel
BuildRequires: db-devel >= %{db_ver}
%patch20 -p1
%patch21 -p1
%patch22 -p1
-%if %{with cheating}
%patch23 -p1
-%endif
+%patch24 -p1
+%patch25 -p1
install %{SOURCE15} scripts/perl.prov.in
--disable-silent-rules \
--enable-shared \
--enable-bdb \
+ --enable-bdb-ro \
--enable-ndb \
--enable-sqlite \
--enable-zstd \