[packages/GNS3] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:20:45 CET 2015


commit 4a8b2841c4369d78a4d0c0fcde472f152a11824d
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 GNS3.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/GNS3.spec b/GNS3.spec
index 7450410..9cb52a3 100644
--- a/GNS3.spec
+++ b/GNS3.spec
@@ -45,9 +45,7 @@ install %{SOURCE1} .
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python ./setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 # remove .py files, leave just compiled ones.
 %{py_postclean}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/GNS3.git/commitdiff/4a8b2841c4369d78a4d0c0fcde472f152a11824d



More information about the pld-cvs-commit mailing list