X-Git-Url: http://git.onelab.eu/?p=libvirt.git;a=blobdiff_plain;f=libvirt.spec;h=05d649945560f9bc8d24f09bc233557b4eb59498;hp=8f9d9861c57a08d005b0c9e425f5b2ffe0d4b396;hb=81cd04d0554c6723a729ed3c1fce51fd14433425;hpb=d137cb90003904ae7ac0a532fd9e0e3dab10275a diff --git a/libvirt.spec b/libvirt.spec index 8f9d986..05d6499 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}" | \ @@ -355,7 +378,7 @@ URL: http://libvirt.org/ %define mainturl stable_updates/ %endif Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz -Patch1: selinux-mkdir.patch +Patch1: libcurl.patch %if %{with_libvirtd} Requires: libvirt-daemon = %{version}-%{release} @@ -1083,7 +1106,7 @@ of recent versions of Linux (and other OSes). %prep %setup -q -%patch1 -p1 +%patch1 -p1 %build %if ! %{with_xen}