Require the Source Code Pro font instead of only recommending it to not break systems updated from 9.0.0.

Resolves: rhbz#2093975
This commit is contained in:
Tomas Popela 2022-12-21 18:38:15 +01:00
parent 80a8281d47
commit 0e6c855e75

View File

@ -4,7 +4,7 @@
Name: gsettings-desktop-schemas
Version: 40.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A collection of GSettings schemas
License: LGPLv2+
@ -21,7 +21,15 @@ Requires: glib2 >= 2.31.0
# Recommend the default fonts set in the schemas
Recommends: font(cantarell)
Recommends: font(sourcecodepro)
# For 9.2 we've decided that we will change the default monospace font to align
# with Fedora and upstream GNOME. After doing the change we've discovered that
# the font is not installed together with the g-d-s update when updating from
# RHEL 9.0.0, This is because Source Code Pro was in BUILDROOT for 9.0.0 and
# was moved to AppStream in 9.1.0. The "Recommends" specified below is not
# applied on upgrade and we have to change it for "Requires" to install the font
# correctly.
#Recommends: font(sourcecodepro)
Requires: font(sourcecodepro)
%description
gsettings-desktop-schemas contains a collection of GSettings schemas for
@ -73,6 +81,11 @@ glib-compile-schemas --dry-run --strict %{buildroot}%{_datadir}/glib-2.0/schemas
%changelog
* Wed Dec 21 2022 Tomas Popela <tpopela@redhat.com> - 40.0-6
- Require the Source Code Pro font instead of only recommending it to not break
systems updated from 9.0.0.
Resolves: rhbz#2093975
* Tue Nov 22 2022 Carlos Garnacho <cgarnach@redhat.com> - 40.0-5
- Restore default monospace font to Source Code Pro
Resolves: rhbz#2093975