[packages/python-pySpeex] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:35:56 CET 2015
commit 366378c9dd40c3f68407812a3ffe91bc7d7763a9
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-pySpeex.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-pySpeex.spec b/python-pySpeex.spec
index feb2eaa..f403d35 100644
--- a/python-pySpeex.spec
+++ b/python-pySpeex.spec
@@ -41,13 +41,13 @@ kodekiem w sposób przyrostowy przy użyciu metod 'encode' i 'decode'.
find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT
-python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pySpeex.git/commitdiff/366378c9dd40c3f68407812a3ffe91bc7d7763a9
More information about the pld-cvs-commit
mailing list