[packages/python-pyramid_beaker] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:40:12 CET 2015


commit 139df0c4e5753a1e25a1a8cb116ab2afdde3549c
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_beaker.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-pyramid_beaker.spec b/python-pyramid_beaker.spec
index 0a71b29..9ea4284 100644
--- a/python-pyramid_beaker.spec
+++ b/python-pyramid_beaker.spec
@@ -28,16 +28,13 @@ Beaker sessioning system.
 %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}/%{module}/tests.py*
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyramid_beaker.git/commitdiff/139df0c4e5753a1e25a1a8cb116ab2afdde3549c



More information about the pld-cvs-commit mailing list