SHA256
1
0
forked from pool/slurm

Accepting request 861777 from network:cluster

- Fix fallout introduced by:
  "Replace  '%service_del_postun -n' with '%service_del_postun_without_restart'"
  for older Leap/SLE versions. (forwarded request 861776 from eeich)

OBS-URL: https://build.opensuse.org/request/show/861777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slurm?expand=0&rev=54
This commit is contained in:
Dominique Leuenberger 2021-01-10 18:43:37 +00:00 committed by Git OBS Bridge
commit 9123a17403
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