From 14d5dbf469b104733342d7e53ebde526c0a0b3b3 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Apr 18 2012 04:08:39 +0000 Subject: require a known-working set of fonts for unit tests Using plain BuildRequires: font(:lang=en) we are just hoping that yum's resolver will select a font that libo can actually use. And unfortunatly just about everything provides font(:lang=en). E.g, zvbi-fonts is _not_ usable. --- diff --git a/libreoffice.spec b/libreoffice.spec index b084b1e..d809629 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -86,7 +86,7 @@ BuildRequires: jakarta-commons-codec, jakarta-commons-httpclient, cppunit-devel BuildRequires: jakarta-commons-lang, poppler-devel, fontpackages-devel BuildRequires: pentaho-reporting-flow-engine, vigra-devel, librsvg2-devel BuildRequires: GConf2-devel, ORBit2-devel, postgresql-devel -BuildRequires: font(:lang=en) +BuildRequires: liberation-sans-fonts >= 1.0, liberation-serif-fonts >= 1.0, liberation-mono-fonts >= 1.0 %if %{defined rhel} && 0%{?rhel} < 7 BuildRequires: hsqldb, db4-devel %else