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

jajcus jajcus at pld-linux.org
Sat Nov 28 19:27:33 CET 2015


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

    automatic change: use py_build/py_install macros

 func.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/func.spec b/func.spec
index 7e13e80..d600241 100644
--- a/func.spec
+++ b/func.spec
@@ -34,14 +34,12 @@ konfiguracji i monitorowania systemów.
 %patch0 -p1
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/log/func}
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/func.git/commitdiff/4aa9f949ca399adc3bf8cda9b75fbd390047412f



More information about the pld-cvs-commit mailing list