[flac] Added self-obsoletes to help multilib upgrades

Kalev Lember kalev at fedoraproject.org
Thu Dec 6 19:05:36 UTC 2012


commit 10019b31d1b41dbb3379f651e07088fc8eec7ec0
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Thu Dec 6 18:01:19 2012 +0100

    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 files changed, 5 insertions(+), 1 deletions(-)
---
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 <kalevlember at gmail.com> - 1.2.1-12.20121204gita43f56
+- Added self-obsoletes to help multilib upgrades
+
 * Tue Dec 04 2012 Miroslav Lichvar <mlichvar at redhat.com> 1.2.1-11.20121204gita43f56
 - update to 20121204gita43f56
 - create libs subpackage


More information about the scm-commits mailing list