[packages/python-cx_Oracle] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:19:29 CET 2015
commit fb6aa9ef2e0bb29390a8603f666ec238cb3e17ca
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-cx_Oracle.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-cx_Oracle.spec b/python-cx_Oracle.spec
index c671185..20d019d 100644
--- a/python-cx_Oracle.spec
+++ b/python-cx_Oracle.spec
@@ -29,11 +29,11 @@ http://www.python.org/topics/database/DatabaseAPI-2.0.html.
%patch0 -p1
%build
-env CFLAGS="%{rpmcflags}" python setup.py build
+env CFLAGS="%{rpmcflags}" %py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
+%py_install --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-cx_Oracle.git/commitdiff/fb6aa9ef2e0bb29390a8603f666ec238cb3e17ca
More information about the pld-cvs-commit
mailing list