[packages/python-repoze.lru] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:42:20 CET 2015
commit 453ce069296f74c633dcfc913346038acbbb2239
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-repoze.lru.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-repoze.lru.spec b/python-repoze.lru.spec
index 95a6d54..c190fb9 100644
--- a/python-repoze.lru.spec
+++ b/python-repoze.lru.spec
@@ -28,16 +28,13 @@ faster than keys and values that are used frequently.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%{?with_tests:%{__python} setup.py test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/repoze/lru/tests.py*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-repoze.lru.git/commitdiff/453ce069296f74c633dcfc913346038acbbb2239
More information about the pld-cvs-commit
mailing list