diff --git a/open-iscsi.changes b/open-iscsi.changes index 402ed39..2327b41 100644 --- a/open-iscsi.changes +++ b/open-iscsi.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat May 2 15:06:18 UTC 2020 - Lee Duncan + +- 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 diff --git a/open-iscsi.spec b/open-iscsi.spec index 3550943..4d60c86 100644 --- a/open-iscsi.spec +++ b/open-iscsi.spec @@ -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