[packages/python-seqdiag] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:43:22 CET 2015
commit 264cc6db5306a13dd61a31685f755ad4d8180af7
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-seqdiag.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-seqdiag.spec b/python-seqdiag.spec
index 9d85aee..60e6fa1 100644
--- a/python-seqdiag.spec
+++ b/python-seqdiag.spec
@@ -27,13 +27,11 @@ Features:
%{__sed} -i -e 's/^use_setuptools()/#use_setuptools()/' setup.py
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --skip-build \
+%py_install \
--root $RPM_BUILD_ROOT
%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-seqdiag.git/commitdiff/264cc6db5306a13dd61a31685f755ad4d8180af7
More information about the pld-cvs-commit
mailing list