packages: libcgroup/libcgroup.spec - install pldized initscripts

baggins baggins at pld-linux.org
Tue Feb 8 19:05:12 CET 2011


Author: baggins                      Date: Tue Feb  8 18:05:12 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- install pldized initscripts

---- Files affected:
packages/libcgroup:
   libcgroup.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: packages/libcgroup/libcgroup.spec
diff -u packages/libcgroup/libcgroup.spec:1.12 packages/libcgroup/libcgroup.spec:1.13
--- packages/libcgroup/libcgroup.spec:1.12	Tue Feb  8 17:48:45 2011
+++ packages/libcgroup/libcgroup.spec	Tue Feb  8 19:05:07 2011
@@ -1,14 +1,14 @@
 # $Revision$, $Date$
-# TODO
-# - pldize initscripts
 Summary:	Tools and libraries to control and monitor control groups
 Name:		libcgroup
 Version:	0.37
-Release:	1
+Release:	1.1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
 # Source0-md5:	beecca8770155afa62981076e96d4c9c
+Source1:	cgconfig.init
+Source2:	cgred.init
 URL:		http://libcg.sourceforge.net/
 BuildRequires:	bison
 BuildRequires:	flex
@@ -65,6 +65,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/cgconfig
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/cgred
+
 cp -a samples/cgred.conf $RPM_BUILD_ROOT/etc/sysconfig/cgred.conf
 cp -a samples/cgconfig.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/cgconfig
 cp -a samples/cg{config,rules,snapshot_blacklist}.conf $RPM_BUILD_ROOT%{_sysconfdir}
@@ -134,6 +137,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2011/02/08 18:05:07  baggins
+- install pldized initscripts
+
 Revision 1.12  2011/02/08 16:48:45  qboosh
 - define exec_prefix as nil to avoid // in paths
 - disable silent-rules
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libcgroup/libcgroup.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list