diff --git a/reload4j-build.xml b/reload4j-build.xml index 0dae8a1..d3731d4 100644 --- a/reload4j-build.xml +++ b/reload4j-build.xml @@ -131,14 +131,14 @@ - + - + @@ -215,22 +215,22 @@ basedir="${build.outputDir}" excludes="**/package.html"> - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/reload4j.spec b/reload4j.spec index f90a978..f7e57e8 100644 --- a/reload4j.spec +++ b/reload4j.spec @@ -49,6 +49,7 @@ BuildArch: noarch %if %{with tests} BuildRequires: ant-junit BuildRequires: geronimo-jaf-1_0_2-api +BuildRequires: h2database %endif %description @@ -69,18 +70,16 @@ This package contains the API documentation for %{name}. %setup -q cp %{SOURCE1} build.xml mkdir -p lib -# Tests removed class -rm -f src/test/java/org/apache/log4j/jdbc/JdbcAppenderTest.java %build build-jar-repository -s lib javamail geronimo-jms-1.1-api %if %{with tests} -build-jar-repository -s lib geronimo-jaf-1.0.2-api +build-jar-repository -s lib geronimo-jaf-1.0.2-api h2database %endif %{ant} \ %if %{without tests} - -Dtest.skip=true \ + -Dtest.skip=true \ %endif package javadoc