SHA256
1
0
forked from pool/firewalld

Accepting request 835127 from home:fbui:branches:security:netfilter

- Make use of %service_del_postun_without_restart
  And stop using DISABLE_RESTART_ON_UPDATE as this interface is
  obsolete.

OBS-URL: https://build.opensuse.org/request/show/835127
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/firewalld?expand=0&rev=106
This commit is contained in:
Robert Frohl 2020-09-24 08:08:44 +00:00 committed by Git OBS Bridge
parent dda7c66e07
commit 0dea11c5eb
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 11 18:05:42 UTC 2020 - Franck Bui <fbui@suse.com>
- Make use of %service_del_postun_without_restart
And stop using DISABLE_RESTART_ON_UPDATE as this interface is
obsolete.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 9 14:47:20 UTC 2020 - Michał Rostecki <mrostecki@suse.com> Wed Sep 9 14:47:20 UTC 2020 - Michał Rostecki <mrostecki@suse.com>

View File

@ -170,8 +170,7 @@ ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rcfirewalld
# made it permanent yet so restarting the service could be # made it permanent yet so restarting the service could be
# dangerous. It's safer to not touch the firewall ourselves but # dangerous. It's safer to not touch the firewall ourselves but
# Let the user restart it whenever he feels like it. # Let the user restart it whenever he feels like it.
export DISABLE_RESTART_ON_UPDATE=yes %service_del_postun_without_restart firewalld.service
%service_del_postun firewalld.service
%post -n firewall-applet %post -n firewall-applet
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :