[packages/python-kinterbasdb] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:28:24 CET 2015
commit 6aa51fa998d2992c37d95fdf64676ef6f72eed3f
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-kinterbasdb.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-kinterbasdb.spec b/python-kinterbasdb.spec
index 4b613a4..bc1da00 100644
--- a/python-kinterbasdb.spec
+++ b/python-kinterbasdb.spec
@@ -26,14 +26,12 @@ nearly the entire native client API of the database engine.
%setup -q -n %{realname}-%{version}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-kinterbasdb.git/commitdiff/6aa51fa998d2992c37d95fdf64676ef6f72eed3f
More information about the pld-cvs-commit
mailing list