packages: pam/pam.spec - audit bcond fix

jajcus jajcus at pld-linux.org
Thu Mar 18 09:36:38 CET 2010


Author: jajcus                       Date: Thu Mar 18 08:36:38 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- audit bcond fix

---- Files affected:
packages/pam:
   pam.spec (1.300 -> 1.301) 

---- Diffs:

================================================================
Index: packages/pam/pam.spec
diff -u packages/pam/pam.spec:1.300 packages/pam/pam.spec:1.301
--- packages/pam/pam.spec:1.300	Fri Feb  5 01:02:21 2010
+++ packages/pam/pam.spec	Thu Mar 18 09:36:32 2010
@@ -310,6 +310,9 @@
 [ ${dir} = "modules/pam_selinux" ] && continue
 [ ${dir} = "modules/pam_sepermit" ] && continue
 %endif
+%if %{without audit}
+[ ${dir} = "modules/pam_tty_audit" ] && continue
+%endif
 	if [ -d ${dir} ] ; then
 		if ! ls -1 $RPM_BUILD_ROOT/%{_lib}/security/`basename ${dir}`*.so ; then
 			echo ERROR `basename ${dir}` did not build a module.
@@ -480,7 +483,7 @@
 %attr(755,root,root) /%{_lib}/security/pam_tally.so
 %attr(755,root,root) /%{_lib}/security/pam_time.so
 %attr(755,root,root) /%{_lib}/security/pam_timestamp.so
-%attr(755,root,root) /%{_lib}/security/pam_tty_audit.so
+%{?with_audit:%attr(755,root,root) /%{_lib}/security/pam_tty_audit.so}
 %attr(755,root,root) /%{_lib}/security/pam_umask.so
 %attr(755,root,root) /%{_lib}/security/pam_unix.so
 %attr(755,root,root) /%{_lib}/security/pam_userdb.so
@@ -528,6 +531,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.301  2010/03/18 08:36:32  jajcus
+- audit bcond fix
+
 Revision 1.300  2010/02/05 00:02:21  zbyniu
 - don't obsolete pam-pam_cap; rel 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pam/pam.spec?r1=1.300&r2=1.301&f=u



More information about the pld-cvs-commit mailing list