[packages/python-actdiag] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:14:19 CET 2015
commit b993a8aa276bfe0749085fc3b1123a3831b43986
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-actdiag.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-actdiag.spec b/python-actdiag.spec
index ab8cb3c..bcf1561 100644
--- a/python-actdiag.spec
+++ b/python-actdiag.spec
@@ -29,13 +29,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-actdiag.git/commitdiff/b993a8aa276bfe0749085fc3b1123a3831b43986
More information about the pld-cvs-commit
mailing list