SHA256
1
0
forked from pool/reload4j
Fridrich Strba 2022-02-22 15:04:22 +00:00 committed by Git OBS Bridge
parent 75be46911e
commit f684ffd653
2 changed files with 21 additions and 22 deletions

View File

@ -49,6 +49,7 @@ BuildArch: noarch
%if %{with tests}
BuildRequires: ant-junit
BuildRequires: geronimo-jaf-1_0_2-api
BuildRequires: h2database
%endif
%description
@ -69,13 +70,11 @@ 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} \