]> xenbits.xensource.com Git - libvirt.git/commitdiff
libvirt.spec.in: remove sasl conditionals
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 4 May 2016 15:29:49 +0000 (16:29 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 11 May 2016 15:42:37 +0000 (16:42 +0100)
Both RHEL and Fedora build with sasl enabled at all times.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
libvirt.spec.in

index c07821abfcf4fc1af572e04ce3f839e7c3422762..f2b83b61d98605173e767c40599eb6dc88987139 100644 (file)
@@ -97,7 +97,6 @@
 %define with_pm_utils      1
 
 # Non-server/HV driver defaults which are always enabled
-%define with_sasl          0%{!?_without_sasl:1}
 %define with_nss_plugin    0%{!?_without_nss_plugin:1}
 
 
@@ -378,9 +377,7 @@ BuildRequires: radvd
 BuildRequires: ebtables
 %endif
 BuildRequires: module-init-tools
-%if %{with_sasl}
 BuildRequires: cyrus-sasl-devel
-%endif
 %if %{with_polkit}
     %if 0%{?fedora} || 0%{?rhel} >= 7
 # F22 polkit-devel doesn't pull in polkit anymore, which we need for pkcheck
@@ -939,12 +936,10 @@ Requires: gnutls-utils
 # Needed for probing the power management features of the host.
 Requires: pm-utils
 %endif
-%if %{with_sasl}
 Requires: cyrus-sasl
 # Not technically required, but makes 'out-of-box' config
 # work correctly & doesn't have onerous dependencies
 Requires: cyrus-sasl-md5
-%endif
 
 %description client
 Shared libraries and client binaries needed to access to the
@@ -1077,10 +1072,6 @@ rm -rf .git
     %define _without_libxl --without-libxl
 %endif
 
-%if ! %{with_sasl}
-    %define _without_sasl --without-sasl
-%endif
-
 %if ! %{with_phyp}
     %define _without_phyp --without-phyp
 %endif
@@ -1230,7 +1221,7 @@ rm -f po/stamp-po
            %{?_without_lxc} \
            %{?_without_vbox} \
            %{?_without_libxl} \
-           %{?_without_sasl} \
+           --with-sasl \
            --with-avahi \
            %{?_without_polkit} \
            --with-libvirtd \
@@ -1964,9 +1955,7 @@ exit 0
 %attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh
 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
 
-%if %{with_sasl}
 %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
-%endif
 
 %if %{with_wireshark}
 %files wireshark