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:
commit
9123a17403
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user