summaryrefslogtreecommitdiffstats
path: root/dist/libcgroup.spec.in
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2009-12-14 09:22:29 +0100
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-12-16 14:03:20 +0530
commit01af1d63f5b85e7f87850cccfd3e6426d73dfb05 (patch)
tree364c652672286638edd166c2e32c7f68ba47946b /dist/libcgroup.spec.in
parentd7bc0967e22e21f1d74d50aa1e3b7c95ab2a2f15 (diff)
downloadlibcg-01af1d63f5b85e7f87850cccfd3e6426d73dfb05.tar.gz
libcg-01af1d63f5b85e7f87850cccfd3e6426d73dfb05.tar.xz
libcg-01af1d63f5b85e7f87850cccfd3e6426d73dfb05.zip
Remove the init script installation from .spec
If we have our init scripts in /etc/init.d as result of 'make install', we don't need to install them again in the .spec file. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'dist/libcgroup.spec.in')
-rw-r--r--dist/libcgroup.spec.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/dist/libcgroup.spec.in b/dist/libcgroup.spec.in
index b7c2ba8..66e09a2 100644
--- a/dist/libcgroup.spec.in
+++ b/dist/libcgroup.spec.in
@@ -52,11 +52,6 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
-# install init scripts
-mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
-cp scripts/init.d/cgconfig $RPM_BUILD_ROOT/%{_initrddir}/cgconfig
-cp scripts/init.d/cgred $RPM_BUILD_ROOT/%{_initrddir}/cgred
-
# install config files
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig
cp samples/cgred.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgred.conf