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

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


commit 613c8829bce8705356fd54ef22b2d83cbe3abfc3
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-meh.spec | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/python-meh.spec b/python-meh.spec
index d1abb22..978b65e 100644
--- a/python-meh.spec
+++ b/python-meh.spec
@@ -61,10 +61,7 @@ rm -rf $RPM_BUILD_ROOT
 	DESTDIR=$RPM_BUILD_ROOT
 
 # redo python install to get optimize=2
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 %find_lang %{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-meh.git/commitdiff/613c8829bce8705356fd54ef22b2d83cbe3abfc3



More information about the pld-cvs-commit mailing list