[packages/python-DBUtils] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:08:29 CET 2015
commit 064fdfbd40c42b34f7e4c780c6fb66d9be183c11
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:41 2015 +0100
automatic change: use py_build/py_install macros
python-DBUtils.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-DBUtils.spec b/python-DBUtils.spec
index 4cd45d3..7fcc87f 100644
--- a/python-DBUtils.spec
+++ b/python-DBUtils.spec
@@ -28,13 +28,11 @@ interfaces and the classic PyGreSQL interface.
%setup -q -n %{module}-%{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_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-DBUtils.git/commitdiff/064fdfbd40c42b34f7e4c780c6fb66d9be183c11
More information about the pld-cvs-commit
mailing list