mention /usr/bin/python when invoking setup.py, because otherwise on
[plnode-utils.git] / plnode-utils-vs.spec
index 18290d0..ad5817d 100644 (file)
@@ -33,10 +33,10 @@ 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_vs.py plnode/bwlimit.py
-python setup.py build
+/usr/bin/python setup.py build
 
 %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
@@ -47,6 +47,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %{python_sitelib}/*
-%{_bindir}
+%{_bindir}/*
 
 %changelog