[packages/flixengine] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:27:10 CET 2015
commit d01e7dbc9441b2433cd8dc48900033d956791671
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
flixengine.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/flixengine.spec b/flixengine.spec
index 67403fe..d0d65ff 100644
--- a/flixengine.spec
+++ b/flixengine.spec
@@ -321,7 +321,7 @@ cd ..
%if %{with python}
cd flixpython
-%{__python} setup.py build
+%py_build
cd ..
%endif
@@ -398,9 +398,7 @@ mv $RPM_BUILD_ROOT%{_examplesdir}/{%{name}-%{version}/perl,perl-%{name}-%{versio
%if %{with python}
cd flixpython
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
cd ..
# per package dirs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/flixengine.git/commitdiff/d01e7dbc9441b2433cd8dc48900033d956791671
More information about the pld-cvs-commit
mailing list