rpms/psacct/devel psacct.spec,1.44,1.45
Ivana Varekova
varekova at fedoraproject.org
Thu Jan 28 08:30:27 UTC 2010
Author: varekova
Update of /cvs/pkgs/rpms/psacct/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25901
Modified Files:
psacct.spec
Log Message:
- fix the logrotate change
Index: psacct.spec
===================================================================
RCS file: /cvs/pkgs/rpms/psacct/devel/psacct.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -p -r1.44 -r1.45
--- psacct.spec 27 Jan 2010 15:44:46 -0000 1.44
+++ psacct.spec 28 Jan 2010 08:30:26 -0000 1.45
@@ -12,7 +12,7 @@
Summary: Utilities for monitoring process activities
Name: psacct
Version: 6.5.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: Applications/System
URL: ftp://ftp.gnu.org/pub/gnu/acct/
@@ -106,7 +106,7 @@ cat > $RPM_BUILD_ROOT/etc/logrotate.d/ps
#prerotate loses accounting records, let's no
# prerotate
# /etc/init.d/psacct status;
-# STATUS=$?
+# STATUS=\$?
# %{_sbindir}/accton
# endscript
compress
@@ -116,7 +116,7 @@ cat > $RPM_BUILD_ROOT/etc/logrotate.d/ps
rotate 31
create 0600 root root
postrotate
- if [ $STATUS -eq 0 ]
+ if [ \$STATUS -eq 0 ]
then
%{_sbindir}/accton %{accounting_logdir}/pacct
fi
@@ -184,6 +184,9 @@ fi
%{_infodir}/accounting.info.gz
%changelog
+* Thu Jan 28 2010 Ivana Hutarova Varekova <varekova at redhat.com> - 6.5.1-4
+- fix the logrotate change
+
* Wed Jan 27 2010 Ivana Hutarova Varekova <varekova at redhat.com> - 6.5.1-3
- Resolves: #523774
process accounting enabled unconditionally from daily cron job
More information about the scm-commits
mailing list