]> git.pld-linux.org Git - packages/flixengine.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
flixengine.spec

index 67403fe29464ac34496b9ffbc10c8c6f350f42ec..d0d65ff8fe9517007f0ca26f9fce0e79c2c38fef 100644 (file)
@@ -321,7 +321,7 @@ cd ..
 
 %if %{with python}
 cd flixpython
 
 %if %{with python}
 cd flixpython
-%{__python} setup.py build
+%py_build
 cd ..
 %endif
 
 cd ..
 %endif
 
@@ -398,9 +398,7 @@ mv $RPM_BUILD_ROOT%{_examplesdir}/{%{name}-%{version}/perl,perl-%{name}-%{versio
 
 %if %{with python}
 cd flixpython
 
 %if %{with python}
 cd flixpython
-%{__python} setup.py install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 %py_postclean
 cd ..
 # per package dirs
 %py_postclean
 cd ..
 # per package dirs
This page took 0.095246 seconds and 4 git commands to generate.