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.
This commit is contained in:
Kalev Lember 2013-01-11 17:02:08 +01:00
parent 30fa2dfe29
commit a753a1328c

View File

@ -6,7 +6,7 @@
Summary: Color daemon Summary: Color daemon
Name: colord Name: colord
Version: 0.1.27 Version: 0.1.27
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://www.freedesktop.org/software/colord/ URL: http://www.freedesktop.org/software/colord/
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
@ -33,6 +33,9 @@ Requires: color-filesystem
Requires: systemd-units Requires: systemd-units
Requires(pre): shadow-utils Requires(pre): shadow-utils
# Self-obsoletes to fix the multilib upgrade path
Obsoletes: colord < 0.1.27-3
# obsolete separate profiles package # obsolete separate profiles package
Obsoletes: shared-color-profiles <= 0.1.6-2 Obsoletes: shared-color-profiles <= 0.1.6-2
Provides: shared-color-profiles Provides: shared-color-profiles
@ -217,6 +220,9 @@ exit 0
%{_datadir}/gtk-doc/html/colord/* %{_datadir}/gtk-doc/html/colord/*
%changelog %changelog
* Fri Jan 11 2013 Kalev Lember <kalevlember@gmail.com> 0.1.27-3
- Added self-obsoletes to 'colord' subpackage to fix the multilib upgrade path
* Thu Jan 10 2013 Kalev Lember <kalevlember@gmail.com> 0.1.27-2 * Thu Jan 10 2013 Kalev Lember <kalevlember@gmail.com> 0.1.27-2
- Split out libcolord to colord-libs subpackage, so that the daemon package - Split out libcolord to colord-libs subpackage, so that the daemon package
doesn't get multilibbed doesn't get multilibbed