commit 8215e5c9af20236d667d37ab2ecad0d2996da23b
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:44 2015 +0100

    automatic change: use py_build/py_install macros

 python-unicodecsv.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-unicodecsv.spec b/python-unicodecsv.spec
index 08caa15..1d889cb 100644
--- a/python-unicodecsv.spec
+++ b/python-unicodecsv.spec
@@ -29,16 +29,13 @@ which supports unicode strings without a hassle.
 %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
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-unicodecsv.git/commitdiff/8215e5c9af20236d667d37ab2ecad0d2996da23b

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to