[packages/python-async] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:15:40 CET 2015


commit 439caf9e222895d24fca4921baf7533e3bba690e
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-async.spec | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-async.spec b/python-async.spec
index 77175ca..fb7aca8 100644
--- a/python-async.spec
+++ b/python-async.spec
@@ -24,16 +24,11 @@ workers.
 %setup -q -n %{module}-%{version}
 
 %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
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/async/{AUTHORS,README,test}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-async.git/commitdiff/439caf9e222895d24fca4921baf7533e3bba690e



More information about the pld-cvs-commit mailing list