rpms/libcgroup/devel .cvsignore, 1.4, 1.5 libcgroup.spec, 1.4, 1.5 sources, 1.4, 1.5
Dhaval Giani
dhavalgiani at fedoraproject.org
Thu Oct 23 09:05:27 UTC 2008
- Previous message: rpms/imlib2/F-8 .cvsignore, 1.7, 1.8 imlib2-1.3.0-multilib.patch, 1.1, 1.2 imlib2.spec, 1.30, 1.31 sources, 1.8, 1.9
- Next message: rpms/ntop/F-8 .cvsignore, 1.2, 1.3 import.log, 1.1, 1.2 ntop.spec, 1.1, 1.2 sources, 1.2, 1.3 ntop-compile.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dhavalgiani
Update of /cvs/pkgs/rpms/libcgroup/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5144
Modified Files:
.cvsignore libcgroup.spec sources
Log Message:
Updating to latest upstream
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libcgroup/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 11 Sep 2008 15:21:37 -0000 1.4
+++ .cvsignore 23 Oct 2008 09:04:56 -0000 1.5
@@ -1 +1 @@
-libcgroup-0.31.tar.bz2
+libcgroup-0.32.1.tar.bz2
Index: libcgroup.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libcgroup/devel/libcgroup.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libcgroup.spec 11 Sep 2008 15:21:37 -0000 1.4
+++ libcgroup.spec 23 Oct 2008 09:04:56 -0000 1.5
@@ -1,17 +1,19 @@
Name: libcgroup
Summary: Tools and libraries to control and monitor control groups
Group: Development/Libraries
-Version: 0.31
+Version: 0.32.1
Release: 1%{?dist}
License: LGPLv2+
URL: http://libcg.sourceforge.net/
Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
-patch0: http://downloads.sourceforge.net/libcg/fix_overflow.patch
-patch1: http://downloads.sourceforge.net/libcg/fix_makefile_to_link_with_builddir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: byacc
BuildRequires: flex
BuildRequires: coreutils
+Requires(post): chkconfig
+Requires(post): initscripts
+Requires(preun): initscripts
+Requires(preun): chkconfig
%description
Control groups infrastructure. The tools and library help manipulate, control,
@@ -29,8 +31,6 @@
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
%build
%configure
@@ -40,11 +40,27 @@
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
+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
+
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+#
+# Do this later if required
+#
+/sbin/chkconfig --add cgred
+/sbin/chkconfig --add cgconfig
+
+%preun
+/sbin/service cgred stop > /dev/null 2>&1 || :
+/sbin/service cgconfig stop > /dev/null 2>&1 || :
+/sbin/chkconfig --del cgconfig
+/sbin/chkconfig --del cgred
%postun -p /sbin/ldconfig
@@ -55,16 +71,22 @@
%{_bindir}/cgexec
%{_bindir}/cgclassify
%{_sbindir}/cgconfigparser
-%doc COPYING INSTALL
+%{_bindir}/cgrulesengd
+%attr(0755,root,root) %{_initrddir}/cgconfig
+%attr(0755,root,root) %{_initrddir}/cgred
+
+%doc COPYING INSTALL README_daemon
%files devel
%defattr(-,root,root,-)
%{_includedir}/libcgroup.h
%{_libdir}/libcgroup.so
-%doc COPYING INSTALL
+%doc COPYING INSTALL
%changelog
+* Thu Oct 23 2008 Dhaval Giani <dhaval at linux.vnet.ibm.com> 0.32.1-1
+- Update to latest upstream
* Thu Sep 11 2008 Dhaval Giani <dhaval at linux-vnet.ibm.com> 0.31-1
- Update to latest upstream
* Sat Aug 2 2008 Dhaval Giani <dhaval at linux.vnet.ibm.com> 0.1c-3
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libcgroup/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 11 Sep 2008 15:21:37 -0000 1.4
+++ sources 23 Oct 2008 09:04:57 -0000 1.5
@@ -1 +1 @@
-494cb429edd57b5233840cbe3fdcf6a7 libcgroup-0.31.tar.bz2
+11cd51147c779586b2b6329e0d07022b libcgroup-0.32.1.tar.bz2
- Previous message: rpms/imlib2/F-8 .cvsignore, 1.7, 1.8 imlib2-1.3.0-multilib.patch, 1.1, 1.2 imlib2.spec, 1.30, 1.31 sources, 1.8, 1.9
- Next message: rpms/ntop/F-8 .cvsignore, 1.2, 1.3 import.log, 1.1, 1.2 ntop.spec, 1.1, 1.2 sources, 1.2, 1.3 ntop-compile.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list