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

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


commit af5fb4aff76a1baed270ca7928070ca26971e417
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-translationstring.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-translationstring.spec b/python-translationstring.spec
index 61ffbd7..84a9c4f 100644
--- a/python-translationstring.spec
+++ b/python-translationstring.spec
@@ -35,16 +35,13 @@ instance of the babel.support.Translations class.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-translationstring.git/commitdiff/af5fb4aff76a1baed270ca7928070ca26971e417



More information about the pld-cvs-commit mailing list