Accepting request 861776 from home:eeich:branches:network:cluster

- Fix fallout introduced by:
  "Replace  '%service_del_postun -n' with '%service_del_postun_without_restart'"
  for older Leap/SLE versions.

OBS-URL: https://build.opensuse.org/request/show/861776
OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=169
This commit is contained in:
Egbert Eich 2021-01-08 17:40:48 +00:00 committed by Git OBS Bridge
parent 0d02ad4cfa
commit 82c61d739d
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 8 13:27:02 UTC 2021 - Egbert Eich <eich@suse.com>
- 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 <eich@suse.com>

View File

@ -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