From a761f93e391c643c808fb837648e383cf631e171 Mon Sep 17 00:00:00 2001 From: Tomasz Pala Date: Mon, 28 Nov 2011 23:34:34 +0000 Subject: [PATCH] - packaged /var/log/[bw]tmp Changed files: systemd.spec -> 1.51 --- systemd.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/systemd.spec b/systemd.spec index 4de40b2..9b90b4b 100644 --- a/systemd.spec +++ b/systemd.spec @@ -213,6 +213,9 @@ install -d $RPM_BUILD_ROOT/lib/systemd/system/{basic,dbus,default,halt,kexec,pow # Create new-style configuration files so that we can ghost-own them touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,os-release,timezone,vconsole.conf} +> $RPM_BUILD_ROOT/var/log/btmp +> $RPM_BUILD_ROOT/var/log/wtmp + %if %{without gtk} # to shut up check-files rm -f $RPM_BUILD_ROOT%{_bindir}/systemadm @@ -371,6 +374,8 @@ fi %{_mandir}/man8/runlevel.8* %{_mandir}/man8/shutdown.8* %{_mandir}/man8/telinit.8* +%attr(640,root,root) %ghost /var/log/btmp +%attr(664,root,utmp) %ghost /var/log/wtmp %if %{with pam} %attr(755,root,root) /%{_lib}/security/pam_systemd.so -- 2.44.0