From: Jan Safranek Date: Mon, 14 Dec 2009 08:22:29 +0000 (+0100) Subject: Remove the init script installation from .spec X-Git-Tag: v0.35~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01af1d63f5b85e7f87850cccfd3e6426d73dfb05;p=thirdparty%2Flibcgroup.git 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 Signed-off-by: Dhaval Giani --- diff --git a/dist/libcgroup.spec.in b/dist/libcgroup.spec.in index b7c2ba82..66e09a22 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