[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

fontpackages template warnings



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

--- 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
 
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]