Accepting request 835144 from Apache

- Make use of %service_del_postun_without_restart
  And stop using DISABLE_RESTART_ON_UPDATE as this interface is
  obsolete. (forwarded request 835119 from fbui)

OBS-URL: https://build.opensuse.org/request/show/835144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2?expand=0&rev=172
This commit is contained in:
Dominique Leuenberger 2020-09-21 15:02:39 +00:00 committed by Git OBS Bridge
commit 69f7dde2c3
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 11 15:24:39 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.
-------------------------------------------------------------------
Mon Aug 31 11:08:16 UTC 2020 - Jacek Tomasiak <jtomasiak@suse.com>

View File

@ -1438,8 +1438,7 @@ exit 0
%postun
%if 0%{?suse_version} >= 1210
DISABLE_RESTART_ON_UPDATE='yes'
%service_del_postun apache2.target
%service_del_postun_without_restart apache2.target
if [ "$1" = 1 ]; then
%apache_request_restart
fi