Accepting request 835119 from home:fbui:branches:Apache

- 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/835119
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=617
This commit is contained in:
Petr Gajdos 2020-09-17 09:52:38 +00:00 committed by Git OBS Bridge
parent ad69a0ec41
commit 214a6b8ed2
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