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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:11:41 CET 2015


commit 3bf6c317f4dc408bb017161ba13f5f10be3eb2fc
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-Pyro4.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-Pyro4.spec b/python-Pyro4.spec
index 56b1145..4579d23 100644
--- a/python-Pyro4.spec
+++ b/python-Pyro4.spec
@@ -29,15 +29,11 @@ Pythonie. Jest zaprojektowany aby być bardzo łatwym w użyciu.
 %setup -q -n %{module}-%{version}
 
 %build
-CFLAGS="%{rpmcflags}" \
-%{__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
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-Pyro4.git/commitdiff/3bf6c317f4dc408bb017161ba13f5f10be3eb2fc



More information about the pld-cvs-commit mailing list