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

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


commit e4c8bd4b073b0855975cfb1c396df62e2d79c389
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-mmpython.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-mmpython.spec b/python-mmpython.spec
index 30ff7c6..3d7888a 100644
--- a/python-mmpython.spec
+++ b/python-mmpython.spec
@@ -35,15 +35,12 @@ struktury zorientowane obiektowo.
 %patch0 -p1
 
 %build
-CFLAGS="%{rpmcflags}" \
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT \
+%py_install \
 	--install-platlib=%{py_sitescriptdir}
 
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-mmpython.git/commitdiff/e4c8bd4b073b0855975cfb1c396df62e2d79c389



More information about the pld-cvs-commit mailing list