Use %ifos to set a different font_dir for Solaris.
authordc144907
Thu, 26 Feb 2004 17:12:19 +0000
changeset 2037 cd60fa036ed6
parent 2036 1313e0584b15
child 2038 a30e70d7cdb5
Use %ifos to set a different font_dir for Solaris.
ttf-freefont.spec
--- 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.