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

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


commit 3994984855fff8d4ef84926b9a677578e1e31d37
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:44 2015 +0100

    automatic change: use py_build/py_install macros

 python-termcolor.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-termcolor.spec b/python-termcolor.spec
index dbfca34..2baec62 100644
--- a/python-termcolor.spec
+++ b/python-termcolor.spec
@@ -22,13 +22,11 @@ ANSII Color formatting for output in terminal.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--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-termcolor.git/commitdiff/3994984855fff8d4ef84926b9a677578e1e31d37



More information about the pld-cvs-commit mailing list