fontpackages template warnings
Sarantis Paskalis
paskalis at di.uoa.gr
Tue Dec 30 14:29:10 UTC 2008
Hello,
I am converting my font packages to the new guidelines and hit some
rpmlint warnings that appear to be template related. Specifically, I
followed the /etc/rpmdevtools/spectemplate-fonts-multi.spec from
fontpackages-devel that creates absolute symlinks between
/etc/fonts/conf.d/$font.conf and
/usr/share/fontconfig/conf.avail/$font.conf
rpmlint moans about the absolute symlink and wants a relative one. I
don't really have an opinion about that and could not find any fedora
policy on this one [1].
The other thing is a minor patch that distinguishes variable from macro
in the same template (attached)
Thanks,
Sarantis
[1] symlink rpmlint ticket
http://rpmlint.zarb.org/cgi-bin/trac.cgi/ticket/25
-------------- next part --------------
--- spectemplate-fonts-multi.spec.orig 2008-12-30 15:51:15.000000000 +0200
+++ spectemplate-fonts-multi.spec 2008-12-30 15:51:44.000000000 +0200
@@ -85,11 +85,11 @@
install -m 0644 -p %{SOURCEX} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-<FAMILYX>.conf
-for fontconf in %{fontconf}-<FAMILYX>.conf \
- %{fontconf}-<FAMILYY>.conf \
- %{fontconf}-<FAMILYZ>.conf ; do
- ln -s %{_fontconfig_templatedir}/$fontconf \
- %{buildroot}%{_fontconfig_confdir}/$fontconf
+for fconf in %{fontconf}-<FAMILYX>.conf \
+ %{fontconf}-<FAMILYY>.conf \
+ %{fontconf}-<FAMILYZ>.conf ; do
+ ln -s %{_fontconfig_templatedir}/$fconf \
+ %{buildroot}%{_fontconfig_confdir}/$fconf
done
More information about the Fedora-fonts-list
mailing list