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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:42:31 CET 2015


commit 1249599cff7fad78b5a4dafd3aa46f57768005f1
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-requests_oauthlib.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-requests_oauthlib.spec b/python-requests_oauthlib.spec
index 8e0b981..5f538fe 100644
--- a/python-requests_oauthlib.spec
+++ b/python-requests_oauthlib.spec
@@ -46,11 +46,11 @@ First-class OAuth library support for python-requests.
 
 %build
 %if %{with python2}
-%{__python} setup.py build -b py2
+%py_build -b py2
 %endif
 
 %if %{with python3}
-%{__python3} setup.py build -b py3
+%py3_build -b py3
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-requests_oauthlib.git/commitdiff/1249599cff7fad78b5a4dafd3aa46f57768005f1



More information about the pld-cvs-commit mailing list