forked from pool/fail2ban
Accepting request 544894 from security
OBS-URL: https://build.opensuse.org/request/show/544894 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=51
This commit is contained in:
commit
23a18af0bf
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 23 13:44:10 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
- Replace references to /var/adm/fillup-templates with new
|
||||||
|
%_fillupdir macro (boo#1069468)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 21 04:43:44 UTC 2017 - jweberhofer@weberhofer.at
|
Sat Oct 21 04:43:44 UTC 2017 - jweberhofer@weberhofer.at
|
||||||
|
|
||||||
|
@ -16,6 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
|
%if ! %{defined _fillupdir}
|
||||||
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
|
%endif
|
||||||
|
|
||||||
%{!?tmpfiles_create:%global tmpfiles_create systemd-tmpfiles --create}
|
%{!?tmpfiles_create:%global tmpfiles_create systemd-tmpfiles --create}
|
||||||
Name: fail2ban
|
Name: fail2ban
|
||||||
Version: 0.10.1
|
Version: 0.10.1
|
||||||
@ -188,8 +193,8 @@ echo "# Do all your modifications to the jail's configuration in jail.local!" >
|
|||||||
|
|
||||||
install -d -m 0755 %{buildroot}%{_localstatedir}/lib/%{name}/
|
install -d -m 0755 %{buildroot}%{_localstatedir}/lib/%{name}/
|
||||||
|
|
||||||
install -d -m 755 %{buildroot}%{_localstatedir}/adm/fillup-templates
|
install -d -m 755 %{buildroot}%{_fillupdir}
|
||||||
install -p -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
install -p -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||||
|
|
||||||
install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
|
install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
|
||||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||||
@ -298,7 +303,7 @@ export LANG=en_US.UTF-8
|
|||||||
%{python_sitelib}/%{name}
|
%{python_sitelib}/%{name}
|
||||||
%exclude %{python_sitelib}/%{name}/tests
|
%exclude %{python_sitelib}/%{name}/tests
|
||||||
%{python_sitelib}/%{name}-*
|
%{python_sitelib}/%{name}-*
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
%{_fillupdir}/sysconfig.%{name}
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%doc README.md TODO ChangeLog COPYING doc/*.txt
|
%doc README.md TODO ChangeLog COPYING doc/*.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user