forked from pool/python-mutagen
Accepting request 261635 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/261635 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mutagen?expand=0&rev=21
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 08 20:48:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashisms in pre script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 14 11:51:34 UTC 2013 - i@marguerite.su
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mutagen
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -77,18 +77,16 @@ ln -sf %{_mandir}/man1/mutagen-pony-%{py_ver}.1.gz %{buildroot}%{_mandir}/man1/m
|
||||
%pre
|
||||
# Since binaries became ghosted to be used with update-alternatives, we have to get rid
|
||||
# of the old binary resulting from the non-update-alternativies-ified package:
|
||||
[[ ! -L %{_bindir}/mid3iconv ]] && rm -f %{_bindir}/mid3iconv
|
||||
[[ ! -L %{_bindir}/mid3v2 ]] && rm -f %{_bindir}/mid3v2
|
||||
[[ ! -L %{_bindir}/moggsplit ]] && rm -f %{_bindir}/moggsplit
|
||||
[[ ! -L %{_bindir}/mutagen-inspect ]] && rm -f %{_bindir}/mutagen-inspect
|
||||
[[ ! -L %{_bindir}/mutagen-pony ]] && rm -f %{_bindir}/mutagen-pony
|
||||
[[ ! -L %{_mandir}/man1/mid3iconv.1.gz ]] && rm -f %{_mandir}/man1/mid3iconv.1.gz
|
||||
[[ ! -L %{_mandir}/man1/mid3v2.1.gz ]] && rm -f %{_mandir}/man1/mid3v2.1.gz
|
||||
[[ ! -L %{_mandir}/man1/moggsplit.1.gz ]] && rm -f %{_mandir}/man1/moggsplit.1.gz
|
||||
[[ ! -L %{_mandir}/man1/mutagen-inspect.1.gz ]] && rm -f %{_mandir}/man1/mutagen-inspect.1.gz
|
||||
[[ ! -L %{_mandir}/man1/mutagen-pony.1.gz ]] && rm -f %{_mandir}/man1/mutagen-pony.1.gz
|
||||
|
||||
exit 0
|
||||
[ -h %{_bindir}/mid3iconv ] || rm -f %{_bindir}/mid3iconv
|
||||
[ -h %{_bindir}/mid3v2 ] || rm -f %{_bindir}/mid3v2
|
||||
[ -h %{_bindir}/moggsplit ] || rm -f %{_bindir}/moggsplit
|
||||
[ -h %{_bindir}/mutagen-inspect ] || rm -f %{_bindir}/mutagen-inspect
|
||||
[ -h %{_bindir}/mutagen-pony ] || rm -f %{_bindir}/mutagen-pony
|
||||
[ -h %{_mandir}/man1/mid3iconv.1.gz ] || rm -f %{_mandir}/man1/mid3iconv.1.gz
|
||||
[ -h %{_mandir}/man1/mid3v2.1.gz ] || rm -f %{_mandir}/man1/mid3v2.1.gz
|
||||
[ -h %{_mandir}/man1/moggsplit.1.gz ] || rm -f %{_mandir}/man1/moggsplit.1.gz
|
||||
[ -h %{_mandir}/man1/mutagen-inspect.1.gz ] || rm -f %{_mandir}/man1/mutagen-inspect.1.gz
|
||||
[ -h %{_mandir}/man1/mutagen-pony.1.gz ] || rm -f %{_mandir}/man1/mutagen-pony.1.gz
|
||||
|
||||
%post
|
||||
update-alternatives \
|
||||
|
||||
Reference in New Issue
Block a user