From 10019b31d1b41dbb3379f651e07088fc8eec7ec0 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 6 Dec 2012 18:01:19 +0100 Subject: [PATCH] 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. --- flac.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flac.spec b/flac.spec index efcd43d..5e2bf99 100644 --- a/flac.spec +++ b/flac.spec @@ -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 - 1.2.1-12.20121204gita43f56 +- Added self-obsoletes to help multilib upgrades + * Tue Dec 04 2012 Miroslav Lichvar 1.2.1-11.20121204gita43f56 - update to 20121204gita43f56 - create libs subpackage