]> git.pld-linux.org Git - packages/GNS3.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
GNS3.spec

index 7450410cdfa5d617548949c1a682638840130372..9cb52a31738e1d39dd966990ce3be21529b8a413 100644 (file)
--- 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}
This page took 0.105493 seconds and 4 git commands to generate.