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