From a753a1328c782fcb1634913389da9eaa2e7020cf Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 11 Jan 2013 17:02:08 +0100 Subject: [PATCH] Self-obsoletes to fix the multilib upgrade path The 'colord' subpackage used to be multilib, so we need to tell yum to remove the compat arch package on upgrades. --- colord.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/colord.spec b/colord.spec index de1d9f6..6a04787 100644 --- a/colord.spec +++ b/colord.spec @@ -6,7 +6,7 @@ Summary: Color daemon Name: colord Version: 0.1.27 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.freedesktop.org/software/colord/ Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz @@ -33,6 +33,9 @@ Requires: color-filesystem Requires: systemd-units Requires(pre): shadow-utils +# Self-obsoletes to fix the multilib upgrade path +Obsoletes: colord < 0.1.27-3 + # obsolete separate profiles package Obsoletes: shared-color-profiles <= 0.1.6-2 Provides: shared-color-profiles @@ -217,6 +220,9 @@ exit 0 %{_datadir}/gtk-doc/html/colord/* %changelog +* Fri Jan 11 2013 Kalev Lember 0.1.27-3 +- Added self-obsoletes to 'colord' subpackage to fix the multilib upgrade path + * Thu Jan 10 2013 Kalev Lember 0.1.27-2 - Split out libcolord to colord-libs subpackage, so that the daemon package doesn't get multilibbed