[packages/python-autopy] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:15:48 CET 2015
commit c4c0cf41a224add6d8e2ba7f20cecc36ffc0f401
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-autopy.spec | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-autopy.spec b/python-autopy.spec
index 9728415..8e916e3 100644
--- a/python-autopy.spec
+++ b/python-autopy.spec
@@ -31,17 +31,12 @@ Wszystko w międzyplaformowy, efektywny i prosty sposób.
%build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-autopy.git/commitdiff/c4c0cf41a224add6d8e2ba7f20cecc36ffc0f401
More information about the pld-cvs-commit
mailing list