[packages/python-pyramid] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:40:08 CET 2015
commit 066d1c6a88d2cb6f704c62b20f6f3d75c10ad2b4
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-pyramid.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-pyramid.spec b/python-pyramid.spec
index e5459ec..bba9ec6 100644
--- a/python-pyramid.spec
+++ b/python-pyramid.spec
@@ -45,16 +45,13 @@ productive.
%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} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyramid.git/commitdiff/066d1c6a88d2cb6f704c62b20f6f3d75c10ad2b4
More information about the pld-cvs-commit
mailing list