Update Liberation font paths to new locations.
This commit is contained in:
parent
229fc6c71d
commit
8daee5b67a
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: R-%{packname}
|
||||
Version: 0.8
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Loading Fonts into R
|
||||
|
||||
License: GPLv2
|
||||
|
@ -56,9 +56,10 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
|||
pushd %{buildroot}%{rlibdir}/%{packname}/fonts
|
||||
rm AUTHORS License.txt
|
||||
for family in Mono Sans Serif; do
|
||||
family_lower="${family,,}"
|
||||
for style in Regular Bold Italic BoldItalic; do
|
||||
rm Liberation${family}-${style}.ttf
|
||||
ln -s /usr/share/fonts/liberation/Liberation${family}-${style}.ttf
|
||||
ln -s /usr/share/fonts/liberation-${family_lower}/Liberation${family}-${style}.ttf
|
||||
done
|
||||
done
|
||||
popd
|
||||
|
@ -86,6 +87,9 @@ popd
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 18 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8-2
|
||||
- Update Liberation font paths to newest locations
|
||||
|
||||
* Sat Feb 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8-1
|
||||
- Update to latest version
|
||||
|
||||
|
|
Loading…
Reference in New Issue