From b54afd1d94972e7d0a6ed2139a90a1b08bf1bda4 Mon Sep 17 00:00:00 2001 From: Michal Domonkos Date: Wed, 23 Apr 2025 16:41:18 +0200 Subject: [PATCH] Fix libarchive bcond Resolves: RHEL-75147 --- rpm.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm.spec b/rpm.spec index 694a438..f40e80c 100644 --- a/rpm.spec +++ b/rpm.spec @@ -490,7 +490,9 @@ fi %attr(0644, root, root) %ghost /usr/lib/sysimage/rpm/.*.lock %{_bindir}/rpm +%if %{with libarchive} %{_bindir}/rpm2archive +%endif %{_bindir}/rpm2cpio %{_bindir}/rpmdb %{_bindir}/rpmkeys @@ -501,7 +503,9 @@ fi %{_mandir}/man8/rpm.8* %{_mandir}/man8/rpmdb.8* %{_mandir}/man8/rpmkeys.8* +%if %{with libarchive} %{_mandir}/man8/rpm2archive.8* +%endif %{_mandir}/man8/rpm2cpio.8* %{_mandir}/man8/rpm-misc.8* %{_mandir}/man8/rpmsort.8*