git://git.onelab.eu
/
plnode-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Setting tag plnode-utils-0.2-2
[plnode-utils.git]
/
plnode-utils-lxc.spec
diff --git
a/plnode-utils-lxc.spec
b/plnode-utils-lxc.spec
index
e54bed8
..
cdf5792
100644
(file)
--- a/
plnode-utils-lxc.spec
+++ b/
plnode-utils-lxc.spec
@@
-1,9
+1,12
@@
%define name plnode-utils
%define version 0.2
%define name plnode-utils
%define version 0.2
-%define taglevel
1
+%define taglevel
2
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+# for f12
+%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
Summary: Python utilities for a PlanetLab node
Name: %{name}
Version: %{version}
Summary: Python utilities for a PlanetLab node
Name: %{name}
Version: %{version}
@@
-30,16
+33,19
@@
This python package provides utilities like bwlimit, used in various places on a
# xxx fixme
# this is where we chose which flavour of bwlimit gets shipped
cp plnode/bwlimit_lxc.py plnode/bwlimit.py
# xxx fixme
# this is where we chose which flavour of bwlimit gets shipped
cp plnode/bwlimit_lxc.py plnode/bwlimit.py
-python setup.py build
+
/usr/bin/
python setup.py build
%install
%install
-python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
+
/usr/bin/
python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{python_sitelib}/*
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{python_sitelib}/*
-%{_bindir}
+%{_bindir}
/*
%changelog
%changelog
+* Mon Feb 11 2013 Stephen Soltesz <soltesz@opentechinstitute.org> - plnode-utils-0.2-2
+- import bwlimit from plnode dir, and keep legacy support.
+