%bcond_without audit # don't build audit log plugin
%bcond_without ldap # build without LDAP support
%bcond_without selinux # build without SELinux support
-%bcond_with openssl # use OpenSSL instead of GnuTLS
+%bcond_with gnutls # use GnuTLS instead of OpenSSL
#
Summary: Utilities to manage the passwd and shadow user information
Summary(pl): Narzêdzia do zarz±dzania informacjami o u¿ytkownikach z passwd i shadow
Name: pwdutils
Version: 3.0.6
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/System
Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.bz2
BuildRequires: automake >= 1:1.7
BuildRequires: gcc >= 5:3.2
BuildRequires: gettext-devel
-%{!?with_openssl:BuildRequires: gnutls-devel >= 1.0.0}
+%{?with_gnutls:BuildRequires: gnutls-devel >= 1.0.0}
BuildRequires: libnscd-devel
%{?with_selinux:BuildRequires: libselinux-devel}
BuildRequires: libtool
%{?with_ldap:BuildRequires: openldap-devel}
-%{?with_openssl:BuildRequires: openssl-devel >= 0.9.7d}
+%{!?with_gnutls:BuildRequires: openssl-devel >= 0.9.7d}
BuildRequires: openslp-devel
BuildRequires: pam-devel
BuildRequires: sed >= 4.0
%{__automake}
%configure \
%{?with_audit:--enable-audit-plugin} \
- %{?with_openssl:--disable-gnutls} \
+ %{!?with_gnutls:--disable-gnutls} \
--%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
--enable-nls \
--enable-pam_rpasswd \