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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:33:44 CET 2015


commit 76208e1a0a30532d86883527e8b2275dcd9690d3
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-ordereddict.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-ordereddict.spec b/python-ordereddict.spec
index 9a9db8d..e739a87 100644
--- a/python-ordereddict.spec
+++ b/python-ordereddict.spec
@@ -26,14 +26,11 @@ O(n) iteration/repr/copy/equality_testing).
 %setup -q -n %{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
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ordereddict.git/commitdiff/76208e1a0a30532d86883527e8b2275dcd9690d3



More information about the pld-cvs-commit mailing list