Use %ifos to set a different font_dir for Solaris.
--- a/ttf-freefont.spec Thu Feb 26 17:00:53 2004 +0000
+++ b/ttf-freefont.spec Thu Feb 26 17:12:19 2004 +0000
@@ -17,9 +17,13 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_defaultdocdir}/doc
Autoreqprov: on
-BuildArch: noarch
+BuildArchitectures: noarch
+%ifos solaris
+%define font_dir %{_prefix}/openwin/lib/X11/fonts/TrueType
+%else
%define font_dir %{_prefix}/X11R6/lib/X11/fonts/truetype
+%endif
%description
A set of free scalable fonts covering the ISO 10646/Unicode UCS.