SHA256
1
0
forked from pool/acct

Accepting request 315176 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/315176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/acct?expand=0&rev=36
This commit is contained in:
Stephan Kulow
2015-07-08 04:59:39 +00:00
committed by Git OBS Bridge
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}/*