commit c4d0528783df0c8611ca7ccb805aef0c8b400214
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:55:57 2015 +0100

    automatic change: use py_build/py_install macros

 python3-PyMySQL.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python3-PyMySQL.spec b/python3-PyMySQL.spec
index 6e58b0b..c3a9de8 100644
--- a/python3-PyMySQL.spec
+++ b/python3-PyMySQL.spec
@@ -24,16 +24,12 @@ work on CPython 2.3+, Jython, IronPython, PyPy and Python 3.
 %setup  -q -n PyMySQL-pymysql-%{version}
 
 %build
-%{__python3} setup.py build --build-base build-3
+%py3_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python3} setup.py \
-       build --build-base build-3 \
-       install --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py3_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-PyMySQL.git/commitdiff/c4d0528783df0c8611ca7ccb805aef0c8b400214

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

Reply via email to