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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:26:08 CET 2015


commit e7ff3e11e00f9c64a7e5b43758ad35c36615e473
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-huTools.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-huTools.spec b/python-huTools.spec
index 91afce4..7ac120a 100644
--- a/python-huTools.spec
+++ b/python-huTools.spec
@@ -26,14 +26,12 @@ Kilka przydatnych mdułów dla Pythona.
 %setup -q -n %{module}-%{version}
 
 %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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-huTools.git/commitdiff/e7ff3e11e00f9c64a7e5b43758ad35c36615e473



More information about the pld-cvs-commit mailing list