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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:09:48 CET 2015


commit 8200c9651588b8b1b213b7bd829f7c8c4545986c
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-MySQLdb.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python-MySQLdb.spec b/python-MySQLdb.spec
index 682f5fe..1cda42d 100644
--- a/python-MySQLdb.spec
+++ b/python-MySQLdb.spec
@@ -35,7 +35,7 @@ języka Python. Projekt jest tworzony z myślą o:
 %setup  -q -n MySQL-python-%{version}
 
 %build
-env CFLAGS="%{rpmcflags} -DHAVE_OPENSSL=1" %{_bindir}/python setup.py build
+env CFLAGS="%{rpmcflags} -DHAVE_OPENSSL=1" %{_bindir}/%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-MySQLdb.git/commitdiff/8200c9651588b8b1b213b7bd829f7c8c4545986c



More information about the pld-cvs-commit mailing list