SPECS: pam.spec - drop coreutils requirement - rel 2
patrys
patrys at pld-linux.org
Wed Jun 25 09:50:52 CEST 2008
Author: patrys Date: Wed Jun 25 07:50:51 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- drop coreutils requirement
- rel 2
---- Files affected:
SPECS:
pam.spec (1.283 -> 1.284)
---- Diffs:
================================================================
Index: SPECS/pam.spec
diff -u SPECS/pam.spec:1.283 SPECS/pam.spec:1.284
--- SPECS/pam.spec:1.283 Mon Apr 14 18:32:09 2008
+++ SPECS/pam.spec Wed Jun 25 09:50:46 2008
@@ -21,7 +21,7 @@
Summary(uk.UTF-8): Інструмент, що забезпечує аутентифікацію для програм
Name: pam
Version: 1.0.0
-Release: 1
+Release: 2
License: GPL or BSD
Group: Base
Source0: http://ftp.kernel.org/pub/linux/libs/pam/library/Linux-PAM-%{version}.tar.bz2
@@ -71,7 +71,6 @@
BuildRequires: libxslt-progs
BuildRequires: w3m
%endif
-Requires(post): coreutils
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: awk
Requires: /usr/bin/make
@@ -288,7 +287,6 @@
:> $RPM_BUILD_ROOT/etc/security/opasswd
:> $RPM_BUILD_ROOT/etc/security/blacklist
-#:> $RPM_BUILD_ROOT/var/log/faillog
:> $RPM_BUILD_ROOT/var/log/tallylog
mv -f $RPM_BUILD_ROOT/%{_lib}/lib*.a $RPM_BUILD_ROOT%{_libdir}
@@ -376,13 +374,9 @@
fi
%post
-#if [ ! -a /var/log/faillog ] ; then
-# touch /var/log/faillog
-# chmod 600 /var/log/faillog
-#fi
if [ ! -a /var/log/tallylog ] ; then
- touch /var/log/tallylog
- chmod 600 /var/log/tallylog
+ # don't use coreutils here
+ (umask 177; :> /var/log/tallylog)
fi
%post libs -p /sbin/ldconfig
@@ -436,7 +430,6 @@
%{_mandir}/man8/pam_[t-x]*
%{_mandir}/man8/unix_chkpwd*
%{_mandir}/man8/unix_update*
-#%ghost %verify(not md5 size mtime) /var/log/faillog
%ghost %verify(not md5 size mtime) /var/log/tallylog
%files libs
@@ -525,7 +518,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.283 2008/04/14 16:32:09 baggins
+Revision 1.284 2008/06/25 07:50:46 patrys
+- drop coreutils requirement
+- rel 2
+
+Revision 1.283 2008-04-14 16:32:09 baggins
- rel 1
Revision 1.282 2008-04-10 21:41:16 baggins
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pam.spec?r1=1.283&r2=1.284&f=u
More information about the pld-cvs-commit
mailing list