Accepting request 799687 from home:lee_duncan:branches:network

- Update SPEC file to handle the fact that the
  service_del_postun_without_restart RPM macro exists
  in factory but not in SLE. No functional change
  for factory.

OBS-URL: https://build.opensuse.org/request/show/799687
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=163
This commit is contained in:
Lee Duncan 2020-05-02 15:15:33 +00:00 committed by Git OBS Bridge
parent 8032cef0aa
commit 1852d13220
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat May 2 15:06:18 UTC 2020 - Lee Duncan <lduncan@suse.com>
- Update SPEC file to handle the fact that the
service_del_postun_without_restart RPM macro exists
in factory but not in SLE. No functional change
for factory.
-------------------------------------------------------------------
Tue Apr 7 19:21:38 UTC 2020 - Lee Duncan <lduncan@suse.com>

View File

@ -149,7 +149,11 @@ fi
%{?regenerate_initrd_posttrans}
%postun
%service_del_postun_without_restart iscsi.service
%if %{defined service_del_postun_without_restart}
%service_del_postun_without_restart iscsi.service
%else
%service_del_postun -n iscsi.service
%endif
%service_del_postun iscsid.service iscsid.socket
%pre