From 351160822bf4f9d223e63e113f253058bdc88eea Mon Sep 17 00:00:00 2001 From: Steve Muir Date: Thu, 21 Jul 2005 18:20:52 +0000 Subject: [PATCH] Add bwlimit and cpulimit modules to Python RPM --- python/Makefile | 2 +- util-vserver.spec | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python/Makefile b/python/Makefile index 32d624a..1e31a29 100644 --- a/python/Makefile +++ b/python/Makefile @@ -1,7 +1,7 @@ INCLUDES := -I.. -I../lib LIBS = -L../lib -lvserver -PY_MODS := vserver.py +PY_MODS := vserver.py cpulimit.py dlimit.py PY_EXT_MODS := vduimpl.so vserverimpl.so all: py-build diff --git a/util-vserver.spec b/util-vserver.spec index 4350d8c..11ffebc 100644 --- a/util-vserver.spec +++ b/util-vserver.spec @@ -1,6 +1,6 @@ %define name util-vserver %define version 0.30 -%define release 13.planetlab%{?date:.%{date}} +%define release 14.planetlab%{?date:.%{date}} Vendor: PlanetLab Packager: PlanetLab Central @@ -161,6 +161,10 @@ but more readily accessible from Python code. %files py23 %defattr(0644,root,root) +/usr/lib/python2.3/site-packages/bwlimit.py +/usr/lib/python2.3/site-packages/bwlimit.pyc +/usr/lib/python2.3/site-packages/cpulimit.py +/usr/lib/python2.3/site-packages/cpulimit.pyc /usr/lib/python2.3/site-packages/util_vserver_vars.py /usr/lib/python2.3/site-packages/vduimpl.so /usr/lib/python2.3/site-packages/vserver.py @@ -170,6 +174,9 @@ but more readily accessible from Python code. %changelog +* Thu Jul 21 2005 Steve Muir +- add bwlimit and cpulimit modules + * Mon Jun 20 2005 Steve Muir - import Marc's vdu implementation -- 2.43.0