Update caribou obsoletes

Make sure to obsolete all of caribou subpackages, and add guards so that
they only take effect on RHEL. In Fedora, we have
fedora-obsolete-packages already obsoleting caribou.
This commit is contained in:
Kalev Lember 2018-09-10 14:25:45 +02:00
parent 1806c73499
commit 652e51ae6b

View File

@ -114,7 +114,16 @@ Requires: libgweather%{?_isa}
# needed for thunderbolt support # needed for thunderbolt support
Requires: bolt%{?_isa} Requires: bolt%{?_isa}
Obsoletes: caribou %if 0%{?rhel}
# In Fedora, fedora-obsolete-packages obsoletes caribou
Obsoletes: caribou < 0.4.21-10
Obsoletes: caribou-antler < 0.4.21-10
Obsoletes: caribou-devel < 0.4.21-10
Obsoletes: caribou-gtk2-module < 0.4.21-10
Obsoletes: caribou-gtk3-module < 0.4.21-10
Obsoletes: python2-caribou < 0.4.21-10
Obsoletes: python3-caribou < 0.4.21-10
%endif
%description %description
GNOME Shell provides core user interface functions for the GNOME 3 desktop, GNOME Shell provides core user interface functions for the GNOME 3 desktop,