[packages/python-Lupy] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:09:37 CET 2015
commit 78d8eeabd001a0ac4afd97ba9fd8e1821b6b15c7
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-Lupy.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/python-Lupy.spec b/python-Lupy.spec
index 6051469..580388b 100644
--- a/python-Lupy.spec
+++ b/python-Lupy.spec
@@ -41,9 +41,7 @@ python setup.py build_ext
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-Lupy.git/commitdiff/78d8eeabd001a0ac4afd97ba9fd8e1821b6b15c7
More information about the pld-cvs-commit
mailing list