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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:32:09 CET 2015


commit d200588e8b7070938924425ddd5065b0da6a0256
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-ndg-httpsclient.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-ndg-httpsclient.spec b/python-ndg-httpsclient.spec
index a369388..734914c 100644
--- a/python-ndg-httpsclient.spec
+++ b/python-ndg-httpsclient.spec
@@ -39,16 +39,12 @@ pełną weryfikację drugiej strony połączenia SSL.
 %setup -q -n ndg_httpsclient-%{version}
 
 %build
-%{__python} setup.py build --build-base build-2 %{?with_tests:test}
+%py_build %{?with_tests:test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py \
-	build --build-base build-2 \
-	install --skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ndg-httpsclient.git/commitdiff/d200588e8b7070938924425ddd5065b0da6a0256



More information about the pld-cvs-commit mailing list