[packages/libtunepimp] - use rpm python macros - rel 19

baggins baggins at pld-linux.org
Thu May 5 18:03:20 CEST 2016


commit d47d7c732dee7ef60e219aa1168be094042ceacf
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu May 5 18:03:06 2016 +0200

    - use rpm python macros
    - rel 19

 libtunepimp.spec | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libtunepimp.spec b/libtunepimp.spec
index 3bc494b..90609f6 100644
--- a/libtunepimp.spec
+++ b/libtunepimp.spec
@@ -7,7 +7,7 @@ Summary:	The MusicBrainz tagging library
 Summary(pl.UTF-8):	Biblioteka znakowania MusicBrainz
 Name:		libtunepimp
 Version:	%{major}.3
-Release:	18
+Release:	19
 License:	GPL
 Group:		Libraries
 Source0:	ftp://ftp.musicbrainz.org/pub/musicbrainz/%{name}-%{version}.tar.gz
@@ -115,7 +115,7 @@ Wiązania Pythona do biblioteki libtunepimp.
 # cd ../..
 
 cd python
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -136,9 +136,7 @@ install lib/threads/posix/mutex.h \
 # cd ../..
 
 cd python
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 %py_postclean
 install -D examples/trm.py $RPM_BUILD_ROOT%{_bindir}/trm
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libtunepimp.git/commitdiff/d47d7c732dee7ef60e219aa1168be094042ceacf



More information about the pld-cvs-commit mailing list