commit 0850daaee983c0eb49df63b8d4ce97a982fcbfdf
Author: Jacek Konieczny <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit