From 7dcb7f9b1d11802c9e1394b620d12b2eba8dafea Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 18 Feb 2013 11:44:55 +0100 Subject: [PATCH 1/1] turn off unneeded features --- libvirt.spec | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/libvirt.spec b/libvirt.spec index 8f9d986..c7a81b3 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -4,6 +4,29 @@ %define module_version_varname mainstream_version %define taglevel 0 +#libvirt-RPMFLAGS := --without storage-disk --without storage-iscsi --without storage-scsi \ +# --without storage-fs --without storage-lvm \ +# --without polkit --without sasl --without audit --with capng --with udev \ +# --without netcf --without avahi --without sanlock \ +# --without xen --without qemu --without hyperv --without phyp --without esx \ +# --without libxl \ +%define _without_storage_disk true +%define _without_storage_iscsi true +%define _without_storage_fs true +%define _without_storage_lvm true +%define _without_polkit true +%define _without_sasl true +%define _without_audit true +%define _without_netcf true +%define _without_avahi true +%define _without_sanlock true +%define _without_xen true +%define _without_qemu true +%define _without_hyperv true +%define _without_phyp true +%define _without_esx true +%define _without_libxl true + # If neither fedora nor rhel was defined, try to guess them from %{dist} %if !0%{?rhel} && !0%{?fedora} %{expand:%(echo "%{?dist}" | \ -- 2.43.0