- Create encodings.dir containing entries for both

%{_datadir}/X11/fonts/encodings and
    %{_datadir}/X11/fonts/encodings/large (#209102).
This commit is contained in:
Adam Jackson 2006-12-08 18:44:33 +00:00
parent 8d9b313662
commit e8d0f9f485

View File

@ -30,7 +30,7 @@
Summary: X.Org X11 fonts Summary: X.Org X11 fonts
Name: xorg-x11-fonts Name: xorg-x11-fonts
Version: 7.1 Version: 7.1
Release: 2 Release: 3%{?dist}
License: Various licenses License: Various licenses
Group: User Interface/X Group: User Interface/X
URL: http://www.x.org URL: http://www.x.org
@ -539,11 +539,9 @@ done
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173875 # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173875
# https://bugs.freedesktop.org/show_bug.cgi?id=6028 # https://bugs.freedesktop.org/show_bug.cgi?id=6028
{ {
for each in "${ENCODINGSDIR}" "${ENCODINGSDIR}/large" ; do pushd "${ENCODINGSDIR}" &> /dev/null
pushd $each &> /dev/null mkfontscale -n -e "${ENCODINGSDIR}" -e "${ENCODINGSDIR}/large"
mkfontscale -n -e "${each}" popd &> /dev/null
popd &> /dev/null
done
} }
mkfontdir $FONTDIR mkfontdir $FONTDIR
@ -1534,6 +1532,11 @@ rm -rf $RPM_BUILD_ROOT
%ghost %verify(not md5 size mtime) %{_x11fontdir}/cyrillic/fonts.cache-* %ghost %verify(not md5 size mtime) %{_x11fontdir}/cyrillic/fonts.cache-*
%changelog %changelog
* Fri Dec 8 2006 Adam Jackson <ajax@redhat.com> 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 <krh@redhat.com> 7.1-2 * Thu Aug 31 2006 Kristian Høgsberg <krh@redhat.com> 7.1-2
- Fix postun scripts to only run if the directory is still there (#197208). - Fix postun scripts to only run if the directory is still there (#197208).