[packages/python-openpyxl] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:33:40 CET 2015
commit b8f9fa94939864c7d1b42a005d9cb72d45b15e34
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-openpyxl.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-openpyxl.spec b/python-openpyxl.spec
index 3f26231..bcab9b1 100644
--- a/python-openpyxl.spec
+++ b/python-openpyxl.spec
@@ -27,16 +27,13 @@ is ported from the PHPExcel project
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
#%{?with_tests:%{__python} setup.py test}
%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_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-openpyxl.git/commitdiff/b8f9fa94939864c7d1b42a005d9cb72d45b15e34
More information about the pld-cvs-commit
mailing list