remove OTF fonts

This commit is contained in:
zhanglu 2020-02-06 22:40:52 +08:00
parent e65b120daf
commit 07a1369c7f

View File

@ -4,7 +4,7 @@
Summary: X.Org X11 fonts
Name: xorg-x11-fonts
Version: 7.5
Release: 23
Release: 24
License: MIT and Lucida and Public Domain
URL: http://www.x.org
@ -196,7 +196,6 @@ done
%post others
{
xorg-x11-fonts-update-dirs %{_x11fontdir}/OTF
xorg-x11-fonts-update-dirs %{_x11fontdir}/Type1
mkfontdir %{_x11fontdir}/75dpi
mkfontdir %{_x11fontdir}/100dpi
@ -205,10 +204,6 @@ done
%postun others
{
FONTDIR=%{_x11fontdir}/OTF
if [ "$1" = "0" -a -d $FONTDIR ]; then
xorg-x11-fonts-update-dirs $FONTDIR
fi
FONTDIR=%{_x11fontdir}/Type1
if [ "$1" = "0" -a -d $FONTDIR ]; then
xorg-x11-fonts-update-dirs $FONTDIR
@ -355,7 +350,7 @@ done
%files others
%exclude %{_catalogue}/xorg-x11-fonts-TTF
%{_catalogue}/xorg-x11-fonts-OTF
%exclude %{_catalogue}/xorg-x11-fonts-OTF
%exclude %dir %{_x11fontdir}/TTF
%exclude %{_x11fontdir}/TTF/GohaTibebZemen.ttf
%exclude %{_x11fontdir}/TTF/encodings.dir
@ -363,13 +358,13 @@ done
%exclude %{_x11fontdir}/TTF/fonts.alias
%exclude %{_x11fontdir}/TTF/fonts.scale
%exclude %{_x11fontdir}/TTF/fonts.cache-*
%dir %{_x11fontdir}/OTF
%{_x11fontdir}/OTF/GohaTibebZemen.otf
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/encodings.dir
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/fonts.dir
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/fonts.alias
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/fonts.scale
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/fonts.cache-*
%exclude %dir %{_x11fontdir}/OTF
%exclude %{_x11fontdir}/OTF/GohaTibebZemen.otf
%exclude %{_x11fontdir}/OTF/encodings.dir
%exclude %{_x11fontdir}/OTF/fonts.dir
%exclude %{_x11fontdir}/OTF/fonts.alias
%exclude %{_x11fontdir}/OTF/fonts.scale
%exclude %{_x11fontdir}/OTF/fonts.cache-*
%{_catalogue}/xorg-x11-fonts-cyrillic
%dir %{_x11fontdir}/cyrillic
@ -535,6 +530,12 @@ done
%{_x11fontdir}/75dpi/lut[BR]S??-ISO8859-15.pcf*
%changelog
* Thu Feb 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 7.5-24
- Type:enhancement
- Id:NA
- SUG:NA
- DESC: remove ethiopic OTF fonts
* Thu Jan 16 2020 Shuaishuai Song <songshuaishuai2@openeuler.org> - 7.5-23
- Type:enhancement
- Id:NA