commit 027b96b574b937a52f7247d06fdd45aa238e4902 Author: Akira TAGOH <ta...@redhat.com> Date: Mon Sep 2 18:36:46 2013 +0900
Set XDG_CONFIG_HOME explicitly at %post to avoid creating directories at non-root HOME with root. (#1003495) fontconfig.spec | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) --- diff --git a/fontconfig.spec b/fontconfig.spec index 131a6ba..0cb237a 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -3,7 +3,7 @@ Summary: Font configuration and customization library Name: fontconfig Version: 2.10.95 -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 @@ -95,7 +95,7 @@ mkdir -p %{_localstatedir}/cache/fontconfig # copy of fontconfig might install the binary instead of the first) # The HOME setting is to avoid problems if HOME hasn't been reset if [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache --version 2>&1 | grep -q %{version} ; then - HOME=/root /usr/bin/fc-cache -f + HOME=/root XDG_CONFIG_HOME=/root/.config /usr/bin/fc-cache -f fi %postun -p /sbin/ldconfig @@ -133,6 +133,10 @@ fi %doc fontconfig-devel.txt fontconfig-devel %changelog +* Mon Sep 2 2013 Akira TAGOH <ta...@redhat.com> - 2.10.95-2 +- Set XDG_CONFIG_HOME explicitly at %%post to avoid creating directories + at non-root HOME with root. (#1003495) + * Sat Aug 31 2013 Akira TAGOH <ta...@redhat.com> - 2.10.95-1 - Fix a crash issue (#1003069) _______________________________________________ fonts-bugs mailing list fonts-bugs@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs http://fonts.fedoraproject.org/