]> git.pld-linux.org Git - packages/libvirt.git/commitdiff
ldap support is optional
authorMariusz Mazur <mmazur@axeos.com>
Fri, 12 Aug 2016 11:38:54 +0000 (13:38 +0200)
committerMariusz Mazur <mmazur@axeos.com>
Fri, 12 Aug 2016 11:38:54 +0000 (13:38 +0200)
libvirt.spec

index 02c2714e97069583a539cefc99daba7dbbaf3022..92e1cec39b7367a80cfaa4f822d6d5bff49e4788 100644 (file)
@@ -24,6 +24,7 @@
 %bcond_without xenapi          # Xen API (Citrix XenServer) support
 %bcond_without xen             # Xen support
 %bcond_without static_libs     # static libraries build
+%bcond_without  ldap        # don't require openldap-devel
 
 # qemu available only on x86 and ppc
 %ifnarch %{ix86} %{x8664} ppc
@@ -88,7 +89,7 @@ BuildRequires:        libxslt-devel
 BuildRequires: ncurses-devel
 %{?with_netcf:BuildRequires:   netcf-devel >= 0.2.0}
 BuildRequires: numactl-devel
-BuildRequires: openldap-devel
+%{?with_ldap:   BuildRequires: openldap-devel}
 %{?with_hyperv:BuildRequires:  openwsman-devel >= 2.2.3}
 BuildRequires: parted-devel >= 1.8.0
 BuildRequires: pkgconfig
This page took 0.120645 seconds and 4 git commands to generate.