From: Chris Date: Tue, 9 Mar 2010 16:09:48 +0000 (-0500) Subject: rpm spec file misses the sysconfig/cgconfig file X-Git-Tag: v0.36.2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90bb7d4d29cba4b6aee9715f859cec90092cfb90;p=thirdparty%2Flibcgroup.git rpm spec file misses the sysconfig/cgconfig file The /etc/sysconfig/cgconfig file is never installed with the current RPM spec file. This fixes it for me: Signed-off-by: Chris Tasma Reviewed-by: Jan Safranek Signed-off-by: Dhaval Giani --- diff --git a/dist/libcgroup.spec.in b/dist/libcgroup.spec.in index 27ab8803..7cab82f8 100644 --- a/dist/libcgroup.spec.in +++ b/dist/libcgroup.spec.in @@ -55,6 +55,7 @@ make DESTDIR=$RPM_BUILD_ROOT install # install config files mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig cp samples/cgred.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgred.conf +cp samples/cgconfig.sysconfig $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgconfig cp samples/cgconfig.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgconfig.conf cp samples/cgrules.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgrules.conf @@ -90,6 +91,7 @@ fi %files %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/sysconfig/cgred.conf +%config(noreplace) %{_sysconfdir}/sysconfig/cgconfig %config(noreplace) %{_sysconfdir}/cgconfig.conf %config(noreplace) %{_sysconfdir}/cgrules.conf /%{_lib}/libcgroup.so.*