]> git.pld-linux.org Git - packages/pam.git/commitdiff
-install pam_selinux only with selinux
authorareq <areq@pld-linux.org>
Wed, 7 Feb 2007 20:51:20 +0000 (20:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pam.spec -> 1.254

pam.spec

index 3889b5bf8ae7d7abcec55adedc60882b231cf768..cb6930f330e8f4492cf585b0afbf0f9969131452 100644 (file)
--- a/pam.spec
+++ b/pam.spec
@@ -279,8 +279,10 @@ install -d $RPM_BUILD_ROOT{%{_libdir},/etc/pam.d,/var/log}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%if %{with selinux}
 install modules/pam_selinux/.libs/pam_selinux_check $RPM_BUILD_ROOT%{_sbindir}
 install modules/pam_selinux/pam_selinux_check.8 $RPM_BUILD_ROOT%{_mandir}/man8
+%endif
 
 mkdir -p doc/txts
 for r in modules/pam_*/README ; do
This page took 0.178359 seconds and 4 git commands to generate.