forked from rpms/plymouth
Move font substitution to %prep where it belongs
This commit is contained in:
parent
93a1f9da3a
commit
f601cfd768
@ -239,6 +239,9 @@ Plymouth. It features a small spinner on a dark background.
|
|||||||
# Change the default theme
|
# Change the default theme
|
||||||
sed -i -e 's/spinner/bgrt/g' src/plymouthd.defaults
|
sed -i -e 's/spinner/bgrt/g' src/plymouthd.defaults
|
||||||
|
|
||||||
|
%if 0%{?rhel} > 9
|
||||||
|
find -type f -exec sed -i -e 's/Cantarell/Red Hat Text/g' {} \;
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson -Dtracing=true \
|
%meson -Dtracing=true \
|
||||||
@ -263,10 +266,6 @@ 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
|
cp $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow/{box,bullet,entry,lock}.png $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
|
||||||
%endif
|
%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
|
# Drop glow, it's not very Fedora-y
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user