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

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


commit 50be68cb76886fe94dc9acca104225a60e8e34d3
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-bbfreeze.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-bbfreeze.spec b/python-bbfreeze.spec
index d9b2b48..ed09777 100644
--- a/python-bbfreeze.spec
+++ b/python-bbfreeze.spec
@@ -29,15 +29,12 @@ py2app).
 %setup -q -n bbfreeze-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-bbfreeze.git/commitdiff/50be68cb76886fe94dc9acca104225a60e8e34d3



More information about the pld-cvs-commit mailing list