SPECS: pam.spec - no need for /dev/null in post - R(post) coreutils
baggins
baggins at pld-linux.org
Wed Feb 14 18:02:47 CET 2007
Author: baggins Date: Wed Feb 14 17:02:47 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- no need for /dev/null in post
- R(post) coreutils
---- Files affected:
SPECS:
pam.spec (1.260 -> 1.261)
---- Diffs:
================================================================
Index: SPECS/pam.spec
diff -u SPECS/pam.spec:1.260 SPECS/pam.spec:1.261
--- SPECS/pam.spec:1.260 Tue Feb 13 08:16:51 2007
+++ SPECS/pam.spec Wed Feb 14 18:02:42 2007
@@ -78,6 +78,7 @@
BuildRequires: libxslt-progs
BuildRequires: w3m
%endif
+Requires(post): coreutils
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: awk
Requires: /usr/bin/make
@@ -382,10 +383,12 @@
%post
#if [ ! -a /var/log/faillog ] ; then
-# install -m 600 /dev/null /var/log/faillog
+# :> /var/log/faillog
+# chmod 600 /var/log/faillog
#fi
if [ ! -a /var/log/tallylog ] ; then
- install -m 600 /dev/null /var/log/tallylog
+ :> /var/log/tallylog
+ chmod 600 /var/log/tallylog
fi
%post libs -p /sbin/ldconfig
@@ -523,6 +526,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.261 2007/02/14 17:02:42 baggins
+- no need for /dev/null in post
+- R(post) coreutils
+
Revision 1.260 2007/02/13 07:16:51 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pam.spec?r1=1.260&r2=1.261&f=u
More information about the pld-cvs-commit
mailing list