diff --git a/apache-poi.spec b/apache-poi.spec index 63b89ce..5f00d89 100644 --- a/apache-poi.spec +++ b/apache-poi.spec @@ -32,7 +32,7 @@ BuildRequires: junit #Fonts for testing BuildRequires: fontconfig liberation-sans-fonts liberation-serif-fonts BuildRequires: jacoco -BuildRequires: log4j12 +BuildRequires: log4j BuildRequires: xmlbeans BuildRequires: hamcrest @@ -40,7 +40,7 @@ Requires: jpackage-utils Requires: java >= 1:1.6.0 Requires: dom4j Requires: apache-commons-logging -Requires: log4j12 +Requires: log4j Requires: xmlbeans %description @@ -94,8 +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 hamcrest/core -ln -sf $(build-classpath log4j-1.2.17) lib/log4j.jar +build-jar-repository -s -p lib ant commons-codec commons-logging jacoco junit hamcrest/core log4j build-jar-repository -s -p ooxml-lib dom4j xmlbeans/xbean #Unpack the XMLSchema pushd ooxml-lib