commit fa6a20a6a2c93c1de5cbb73e0256d9f9cc7cf7e7
Author: Jacek Konieczny <[email protected]>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-requests.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-requests.spec b/python-requests.spec
index 9268180..574893f 100644
--- a/python-requests.spec
+++ b/python-requests.spec
@@ -118,12 +118,12 @@ Ten pakiet zawiera moduĊ dla Pythona 3.x.
%build
%if %{with python2}
-%{__python} setup.py build -b py2 %{?with_tests:test}
+%py_build -b py2 %{?with_tests:test}
%{?with_tests:cp requirements.txt test_requests.py py2; cd py2;
PYTHONPATH=$(pwd)/lib %{__python} test_requests.py; cd ..}
%endif
%if %{with python3}
-%{__python3} setup.py build -b py3 %{?with_tests:test}
+%py3_build -b py3 %{?with_tests:test}
%{?with_tests:cp requirements.txt test_requests.py py3; cd py3;
PYTHONPATH=$(pwd)/lib %{__python3} test_requests.py; cd ..}
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-requests.git/commitdiff/fa6a20a6a2c93c1de5cbb73e0256d9f9cc7cf7e7
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit