- Resolves: 221069 (fix lastcomm man page)

- spec file cleanup
This commit is contained in:
Ivana Varekova 2007-01-02 10:59:08 +00:00
parent ea562d2b0b
commit a5875ddce2
2 changed files with 27 additions and 9 deletions

View File

@ -0,0 +1,11 @@
--- acct-6.3.2/lastcomm.1.pom 1997-09-30 01:41:53.000000000 +0200
+++ acct-6.3.2/lastcomm.1 2007-01-02 09:45:19.000000000 +0100
@@ -99,7 +99,7 @@
D -- command terminated with the generation of a core file
X -- command was terminated with the signal SIGTERM
+ the name of the user who ran the process
- + time the process exited
+ + time the process started
.SH OPTIONS
\. .PD 0
.TP

View File

@ -1,18 +1,18 @@
# Our /usr/bin/last is in the SysVInit packae
%define with_last 0
%define with_last 0
%define FHS_compliant 1
%if %{FHS_compliant}
%define accounting_logdir /var/account
%define accounting_logdir /var/account
%else
%define accounting_logdir /var/log
%define accounting_logdir /var/log
%endif
Summary: Utilities for monitoring process activities.
Summary: Utilities for monitoring process activities
Name: psacct
Version: 6.3.2
Release: 41.1
Release: 42%{?dist}
License: GPL
Group: Applications/System
Source: ftp://ftp.gnu.org/pub/gnu/acct-6.3.2.tar.gz
@ -28,9 +28,10 @@ Patch4: acct-6.3.2-pts.patch
Patch5: psacct-6.3.2-strictmatch.patch
Patch6: psacct-6.3.2-sa-manfix.patch
Patch7: psacct-6.3.2-LargeFile.patch
Patch8: psacct-6.3.2-lastcomm_man.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
Prereq: /sbin/install-info, /sbin/chkconfig, /bin/touch
Prereq: /sbin/chkconfig /sbin/install-info
BuildRequires: autoconf
# This conflict is to avoid psacct being forced on by old initscripts now that
@ -59,6 +60,7 @@ commands.
%patch5 -p1 -b .strictmatch
%patch6 -p1 -b .tio-avio
%patch7 -p1 -b .lfs
%patch8 -p1 -b .man
%build
%if ! %{FHS_compliant}
@ -101,7 +103,7 @@ cat > $RPM_BUILD_ROOT/etc/logrotate.d/psacct <<EOF
rotate 31
create 0600 root root
postrotate
%{_sbindir}/accton %{accounting_logdir}/pacct
%{_sbindir}/accton %{accounting_logdir}/pacct
endscript
}
EOF
@ -142,8 +144,8 @@ fi
%dir /var/account
%endif
/etc/rc.d/init.d/psacct
%attr(0600,root,root) %ghost %config %{accounting_logdir}/pacct
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/*
%attr(0600,root,root) %ghost %config %{accounting_logdir}/pacct
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/*
/sbin/accton
%{_sbindir}/accton
%{_sbindir}/sa
@ -164,6 +166,11 @@ fi
%{_infodir}/accounting.info.gz
%changelog
* Tue Jan 2 2007 Ivana Varekova <varekova@redhat.com> - 6.3.2-42
- Resolves: 221069
(fix lastcomm man page)
- spec file cleanup
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.3.2-41.1
- rebuild