summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2016-05-05 16:03:06 (GMT)
committerJan Rękorajski2016-05-05 16:03:06 (GMT)
commitd47d7c732dee7ef60e219aa1168be094042ceacf (patch)
tree1a07f7f7cd608602f74e1b63faae5ba845d418d1
parent019c083044cc90bfdcf90e3e895d8656a993c460 (diff)
downloadlibtunepimp-d47d7c732dee7ef60e219aa1168be094042ceacf.zip
libtunepimp-d47d7c732dee7ef60e219aa1168be094042ceacf.tar.gz
- use rpm python macrosauto/th/libtunepimp-0.5.3-19
- rel 19
-rw-r--r--libtunepimp.spec8
1 files 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