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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:42:58 CET 2015


commit 63ce93193915e6d005ee52b67809d280a1f2e28b
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-satine.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-satine.spec b/python-satine.spec
index 41692cc..c4fcb49 100644
--- a/python-satine.spec
+++ b/python-satine.spec
@@ -45,15 +45,14 @@ atrybutami (xlist). Technologia ta pozwala na:
 #python config_unix.py \
 #	--prefix %{_prefix}
 python setup.py config
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}
 
-python setup.py install \
-	--optimize=2 \
+%py_install \
 	--root $RPM_BUILD_ROOT
 
 mv examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-satine.git/commitdiff/63ce93193915e6d005ee52b67809d280a1f2e28b



More information about the pld-cvs-commit mailing list