From: Andrea Bolognani Date: Thu, 5 Jun 2025 15:58:30 +0000 (+0200) Subject: rpm: Drop unnecessary BuildRequires X-Git-Tag: v11.5.0-rc1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e362185e43bbe99e58d630296e1b148102401464;p=thirdparty%2Flibvirt.git rpm: Drop unnecessary BuildRequires We've recently stopped checking for the presence of various commands at build time, which means that we no longer need to have the corresponding packages installed in the build environment. Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- diff --git a/libvirt.spec.in b/libvirt.spec.in index f6ce2caff5..47644556d9 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -371,12 +371,7 @@ BuildRequires: sanlock-devel >= 2.4 BuildRequires: libpcap-devel >= 1.5.0 BuildRequires: libnl3-devel BuildRequires: libselinux-devel -# For modprobe -BuildRequires: kmod BuildRequires: cyrus-sasl-devel -BuildRequires: polkit >= 0.112 -# For mount/umount in FS driver -BuildRequires: util-linux %if %{with_qemu} # For managing ACLs BuildRequires: libacl-devel @@ -387,10 +382,6 @@ BuildRequires: /usr/bin/qemu-img %if %{with_nbdkit} BuildRequires: libnbd-devel %endif -# For LVM drivers -BuildRequires: lvm2 -# For pool type=iscsi -BuildRequires: iscsi-initiator-utils %if %{with_storage_iscsi_direct} # For pool type=iscsi-direct BuildRequires: libiscsi-devel @@ -430,11 +421,6 @@ BuildRequires: libwsman-devel >= 2.6.3 BuildRequires: audit-libs-devel BuildRequires: systemtap-sdt-devel BuildRequires: /usr/bin/dtrace -# For mount/umount in FS driver -BuildRequires: util-linux - %if %{with_numad} -BuildRequires: numad - %endif %if %{with_wireshark} BuildRequires: wireshark-devel %endif