forked from pool/reload4j
This commit is contained in:
parent
75be46911e
commit
f684ffd653
@ -49,6 +49,7 @@ BuildArch: noarch
|
|||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ant-junit
|
BuildRequires: ant-junit
|
||||||
BuildRequires: geronimo-jaf-1_0_2-api
|
BuildRequires: geronimo-jaf-1_0_2-api
|
||||||
|
BuildRequires: h2database
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -69,13 +70,11 @@ This package contains the API documentation for %{name}.
|
|||||||
%setup -q
|
%setup -q
|
||||||
cp %{SOURCE1} build.xml
|
cp %{SOURCE1} build.xml
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
# Tests removed class
|
|
||||||
rm -f src/test/java/org/apache/log4j/jdbc/JdbcAppenderTest.java
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
build-jar-repository -s lib javamail geronimo-jms-1.1-api
|
build-jar-repository -s lib javamail geronimo-jms-1.1-api
|
||||||
%if %{with tests}
|
%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
|
%endif
|
||||||
|
|
||||||
%{ant} \
|
%{ant} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user