diff options
author | Jan Rękorajski | 2016-05-05 16:03:06 (GMT) |
---|---|---|
committer | Jan Rękorajski | 2016-05-05 16:03:06 (GMT) |
commit | d47d7c732dee7ef60e219aa1168be094042ceacf (patch) | |
tree | 1a07f7f7cd608602f74e1b63faae5ba845d418d1 | |
parent | 019c083044cc90bfdcf90e3e895d8656a993c460 (diff) | |
download | libtunepimp-d47d7c732dee7ef60e219aa1168be094042ceacf.zip libtunepimp-d47d7c732dee7ef60e219aa1168be094042ceacf.tar.gz |
- use rpm python macrosauto/th/libtunepimp-0.5.3-19
- rel 19
-rw-r--r-- | libtunepimp.spec | 8 |
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 |