diff --git a/slurm.changes b/slurm.changes index 61c71e7..3645593 100644 --- a/slurm.changes +++ b/slurm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 8 13:27:02 UTC 2021 - Egbert Eich + +- Fix fallout introduced by: + "Replace '%service_del_postun -n' with '%service_del_postun_without_restart'" + for older Leap/SLE versions. + ------------------------------------------------------------------- Fri Jan 8 12:20:27 UTC 2021 - Egbert Eich diff --git a/slurm.spec b/slurm.spec index 5ea3ae8..c39ac9d 100644 --- a/slurm.spec +++ b/slurm.spec @@ -741,6 +741,10 @@ rm -f %{buildroot}/%{_mandir}/man8/slurmrestd.* %define fixperm() [ $1 -eq 1 -a -e %2 ] && /bin/chmod %1 %2 +%if 0%{!?service_del_postun_without_restart:1} +%define service_del_postun_without_restart() %{expand:%%service_del_postun -n %{**}} +%endif + %pre %if 0%{?with_systemd} %service_add_pre slurmctld.service