Use variable fonts

Resolves: RHEL-35661
This commit is contained in:
Tomas Popela 2024-05-07 10:02:42 +02:00
parent 9d26ead6c9
commit 4c25e51345

View File

@ -21,8 +21,13 @@ BuildRequires: meson
Requires: glib2 >= 2.31.0
# Recommend the default fonts set in the schemas
Recommends: font(redhattext)
Recommends: font(redhatmono)
%if 0%{?rhel} && 0%{?rhel} >= 10
Recommends: font(redhattextvf)
Recommends: font(redhatmonovf)
%else
Recommends: font(cantarell)
Recommends: font(sourcecodepro)
%endif
%description
gsettings-desktop-schemas contains a collection of GSettings schemas for
@ -50,7 +55,7 @@ and header files for developing applications that use %{name}.
%install
%meson_install
%if 0%{?rhel}
%if 0%{?rhel} && 0%{?rhel} >= 10
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
%endif