From 4e0fc51d89bbd347898c9b1ab8cf38b74d888002ae2adf6f9d3789ec80644163 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 18 Jan 2022 08:03:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jdom2?expand=0&rev=13 --- jdom2.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jdom2.spec b/jdom2.spec index a0901c3..1688022 100644 --- a/jdom2.spec +++ b/jdom2.spec @@ -35,6 +35,7 @@ BuildRequires: ant BuildRequires: ant-junit BuildRequires: fdupes BuildRequires: isorelax +BuildRequires: java-devel >= 1.7 BuildRequires: javapackages-local BuildRequires: jaxen BuildRequires: xalan-j2 @@ -77,7 +78,7 @@ sed -i.coverage "s|coverage, jars|jars|" build.xml %build mkdir lib build-jar-repository lib xerces-j2 xml-commons-apis jaxen junit isorelax xalan-j2 xalan-j2-serializer -%ant -Dversion=%{version} -Dcompile.target=6 -Dcompile.source=6 -Dj2se.apidoc=%{_javadocdir}/java maven +%{ant} -Dversion=%{version} -Dcompile.target=7 -Dcompile.source=7 -Dj2se.apidoc=%{_javadocdir}/java maven %install # jar