[packages/python-itools] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:27:10 CET 2015
commit 2fe008211072254f3fee914abfb2d19e61df5c0c
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-itools.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/python-itools.spec b/python-itools.spec
index 7879e30..356cecb 100644
--- a/python-itools.spec
+++ b/python-itools.spec
@@ -67,9 +67,7 @@ python setup.py build_ext
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_examplesdir}/%{name}-%{version},%{_bindir}}
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-itools.git/commitdiff/2fe008211072254f3fee914abfb2d19e61df5c0c
More information about the pld-cvs-commit
mailing list