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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:33:03 CET 2015


commit a9c8ef45435bd37e4a850206a7c01706a554842f
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-oauth.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-oauth.spec b/python-oauth.spec
index debea0a..1425483 100644
--- a/python-oauth.spec
+++ b/python-oauth.spec
@@ -21,12 +21,11 @@ Python library for OAuth version 1.0a.
 %setup -q -n oauth-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--skip-build \
+%py_install \
 	--root $RPM_BUILD_ROOT
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-oauth.git/commitdiff/a9c8ef45435bd37e4a850206a7c01706a554842f



More information about the pld-cvs-commit mailing list