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

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


commit dff212bc3df076bead19c06a05a3866660962b32
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-unidecode.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-unidecode.spec b/python-unidecode.spec
index d832ce0..45febde 100644
--- a/python-unidecode.spec
+++ b/python-unidecode.spec
@@ -30,13 +30,11 @@ This is a Python port of Text::Unidecode Perl module by Sean M. Burke
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-unidecode.git/commitdiff/dff212bc3df076bead19c06a05a3866660962b32



More information about the pld-cvs-commit mailing list