[packages/python-tracing] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:46:51 CET 2015
commit 82e58acbf9784cdeb2f2d97b99659130a0f89a7f
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:44 2015 +0100
automatic change: use py_build/py_install macros
python-tracing.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-tracing.spec b/python-tracing.spec
index d835440..eb06a0a 100644
--- a/python-tracing.spec
+++ b/python-tracing.spec
@@ -39,17 +39,14 @@ logging helper.
%setup -q
%build
-%{__python} setup.py build
+%py_build
# Build documentation
%{__make} -C doc html
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-tracing.git/commitdiff/82e58acbf9784cdeb2f2d97b99659130a0f89a7f
More information about the pld-cvs-commit
mailing list