From e8d0f9f485d1929a8a5d23a494f7ca1079918275 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 8 Dec 2006 18:44:33 +0000 Subject: [PATCH] - Create encodings.dir containing entries for both %{_datadir}/X11/fonts/encodings and %{_datadir}/X11/fonts/encodings/large (#209102). --- xorg-x11-fonts.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/xorg-x11-fonts.spec b/xorg-x11-fonts.spec index 992674e..8f10255 100644 --- a/xorg-x11-fonts.spec +++ b/xorg-x11-fonts.spec @@ -30,7 +30,7 @@ Summary: X.Org X11 fonts Name: xorg-x11-fonts Version: 7.1 -Release: 2 +Release: 3%{?dist} License: Various licenses Group: User Interface/X URL: http://www.x.org @@ -539,11 +539,9 @@ done # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173875 # https://bugs.freedesktop.org/show_bug.cgi?id=6028 { - for each in "${ENCODINGSDIR}" "${ENCODINGSDIR}/large" ; do - pushd $each &> /dev/null - mkfontscale -n -e "${each}" - popd &> /dev/null - done + pushd "${ENCODINGSDIR}" &> /dev/null + mkfontscale -n -e "${ENCODINGSDIR}" -e "${ENCODINGSDIR}/large" + popd &> /dev/null } mkfontdir $FONTDIR @@ -1534,6 +1532,11 @@ rm -rf $RPM_BUILD_ROOT %ghost %verify(not md5 size mtime) %{_x11fontdir}/cyrillic/fonts.cache-* %changelog +* Fri Dec 8 2006 Adam Jackson 7.1-3 +- Create encodings.dir containing entries for both + %{_datadir}/X11/fonts/encodings and + %{_datadir}/X11/fonts/encodings/large (#209102). + * Thu Aug 31 2006 Kristian Høgsberg 7.1-2 - Fix postun scripts to only run if the directory is still there (#197208).