[packages/python3-asyncio] automatic change: use py_build/py_install macros

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


commit 7c5295f3be83467baa17c01d91cb637c28938a55
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:55:57 2015 +0100

    automatic change: use py_build/py_install macros

 python3-asyncio.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python3-asyncio.spec b/python3-asyncio.spec
index 2e3d805..3986156 100644
--- a/python3-asyncio.spec
+++ b/python3-asyncio.spec
@@ -28,15 +28,13 @@ higher-level scheduler based on yield from (PEP 380)
 %setup  -q -n asyncio-%{version}
 
 %build
-%{__python3} setup.py build
+%py3_build
 %{?with_tests:%{__make} test PYTHON=%{__python3}}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-%{__python3} setup.py install \
-	--optimize 2 \
-	--root=$RPM_BUILD_ROOT
+%py3_install
 
 cp -p examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-asyncio.git/commitdiff/7c5295f3be83467baa17c01d91cb637c28938a55



More information about the pld-cvs-commit mailing list