packages: daemontools/daemontools.spec - install upstart config
glen
glen at pld-linux.org
Fri Apr 8 20:43:45 CEST 2011
Author: glen Date: Fri Apr 8 18:43:45 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- install upstart config
---- Files affected:
packages/daemontools:
daemontools.spec (1.47 -> 1.48)
---- Diffs:
================================================================
Index: packages/daemontools/daemontools.spec
diff -u packages/daemontools/daemontools.spec:1.47 packages/daemontools/daemontools.spec:1.48
--- packages/daemontools/daemontools.spec:1.47 Fri Jan 28 00:19:24 2011
+++ packages/daemontools/daemontools.spec Fri Apr 8 20:43:40 2011
@@ -12,6 +12,7 @@
# Source1-md5: 2d3858a48f293c87202f76cd883438ee
Source2: %{name}.sysconfig
Source3: %{name}.init
+Source4: %{name}.upstart
Patch0: %{name}-glibc.patch
URL: http://cr.yp.to/daemontools.html
BuildRequires: rpmbuild(macros) >= 1.268
@@ -65,12 +66,12 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
- $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} \
+ $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,init} \
$RPM_BUILD_ROOT%{_sysconfdir}/supervise \
$RPM_BUILD_ROOT{/var/lib/service,%{servicedir}}
# install manuals
-install %{name}-man/*.8* $RPM_BUILD_ROOT%{_mandir}/man8
+cp -p %{name}-man/*.8* $RPM_BUILD_ROOT%{_mandir}/man8
# install binaries
cd command
@@ -80,8 +81,9 @@
$RPM_BUILD_ROOT%{_sbindir}
# install rc & sysconfig files
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/svscan
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svscan
+cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/svscan
+install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svscan
+cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/init/svscan
%clean
rm -rf $RPM_BUILD_ROOT
@@ -104,6 +106,7 @@
%dir %{_sysconfdir}/supervise
%attr(700,root,root) /var/lib/service
%attr(754,root,root) /etc/rc.d/init.d/svscan
+%config(noreplace) %verify(not md5 mtime size) /etc/init/svscan.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/svscan
%{_mandir}/man8/*
@@ -113,6 +116,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.48 2011/04/08 18:43:40 glen
+- install upstart config
+
Revision 1.47 2011/01/27 23:19:24 glen
- upstart hook
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/daemontools/daemontools.spec?r1=1.47&r2=1.48&f=u
More information about the pld-cvs-commit
mailing list