[packages/python-objgraph] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:33:11 CET 2015


commit 7074a74a9cfb4de1d5d832b83a2a77246dfc8010
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-objgraph.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-objgraph.spec b/python-objgraph.spec
index 4b39049..0b9057a 100644
--- a/python-objgraph.spec
+++ b/python-objgraph.spec
@@ -41,17 +41,13 @@ Moduł do wizualizacji grafów pythonowych obiektów.
 %build
 # CC/CFLAGS is only for arch packages - remove on noarch packages
 # CC="%{__cc}" \
-# CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+# %py_build
 
 %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 # install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 # cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-objgraph.git/commitdiff/7074a74a9cfb4de1d5d832b83a2a77246dfc8010



More information about the pld-cvs-commit mailing list