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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:07:39 CET 2015


commit 90f7506db40598062f248f5a302f0f1957c8ea49
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:41 2015 +0100

    automatic change: use py_build/py_install macros

 python-Beaker.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-Beaker.spec b/python-Beaker.spec
index 7f75952..f799742 100644
--- a/python-Beaker.spec
+++ b/python-Beaker.spec
@@ -41,14 +41,11 @@ jest jedynie middleware dla sesji, ale wkrótce będzie więcej.
 %setup -qn %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a tests/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-Beaker.git/commitdiff/90f7506db40598062f248f5a302f0f1957c8ea49



More information about the pld-cvs-commit mailing list