fontpackages template warnings

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



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



[1] symlink rpmlint ticket

--- 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} \
-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
Fedora-fonts-list mailing list

[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux