Added self-obsoletes to help multilib upgrades

flac-1.2.1-10 used to be multilib (that is, both i686 and x86_64
versions were in the x86_64 repo). Now that the -libs subpackage is
separate, it's only flac-libs that gets multilibbed, and flac (the main
package) won't.

To make upgrades work where flac.i686 disappears from the x86_64 repo,
we need self-obsoletes.
This commit is contained in:
Kalev Lember 2012-12-06 18:01:19 +01:00
parent 4d6e91c9de
commit 10019b31d1

View File

@ -3,7 +3,7 @@
Summary: An encoder/decoder for the Free Lossless Audio Codec
Name: flac
Version: 1.2.1
Release: 11.%{gitdate}git%{gitrev}%{?dist}
Release: 12.%{gitdate}git%{gitrev}%{?dist}
License: BSD and GPLv2+ and GFDL
Group: Applications/Multimedia
@ -35,6 +35,7 @@ This package contains the command-line tools and documentation.
%package libs
Summary: Libraries for the Free Lossless Audio Codec
Group: System Environment/Libraries
Obsoletes: flac < 1.2.1-11
%description libs
FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC
@ -107,6 +108,9 @@ make -C test check FLAC__TEST_LEVEL=0 &> /dev/null
%{_datadir}/aclocal/*.m4
%changelog
* Thu Dec 06 2012 Kalev Lember <kalevlember@gmail.com> - 1.2.1-12.20121204gita43f56
- Added self-obsoletes to help multilib upgrades
* Tue Dec 04 2012 Miroslav Lichvar <mlichvar@redhat.com> 1.2.1-11.20121204gita43f56
- update to 20121204gita43f56
- create libs subpackage