From ce385d8cc8c708201aeec21941fa0045321c3eb6fae3c491477b618c2bff2e75 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 20 Aug 2020 15:49:41 +0000 Subject: [PATCH] Accepting request 827769 from home:dimstar:Factory - Use %{_tmpfilesdir} consistently throughout the .spec. OBS-URL: https://build.opensuse.org/request/show/827769 OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=102 --- fail2ban.changes | 5 +++++ fail2ban.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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}