[packages/python-larch] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:28:44 CET 2015
commit 894a81ade3a738cf876cbc7b67fd826f5a16c60d
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-larch.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-larch.spec b/python-larch.spec
index bec7926..7b6b853 100644
--- a/python-larch.spec
+++ b/python-larch.spec
@@ -74,17 +74,14 @@ rm -rf build
%{__make} check
%endif
-%{__python} setup.py build
+%py_build
# Build documentation
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
# drop internal tests
%{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/larch/*_tests.py*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-larch.git/commitdiff/894a81ade3a738cf876cbc7b67fd826f5a16c60d
More information about the pld-cvs-commit
mailing list