Accepting request 330895 from home:dimstar:Factory

- Own %{_systemdshutdowndir} in case nothing else does. This
  ensures build success even if systemd-mini does not own it
  (happens in some versions of our package).

OBS-URL: https://build.opensuse.org/request/show/330895
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=136
This commit is contained in:
Stephan Kulow 2015-09-19 06:35:27 +00:00 committed by Git OBS Bridge
parent 7abf00befa
commit 23e7d7edf1
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 14 13:21:33 UTC 2015 - dimstar@opensuse.org
- Own %{_systemdshutdowndir} in case nothing else does. This
ensures build success even if systemd-mini does not own it
(happens in some versions of our package).
-------------------------------------------------------------------
Mon Aug 31 11:43:43 UTC 2015 - dimstar@opensuse.org

View File

@ -108,6 +108,10 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
/etc/cron.daily/mdadm
%dir /etc/cron.d
%config /etc/cron.d/mdadm
# %%{_systemdshutdowndir}/ is not owned by all versions of systemd-mini.
# But we really do not want to pull in a full systemd, so we rather just own
# that directory by ourselves too. After all, this is allowed.
%dir %{_systemdshutdowndir}
%{_systemdshutdowndir}/mdadm.shutdown
%{_unitdir}/mdmon@.service
%{_unitdir}/mdmonitor.service