Accepting request 836462 from security:netfilter

OBS-URL: https://build.opensuse.org/request/show/836462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/firewalld?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2020-10-03 16:55:28 +00:00 committed by Git OBS Bridge
commit 1e3872aa2b
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 || :