From 476e0c813c7626146165cee8787116c1ec986f27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 28 Apr 2015 20:07:57 +0300 Subject: [PATCH] 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} -- 2.44.0