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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:31:15 CET 2015


commit 393fbd4bcb3742a4462a9ac1650c9a8b672940c9
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-modulegraph.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-modulegraph.spec b/python-modulegraph.spec
index a11b5b8..4b3e507 100644
--- a/python-modulegraph.spec
+++ b/python-modulegraph.spec
@@ -29,15 +29,12 @@ extensive knowledge of special cases, and is extensible.
 %setup -q -n modulegraph-%{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_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-modulegraph.git/commitdiff/393fbd4bcb3742a4462a9ac1650c9a8b672940c9



More information about the pld-cvs-commit mailing list