SHA256
1
0
forked from pool/acct

Accepting request 314909 from home:scarabeus_iv:branches:Base:System

- The previous commit ghosted the log file, but we need it empty
  and present to start with, so unghost it

- Use just /var/log/account/pacct file and remove the tmpfiles creation

OBS-URL: https://build.opensuse.org/request/show/314909
OBS-URL: https://build.opensuse.org/package/show/Base:System/acct?expand=0&rev=47
This commit is contained in:
Marcus Meissner 2015-07-06 09:03:20 +00:00 committed by Git OBS Bridge
parent 3e6544a8e2
commit 5f70f6804a
2 changed files with 9 additions and 2 deletions

View File

@ -1,7 +1,13 @@
-------------------------------------------------------------------
Thu Jul 2 20:31:14 UTC 2015 - tchvatal@suse.com
- The previous commit ghosted the log file, but we need it empty
and present to start with, so unghost it
-------------------------------------------------------------------
Mon Jun 22 12:40:46 UTC 2015 - tchvatal@suse.com
- Use just /var/log/acct/pacct file and remove the tmpfiles creation
- Use just /var/log/account/pacct file and remove the tmpfiles creation
completely
-------------------------------------------------------------------

View File

@ -69,6 +69,7 @@ ln -sf service %{buildroot}%{_sbindir}/rcacct
install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/acct
mkdir -p %{buildroot}%{_localstatedir}/log/account
touch %{buildroot}%{_localstatedir}/log/account/pacct
rm -f %{buildroot}%{_bindir}/last
rm -f %{buildroot}/%{_mandir}/man1/last.1*
@ -96,7 +97,7 @@ rm -f %{buildroot}/%{_mandir}/man1/last.1*
%{_mandir}/man8/*
%config %{_sysconfdir}/logrotate.d/acct
%dir %{_localstatedir}/log/account
%ghost %{_localstatedir}/log/account/pacct
%{_localstatedir}/log/account/pacct
%{_bindir}/ac
%{_bindir}/lastcomm
%{_sbindir}/*