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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:49:09 CET 2015


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

    automatic change: use py_build/py_install macros

 python-xmms.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-xmms.spec b/python-xmms.spec
index 97567bf..de46b5c 100644
--- a/python-xmms.spec
+++ b/python-xmms.spec
@@ -45,15 +45,13 @@ prefix=/usr
 EOF
 
 %build
-python setup.py build
+%py_build
 python build-documentation.py
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-xmms.git/commitdiff/bdf674e596af0e18d06fe4370acfc5cec8bd2381



More information about the pld-cvs-commit mailing list