Accepting request 235642 from Base:System
- added necessary macros for systemd files (forwarded request 234946 from jsegitz) OBS-URL: https://build.opensuse.org/request/show/235642 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dmraid?expand=0&rev=48
This commit is contained in:
commit
07962ce3f5
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 21 09:40:42 UTC 2014 - jsegitz@novell.com
|
||||
|
||||
- added necessary macros for systemd files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 20:04:57 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dmraid
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -115,6 +115,9 @@ install -D -m 0644 %{S:6} %{buildroot}%{_unitdir}/dmraid-activation.service
|
||||
install -d %{buildroot}%{_tmpfilesdir}
|
||||
echo 'd /run/lock/dmraid 0700 root root -' > %{buildroot}%{_tmpfilesdir}/dmraid.conf
|
||||
|
||||
%pre
|
||||
%service_add_pre dmraid-activation.service
|
||||
|
||||
%preun
|
||||
%service_del_preun dmraid-activation.service
|
||||
|
||||
@ -126,6 +129,7 @@ echo 'd /run/lock/dmraid 0700 root root -' > %{buildroot}%{_tmpfilesdir}/dmraid.
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%service_del_postun dmraid-activation.service
|
||||
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
|
||||
%{insserv_cleanup}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user