commit 89b49f7cff47737f55db259ce62916839875a363
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-chardet.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-chardet.spec b/python-chardet.spec
index db0d059..5dc77e1 100644
--- a/python-chardet.spec
+++ b/python-chardet.spec
@@ -29,14 +29,12 @@ przeglÄ…darce.
 %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-chardet.git/commitdiff/89b49f7cff47737f55db259ce62916839875a363

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

Reply via email to