[libcgroup/f14/master] Removed /cgroup directory, everything is in /sys/fs/cgroup now.

Jan Šafránek jsafrane at fedoraproject.org
Fri Sep 3 11:14:09 UTC 2010


commit 63492273e0684dbe0b2e83d6cc44bbddc0c31b52
Author: Jan Safranek <jsafrane at redhat.com>
Date:   Fri Sep 3 13:14:08 2010 +0200

    Removed /cgroup directory, everything is in /sys/fs/cgroup now.

 libcgroup.spec |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/libcgroup.spec b/libcgroup.spec
index a02cf78..34d8937 100644
--- a/libcgroup.spec
+++ b/libcgroup.spec
@@ -5,7 +5,7 @@ Name: libcgroup
 Summary: Tools and libraries to control and monitor control groups
 Group: Development/Libraries
 Version: 0.36.2
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: LGPLv2+
 URL: http://libcg.sourceforge.net/
 Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
@@ -86,9 +86,6 @@ ln -sf libcgroup.so.%{soversion} $RPM_BUILD_ROOT/%{_lib}/libcgroup.so.%{soversio
 ln -sf ../../%{_lib}/libcgroup.so.%{soversion} $RPM_BUILD_ROOT/%{_libdir}/libcgroup.so
 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
 
-# pre-create /cgroup directory
-mkdir $RPM_BUILD_ROOT/cgroup
-
 # install README.Fedora
 cp %SOURCE1 .
 
@@ -135,7 +132,6 @@ fi
 %attr(0755,root,root) %{_initrddir}/cgconfig
 %attr(0755,root,root) %{_initrddir}/cgred
 %doc COPYING INSTALL README_daemon README.Fedora
-%attr(0755,root,root) %dir /cgroup
 
 %files pam
 %defattr(-,root,root,-)
@@ -150,6 +146,9 @@ fi
 %doc COPYING INSTALL 
 
 %changelog
+* Fri Sep  3 2010 Jan Safranek <jsafrane at redhat.com> 0.36.2-4
+- Removed /cgroup directory, everything is in /sys/fs/cgroup now.
+
 * Fri Sep  3 2010 Jan Safranek <jsafrane at redhat.com> 0.36.2-3
 - Fixed interaction with systemd (libcgroup ignores systemd hierarchy; #626794).
 - Moved the default mount point to /sys/fs/cgroup (#627381)


More information about the scm-commits mailing list