From c50d4048dc449b0fc7f1736e6fc906dfbf2942bfe5112c0e17f6a1a0cb1bcd75 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Fri, 8 Jan 2021 12:18:52 +0000 Subject: [PATCH] Accepting request 845752 from home:fbui:branches:network:cluster - Replace '%service_del_postun -n' with '%service_del_postun_without_restart' '-n' is deprecated and will be removed in the future. OBS-URL: https://build.opensuse.org/request/show/845752 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=166 --- slurm.changes | 7 +++++++ slurm.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/slurm.changes b/slurm.changes index 76c469b..ea89ccf 100644 --- a/slurm.changes +++ b/slurm.changes @@ -106,6 +106,13 @@ Wed Nov 18 08:40:59 UTC 2020 - Ana Guerrero Lopez - And many other bugfixes, full log and details available at: * https://lists.schedmd.com/pipermail/slurm-announce/2020/000045.html +------------------------------------------------------------------- +Tue Nov 3 14:31:02 UTC 2020 - Franck Bui + +- Replace '%service_del_postun -n' with '%service_del_postun_without_restart' + + '-n' is deprecated and will be removed in the future. + ------------------------------------------------------------------- Thu Oct 29 12:35:18 UTC 2020 - Ana Guerrero Lopez diff --git a/slurm.spec b/slurm.spec index 14cb779..1ce5880 100644 --- a/slurm.spec +++ b/slurm.spec @@ -760,7 +760,7 @@ rm -f %{buildroot}/%{_mandir}/man8/slurmrestd.* %postun %if 0%{?with_systemd} -%service_del_postun -n slurmctld.service +%service_del_postun_without_restart slurmctld.service %else %insserv_cleanup %endif @@ -790,7 +790,7 @@ rm -f %{buildroot}/%{_mandir}/man8/slurmrestd.* %{fixperm 0600 %{_sysconfdir}/%{pname}/slurmdbd.conf} %{fixperm 0600 %{_sysconfdir}/%{pname}/slurmdbd.conf.example} %if 0%{?with_systemd} -%service_del_postun -n slurmdbd.service +%service_del_postun_without_restart slurmdbd.service %else %restart_on_update slurmdbd %insserv_cleanup @@ -815,7 +815,7 @@ rm -f %{buildroot}/%{_mandir}/man8/slurmrestd.* %postun node %if 0%{?with_systemd} -%service_del_postun -n slurmd.service +%service_del_postun_without_restart slurmd.service %else %restart_on_update slurmd %insserv_cleanup