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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:32:20 CET 2015


commit 34d0d2f8fd32a90d46fe9461d771694f397f3107
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-networkmanager.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-networkmanager.spec b/python-networkmanager.spec
index d62ee8d..4166407 100644
--- a/python-networkmanager.spec
+++ b/python-networkmanager.spec
@@ -46,7 +46,7 @@ Dokumentacja API modułów networkmanagera.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 # generate html docs
 sphinx-build docs html
@@ -55,10 +55,7 @@ sphinx-build docs html
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-networkmanager.git/commitdiff/34d0d2f8fd32a90d46fe9461d771694f397f3107



More information about the pld-cvs-commit mailing list