diff --git a/acct.changes b/acct.changes index 0cc990c..88dd575 100644 --- a/acct.changes +++ b/acct.changes @@ -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 ------------------------------------------------------------------- diff --git a/acct.spec b/acct.spec index e8534f7..4225a0c 100644 --- a/acct.spec +++ b/acct.spec @@ -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}/*