Initial smack label of system fontconfig cache is "_".
It can cause smack deny error if there a request to rewrite the cache.
Change-Id: I35f178ac4e07bdbecffcf177441464fc0db3571c
# The HOME setting is to avoid problems if HOME hasn't been reset
if [ -x %{TZ_SYS_BIN}/fc-cache ] && %{TZ_SYS_BIN}/fc-cache --version 2>&1 | grep -q %{version} ; then
fc-cache -rf --system-only
+chsmack -t %{TZ_SYS_VAR}/cache/fontconfig
+chsmack -a User::App::Shared %{TZ_SYS_VAR}/cache/fontconfig
+chsmack -a User::App::Shared %{TZ_SYS_VAR}/cache/fontconfig/*
fi
%postun -p /sbin/ldconfig