From 4c25e513454866a715681a8703fc8693c9791879 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 7 May 2024 10:02:42 +0200 Subject: [PATCH] Use variable fonts Resolves: RHEL-35661 --- gsettings-desktop-schemas.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gsettings-desktop-schemas.spec b/gsettings-desktop-schemas.spec index 7336dfc..54b736a 100644 --- a/gsettings-desktop-schemas.spec +++ b/gsettings-desktop-schemas.spec @@ -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