diff --git a/fail2ban.changes b/fail2ban.changes index 34670fd..77ff5fe 100644 --- a/fail2ban.changes +++ b/fail2ban.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 19 09:04:12 UTC 2020 - Dominique Leuenberger + +- Use %{_tmpfilesdir} consistently throughout the .spec. + ------------------------------------------------------------------- Thu May 21 07:49:38 UTC 2020 - Paolo Stivanin diff --git a/fail2ban.spec b/fail2ban.spec index 65bda99..8d06e2a 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -183,8 +183,8 @@ install -d -m 755 %{buildroot}%{_localstatedir}/run/%{name} install -d -m 755 %{buildroot}%{_unitdir} install -p -m 644 files/%{name}.service.in %{buildroot}%{_unitdir}/%{name}.service -install -d -m 755 %{buildroot}%{_libexecdir}/tmpfiles.d/ -install -p -m 644 %{SOURCE5} %{buildroot}%{_libexecdir}/tmpfiles.d/%{name}.conf +install -d -m 755 %{buildroot}%{_tmpfilesdir} +install -p -m 644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/%{name}.conf ln -sf service %{buildroot}%{_sbindir}/rc%{name}