Oki doki, the machinery is already there.
RPM should use fc-query, and set envvar FONTCONFIG_FILE to the absolute path of a file containing the following:
<fontconfig> <cachedir>path/to/build/dir/var/cache/fontconfig</cachedir> <dir>path/to/build/dir/etc/fonts/conf.d</dir> </fontconfig>
The cachedir is unused, but needs to be available. Alternatively you can point it to /tmp.
Let me know if it works.
Oki doki, the machinery is already there.
RPM should use fc-query, and set envvar FONTCONFIG_FILE to the absolute path of a file containing the following:
<fontconfig> path/to/ build/dir/ var/cache/ fontconfig< /cachedir> to/build/ dir/etc/ fonts/conf. d</dir>
<cachedir>
<dir>path/
</fontconfig>
The cachedir is unused, but needs to be available. Alternatively you can point it to /tmp.
Let me know if it works.