From ea8c70f3260c0350fd918eafb2f3c433551706a9 Mon Sep 17 00:00:00 2001 From: gil Date: Feb 14 2015 16:26:26 +0000 Subject: add hamcrest BR --- diff --git a/apache-poi.spec b/apache-poi.spec index 520a93f..63b89ce 100644 --- a/apache-poi.spec +++ b/apache-poi.spec @@ -34,6 +34,7 @@ BuildRequires: fontconfig liberation-sans-fonts liberation-serif-fonts BuildRequires: jacoco BuildRequires: log4j12 BuildRequires: xmlbeans +BuildRequires: hamcrest Requires: jpackage-utils Requires: java >= 1:1.6.0 @@ -93,7 +94,7 @@ The manual for %{name}. find -name '*.class' -delete find -name '*.jar' -delete mkdir lib ooxml-lib -build-jar-repository -s -p lib ant commons-codec commons-logging jacoco junit +build-jar-repository -s -p lib ant commons-codec commons-logging jacoco junit hamcrest/core ln -sf $(build-classpath log4j-1.2.17) lib/log4j.jar build-jar-repository -s -p ooxml-lib dom4j xmlbeans/xbean #Unpack the XMLSchema @@ -109,6 +110,7 @@ main.commons-codec.jar=lib/commons-codec.jar main.commons-logging.jar=lib/commons-logging.jar main.log4j.jar=lib/log4j.jar main.junit.jar=lib/junit.jar +main.hamcrest.jar=lib/hamcrest_core.jar ooxml.dom4j.jar=ooxml-lib/dom4j.jar ooxml.xmlbeans23.jar=ooxml-lib/xmlbeans_xbean.jar ooxml.xmlbeans26.jar=ooxml-lib/xmlbeans_xbean.jar