Accepting request 397531 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/397531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=106
This commit is contained in:
Dominique Leuenberger 2016-05-25 19:21:53 +00:00 committed by Git OBS Bridge
commit 0cdc7fe91c
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri May 20 05:13:48 UTC 2016 - neilb@suse.com
- Do not list XXX@.service files for anything but service_del_preun.
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

View File

@ -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
@ -85,7 +85,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
%fillup_only
%preun
%service_del_preun %services
%service_del_preun %services mdmon@.service mdadm-last-resort@.service mdadm-grow-continue@.service
%postun
%service_del_postun %services