From 76fcedc045f39d8f075b2e1b66b0cb4f8066f3aaeb77934b0f55c60341d35274 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 27 Mar 2020 03:54:58 +0000 Subject: [PATCH] - Don't list XX@.services even for sevice_del_preun They cannot be stopped without an instance name, so there is no value in listing them, and it causes and error with "rpm -e mdadm --nodeps". (bsc#1093163) OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=182 --- mdadm.changes | 9 +++++++++ mdadm.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/mdadm.changes b/mdadm.changes index 3a730e1..83066d4 100644 --- a/mdadm.changes +++ b/mdadm.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Mar 27 03:52:47 UTC 2020 - Neil Brown + +- Don't list XX@.services even for sevice_del_preun + They cannot be stopped without an instance name, + so there is no value in listing them, and it causes + and error with "rpm -e mdadm --nodeps". + (bsc#1093163) + ------------------------------------------------------------------- Tue Mar 3 05:32:58 UTC 2020 - Coly Li diff --git a/mdadm.spec b/mdadm.spec index c7e3e08..e598841 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -212,7 +212,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor %fillup_only %preun -%service_del_preun %services mdmon@.service mdadm-last-resort@.service mdadm-grow-continue@.service +%service_del_preun %services %postun %service_del_postun %services