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

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


commit 38511367b2018cbc1a31e7757fcdbdac36d73bf7
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-tagpy.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-tagpy.spec b/python-tagpy.spec
index 21f1048..31350e8 100644
--- a/python-tagpy.spec
+++ b/python-tagpy.spec
@@ -51,13 +51,12 @@ Podobnie jak TagLib TagPy pozwala na:
 ./configure.py \
 	--taglib-inc-dir=`pkg-config --variable=includedir taglib`/taglib \
 	--boost-python-libname=boost_python
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-	--optimize=2 \
+%py_install \
 	--root $RPM_BUILD_ROOT
 
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-tagpy.git/commitdiff/38511367b2018cbc1a31e7757fcdbdac36d73bf7



More information about the pld-cvs-commit mailing list