diff --git a/plymouth.spec b/plymouth.spec index d64d043..7dd7d28 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -221,7 +221,11 @@ spins in the shape of an infinity sign. %package theme-spinner Summary: Plymouth "Spinner" theme Requires: %{name}-plugin-two-step = %{version}-%{release} +%if 0%{?rhel} > 9 +Requires: font(redhattextvf) font(redhatmonovf) +%else Requires: font(cantarell) font(cantarelllight) +%endif Requires(post): plymouth-scripts Provides: plymouth(system-theme) = %{version}-%{release} @@ -259,6 +263,10 @@ cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge cp $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow/{box,bullet,entry,lock}.png $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge %endif +%if 0%{?rhel} > 9 +find -type f -exec sed -i -e 's/Cantarell/Red Hat Text/g' {} \; +%endif + # Drop glow, it's not very Fedora-y rm -rf $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow