]> git.pld-linux.org Git - packages/pwdutils.git/commitdiff
- add selinux bcond; rel 2; STBR auto/ac/pwdutils-2_6_90-2
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 25 Nov 2004 12:41:49 +0000 (12:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pwdutils.spec -> 1.39

pwdutils.spec

index 37b2973dd04cca083df0c9bfec54454c95d4800e..a34d7d601998bedc294fe10d594da0bf07c711d1 100644 (file)
@@ -1,12 +1,13 @@
 #
 # Conditional build:
 %bcond_without ldap    # build without LDAP support
+%bcond_without selinux         # build without SELinux support
 #
 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:       2.6.90
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/System
 Source0:       ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.bz2
@@ -26,7 +27,7 @@ BuildRequires:        autoconf
 BuildRequires: automake
 BuildRequires: gcc >= 5:3.2
 BuildRequires: gettext-devel
-BuildRequires: libselinux-devel
+%{?with_selinux:BuildRequires: libselinux-devel}
 %{?with_ldap:BuildRequires:    openldap-devel}
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: openslp-devel
@@ -113,7 +114,7 @@ sed -i -e 's#EXTRA_CFLAGS=.*#EXTRA_CFLAGS="-W -Wall"#g' configure.in
 %{__automake}
 %configure \
        --enable-pam_rpasswd \
-       --enable-selinux \
+       --%{?with_selinux:en}%{!?with_selinux:dis}able-selinux \
        --enable-slp \
        --enable-ssl \
        --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
This page took 0.067405 seconds and 4 git commands to generate.