diff --git a/systemd.spec b/systemd.spec index 4cbc615..14949fd 100644 --- a/systemd.spec +++ b/systemd.spec @@ -599,7 +599,8 @@ mkdir -p %{buildroot}%{system_unit_dir}/dbus.target.wants mkdir -p %{buildroot}%{system_unit_dir}/syslog.target.wants mkdir -p %{buildroot}/run mkdir -p %{buildroot}%{_localstatedir}/log -install -d %{buildroot}%{_localstatedir}/log -m 0664 -g utmp +touch %{buildroot}%{_localstatedir}/log/lastlog +chmod 0664 %{buildroot}%{_localstatedir}/log/lastlog touch %{buildroot}/run/utmp touch %{buildroot}%{_localstatedir}/log/{w,b}tmp @@ -695,7 +696,7 @@ python3 %{SOURCE2} %buildroot <