[packages/python-ipdb] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:26:47 CET 2015
commit 9f1ddc841be37fdf4527a2dea83e4a8e61f944d3
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-ipdb.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-ipdb.spec b/python-ipdb.spec
index a2af3c0..5eef7d2 100644
--- a/python-ipdb.spec
+++ b/python-ipdb.spec
@@ -31,14 +31,11 @@ tracebacks) right in pdb.
%setup -q -n %{module}-%{ver}-r%{svn_rev}
%build
-export CFLAGS="%{rpmcflags}"
-%{__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-ipdb.git/commitdiff/9f1ddc841be37fdf4527a2dea83e4a8e61f944d3
More information about the pld-cvs-commit
mailing list