commit 595705d27a22ad0065e2da6f4027564bc52129b7
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-altgraph.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-altgraph.spec b/python-altgraph.spec
index f074c4a..624f264 100644
--- a/python-altgraph.spec
+++ b/python-altgraph.spec
@@ -26,15 +26,12 @@ shortest paths, etc. with graphviz output.
 %setup -q -n altgraph-%{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-altgraph.git/commitdiff/595705d27a22ad0065e2da6f4027564bc52129b7

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to