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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:39:31 CET 2015


commit 0850daaee983c0eb49df63b8d4ce97a982fcbfdf
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-pyodbc.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-pyodbc.spec b/python-pyodbc.spec
index 0bcd032..b5bca65 100644
--- a/python-pyodbc.spec
+++ b/python-pyodbc.spec
@@ -43,14 +43,11 @@ znaczące cechy to:
 %setup -q -n %{module}-%{version}
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
+%py_install \
 	--root $RPM_BUILD_ROOT
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyodbc.git/commitdiff/0850daaee983c0eb49df63b8d4ce97a982fcbfdf



More information about the pld-cvs-commit mailing list