git://git.onelab.eu
/
pyplnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f778b9
)
mention /usr/bin/python when invoking setup.py, because otherwise on
devel
openvswitch
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 31 Jan 2013 10:46:19 +0000
(11:46 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 31 Jan 2013 10:46:19 +0000
(11:46 +0100)
f18 we end up with a Requires: /bin/python
pyplnet.spec
patch
|
blob
|
history
diff --git
a/pyplnet.spec
b/pyplnet.spec
index
3faa683
..
794e4f7
100644
(file)
--- a/
pyplnet.spec
+++ b/
pyplnet.spec
@@
-32,11
+32,11
@@
configuration data recorded at PLC.
%setup -q
%build
-python setup.py build
+
/usr/bin/
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
+
/usr/bin/
python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/plnet.py
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
ln -s %{python_sitelib}/plnet.py $RPM_BUILD_ROOT/%{_bindir}/plnet