From e3c4b80f93393b0ec40f5aded7021bc6077fcba729639f1a02d8d09f9ac66e04 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 20 May 2016 05:16:52 +0000 Subject: [PATCH] - Don't list XXX@.server files for service_add/del They cannot be restarted by systemctl as they are just templates. They don't need to be restarted at reinstall anyway. (bsc#979749) OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=142 --- mdadm.changes | 9 +++++++++ mdadm.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/mdadm.changes b/mdadm.changes index a1e160f..8e57e4f 100644 --- a/mdadm.changes +++ b/mdadm.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri May 20 05:13:48 UTC 2016 - neilb@suse.com + +- Don't list XXX@.server files for service_add/del + They cannot be restarted by systemctl as they are + just templates. They don't need to be restarted + at reinstall anyway. + (bsc#979749) + ------------------------------------------------------------------- Wed May 4 04:56:42 UTC 2016 - neilb@suse.com diff --git a/mdadm.spec b/mdadm.spec index 73513e0..684b26d 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -74,7 +74,7 @@ install -d %{buildroot}%{_systemdshutdowndir} install -d %{buildroot}%{_sbindir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor -%define services mdmonitor.service mdmon@.service mdadm-last-resort@.service mdadm-grow-continue@.service +%define services mdmonitor.service %pre %service_add_pre %services