summaryrefslogtreecommitdiffstats
path: root/libcgroup.spec.in
diff options
context:
space:
mode:
authorBalbir Singh <balbir@linux.vnet.ibm.com>2008-06-03 03:08:19 +0000
committerBalbir Singh <balbir@linux.vnet.ibm.com>2008-06-03 03:08:19 +0000
commit475400a4b6ed20b1c5cbef411e82826fb18de7a3 (patch)
tree10f93aef412fd528357ec536c24d5109566c5540 /libcgroup.spec.in
parent38550c30ba670af0629cf02333893514c21bb4ed (diff)
downloadlibcg-475400a4b6ed20b1c5cbef411e82826fb18de7a3.tar.gz
libcg-475400a4b6ed20b1c5cbef411e82826fb18de7a3.tar.xz
libcg-475400a4b6ed20b1c5cbef411e82826fb18de7a3.zip
Bumped up release in spec file to 3. Added post and postun to spec file.
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/tags/v0.1b@74 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'libcgroup.spec.in')
-rw-r--r--libcgroup.spec.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/libcgroup.spec.in b/libcgroup.spec.in
index 6a0d337..c4b6395 100644
--- a/libcgroup.spec.in
+++ b/libcgroup.spec.in
@@ -2,7 +2,7 @@ Name: libcgroup
Summary: Tools and libraries to control and monitor control groups
Group: Development/Libraries
Version: @PACKAGE_VERSION@
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+
URL: http://libcg.sourceforge.net/
Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
@@ -18,7 +18,7 @@ administrate and monitor control groups and the associated controllers.
%package devel
Summary: Development libraries to develop applications that utilize control groups
Group: Development/Libraries
-Requires: libcgroup >= @PACKAGE_VERSION@
+Requires: libcgroup = %{version}-%{release}
%description devel
It provides API to create/delete and modify cgroup nodes. It will also in the
@@ -40,6 +40,10 @@ make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
%files
%defattr(-,root,root,-)
%{_libdir}/libcgroup-%{version}.so
@@ -54,6 +58,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Jun 3, 2008 Balbir Singh <balbir@linux.vnet.ibm.com> 0.1b-3
+- Add post and postun. Also fix Requires for devel to depend on base n-v-r
* Sat May 31 2008 Balbir Singh <balbir@linux.vnet.ibm.com> 0.1b-2
- Fix makeinstall, Source0 and URL (review comments from Tom)
* Mon May 26 2008 Balbir Singh <balbir@linux.vnet.ibm.com> 0.1b-1