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

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


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

    automatic change: use py_build/py_install macros

 python-xlsxwriter.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-xlsxwriter.spec b/python-xlsxwriter.spec
index 36891e3..dd1a1c0 100644
--- a/python-xlsxwriter.spec
+++ b/python-xlsxwriter.spec
@@ -37,14 +37,11 @@ many more, including:
 %setup -q -n XlsxWriter-%{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_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-xlsxwriter.git/commitdiff/cc18cf8e6603c312a2099eae88388405afb7f543



More information about the pld-cvs-commit mailing list