]> git.pld-linux.org Git - packages/python3-requests.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
python-requests.spec

index 9268180106cb64496834d93d07403365edad97ec..574893fddbf5757220a1ccf8706d3b511c9da0df 100644 (file)
@@ -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
 
This page took 0.076734 seconds and 4 git commands to generate.