[packages/python-quixote] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:41:37 CET 2015
commit 9ff46711099a7f55c39765e74708ba20a7acb6f7
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-quixote.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-quixote.spec b/python-quixote.spec
index a80c72d..7951867 100644
--- a/python-quixote.spec
+++ b/python-quixote.spec
@@ -68,14 +68,12 @@ Moduł zawierający dokumentację dla modułu Pythona quixote.
%setup -q -n Quixote-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-quixote.git/commitdiff/9ff46711099a7f55c39765e74708ba20a7acb6f7
More information about the pld-cvs-commit
mailing list