commit 88141fab4347e0bad5fe9bff3abd33703bf64624
Author: Jan RÄ™korajski <[email protected]>
Date:   Sat May 7 21:38:03 2016 +0200

    - use rpm python macros
    - rel 3

 python-PyMySQL.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-PyMySQL.spec b/python-PyMySQL.spec
index f4b42b2..eff6a7a 100644
--- a/python-PyMySQL.spec
+++ b/python-PyMySQL.spec
@@ -1,7 +1,7 @@
 Summary:       Pure Python MySQL Client
 Name:          python-PyMySQL
 Version:       0.5
-Release:       2
+Release:       3
 License:       MIT
 Group:         Libraries/Python
 Source0:       
https://github.com/downloads/petehunt/PyMySQL/PyMySQL-%{version}.tar.gz
@@ -29,10 +29,8 @@ work on CPython 2.3+, Jython, IronPython, PyPy and Python 3.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python -- setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
 
+%py_install
 %py_postclean
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyMySQL.git/commitdiff/88141fab4347e0bad5fe9bff3abd33703bf64624

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

Reply via email to