diff options
author | Jan Safranek <jsafrane@redhat.com> | 2009-03-09 11:44:41 +0100 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2009-03-09 11:44:41 +0100 |
commit | 2d8e15b3541e8bb2ab9573be8cf34951ff61a77e (patch) | |
tree | c6a9c0cf96d1bf6feed705fa389decfc11df8637 /libcgroup.spec.in | |
parent | 8114e393c9823380986cfbe57e64875e1506a6ed (diff) | |
download | libcg-2d8e15b3541e8bb2ab9573be8cf34951ff61a77e.tar.gz libcg-2d8e15b3541e8bb2ab9573be8cf34951ff61a77e.tar.xz libcg-2d8e15b3541e8bb2ab9573be8cf34951ff61a77e.zip |
Move binaries and libraries to /bin and /libfix-initscripts
Since cgconfig starts before nfs shares are mounted, it should not use
anything on /usr (it can be on nfs too). All the libcgroup libraries and
binaries should be therefore in /.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Diffstat (limited to 'libcgroup.spec.in')
-rw-r--r-- | libcgroup.spec.in | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/libcgroup.spec.in b/libcgroup.spec.in index 5a65d6b..e3cc114 100644 --- a/libcgroup.spec.in +++ b/libcgroup.spec.in @@ -32,7 +32,8 @@ provide scripts to manage that configuration. %setup -q %build -%configure +%configure --bindir=/bin --sbindir=/sbin --libdir=/%{_lib} + make %{?_smp_mflags} @@ -46,9 +47,6 @@ mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig cp samples/cgred.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgred.conf cp samples/cgconfig.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgconfig.conf cp samples/cgrules.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgrules.conf -mkdir -p $RPM_BUILD_ROOT/%{_lib}/security/ -mv $RPM_BUILD_ROOT/%{_libdir}/security/pam_cgroup.so \ - $RPM_BUILD_ROOT/%{_lib}/security/pam_cgroup.so %clean rm -rf $RPM_BUILD_ROOT @@ -73,12 +71,12 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/cgred.conf %config(noreplace) %{_sysconfdir}/cgconfig.conf %config(noreplace) %{_sysconfdir}/cgrules.conf -%{_libdir}/libcgroup-%{version}.so -%{_libdir}/libcgroup.so.* -%{_bindir}/cgexec -%{_bindir}/cgclassify -%{_sbindir}/cgconfigparser -%{_bindir}/cgrulesengd +/%{_lib}/libcgroup-%{version}.so +/%{_lib}/libcgroup.so.* +/bin/cgexec +/bin/cgclassify +/sbin/cgconfigparser +/bin/cgrulesengd %attr(0644, root, root) %{_mandir}/man1/* %attr(0644, root, root) %{_mandir}/man5/* %attr(0644, root, root) %{_mandir}/man8/* @@ -91,7 +89,7 @@ fi %files devel %defattr(-,root,root,-) %{_includedir}/libcgroup.h -%{_libdir}/libcgroup.so +/%{_lib}/libcgroup.so %doc COPYING INSTALL |