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

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


commit 03f7773bb60ff6c77a00f151715b6bee3531cd44
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-gnutls.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-gnutls.spec b/python-gnutls.spec
index 9a501f2..f3b904f 100644
--- a/python-gnutls.spec
+++ b/python-gnutls.spec
@@ -37,13 +37,11 @@ i udostępnia je aplikacjom Pythona poprzez proste API.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-gnutls.git/commitdiff/03f7773bb60ff6c77a00f151715b6bee3531cd44



More information about the pld-cvs-commit mailing list