[packages/pwdutils] add xcrypt bcond
glen
glen at pld-linux.org
Tue Apr 28 19:10:57 CEST 2015
commit 476e0c813c7626146165cee8787116c1ec986f27
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Apr 28 20:07:57 2015 +0300
add xcrypt bcond
pwdutils.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pwdutils.spec b/pwdutils.spec
index 1a17ba0..818dc64 100644
--- a/pwdutils.spec
+++ b/pwdutils.spec
@@ -3,6 +3,7 @@
%bcond_without audit # don't build audit log plugin
%bcond_without ldap # build without LDAP support
%bcond_without selinux # build without SELinux support
+%bcond_without xcrypt # crypt() from libxcrypt
%bcond_with bioapi # with BioAPI support in passwd
%bcond_with gnutls # use GnuTLS instead of OpenSSL
@@ -46,7 +47,7 @@ BuildRequires: gettext-devel
BuildRequires: libnscd-devel
%{?with_selinux:BuildRequires: libselinux-devel}
BuildRequires: libtool
-BuildRequires: libxcrypt-devel
+%{?with_xcrypt:BuildRequires: libxcrypt-devel}
%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
BuildRequires: openslp-devel
%{!?with_gnutls:BuildRequires: openssl-devel >= 0.9.7d}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pwdutils.git/commitdiff/476e0c813c7626146165cee8787116c1ec986f27
More information about the pld-cvs-commit
mailing list