[packages/python-gprof2dot] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:25:33 CET 2015
commit 848832420a9f8632e2cd69030824d7eb1c82e83b
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-gprof2dot.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-gprof2dot.spec b/python-gprof2dot.spec
index 96d5034..b2a4cbb 100644
--- a/python-gprof2dot.spec
+++ b/python-gprof2dot.spec
@@ -26,14 +26,11 @@ Generate a dot graph from the output of several profiles.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%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-gprof2dot.git/commitdiff/848832420a9f8632e2cd69030824d7eb1c82e83b
More information about the pld-cvs-commit
mailing list