]> git.pld-linux.org Git - packages/cnetworkmanager.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)
cnetworkmanager.spec

index 80b63553745f605edf8f7fe5eac7ba9f8501355c..01d4d8be8ab24ab20b3da2933293aa9767fb7c8c 100644 (file)
@@ -24,13 +24,11 @@ to supplement and replace the GUI applets.
 %setup -q
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%py_install
 %py_postclean
 
 %clean
This page took 0.092033 seconds and 4 git commands to generate.