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
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 <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
- Split out libcolord to colord-libs subpackage, so that the daemon package
doesn't get multilibbed