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

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


commit 35ec8f2606fd0e88128e61f15b7b06df01bbbdb9
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-M2Crypto.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec
index 557e553..2a5897c 100644
--- a/python-M2Crypto.spec
+++ b/python-M2Crypto.spec
@@ -41,15 +41,13 @@ M2Crypto udostępnia z poziomu Pythona następujące funkcje:
 %patch1 -p1
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
 
-%{__python} setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-M2Crypto.git/commitdiff/35ec8f2606fd0e88128e61f15b7b06df01bbbdb9



More information about the pld-cvs-commit mailing list