diff --git a/fontconfig.spec b/fontconfig.spec index 0b4d13a..9085e22 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -5,7 +5,7 @@ Summary: Font configuration and customization library Name: fontconfig Version: 2.13.91 -Release: 1%{?dist} +Release: 2%{?dist} # src/ftglue.[ch] is in Public Domain # src/fccache.c contains Public Domain code # fc-case/CaseFolding.txt is in the UCD @@ -28,9 +28,8 @@ BuildRequires: autoconf automake libtool gettext BuildRequires: gperf Requires: fontpackages-filesystem freetype -Requires(pre): freetype >= 2.9.1-6 +PreReq: freetype >= 2.9.1-6 Requires(post): grep coreutils -Requires(postun): /sbin/ldconfig Requires: font(:lang=en) Suggests: font(dejavusans) @@ -104,8 +103,6 @@ cat %{name}-conf.lang >> %{name}.lang make check %post -%{?ldconfig} - umask 0022 mkdir -p /usr/lib/fontconfig/cache @@ -120,8 +117,6 @@ if [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache --version 2>&1 | grep -q %{vers HOME=/root /usr/bin/fc-cache -f fi -%ldconfig_postun - %transfiletriggerin -- /usr/share/fonts /usr/share/X11/fonts/Type1 /usr/share/X11/fonts/TTF /usr/local/share/fonts HOME=/root /usr/bin/fc-cache -s @@ -165,6 +160,10 @@ HOME=/root /usr/bin/fc-cache -s %doc fontconfig-devel.txt fontconfig-devel %changelog +* Sun Jun 16 2019 Tim Landscheidt - 2.13.91-2 +- Remove calls to ldconfig from scriptlets +- Use "PreReq" instead of "Requires(pre)" for freetype + * Mon Jun 10 2019 Akira TAGOH - 2.13.91-1 - New upstream release.