From 7110c8dfdcd605b090ac871034a33d332956af64 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 28 Oct 2019 14:22:49 +0100 Subject: [PATCH] Set compiler source/target levels to 1.6 --- jdom2.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jdom2.spec b/jdom2.spec index b29a90e..1bae457 100644 --- a/jdom2.spec +++ b/jdom2.spec @@ -61,11 +61,10 @@ sed -i 's/\r//' LICENSE.txt README.txt # Unable to run coverage: use log4j12 but switch to log4j 2.x 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 - -%build -ant -Dversion=%{version} -Dj2se.apidoc=%{_javadocdir}/java maven +ant -Dversion=%{version} -Dcompile.source=1.6 -Dcompile.target=1.6 -Dj2se.apidoc=%{_javadocdir}/java maven # Make jar into an OSGi bundle # XXX disabled until BND is fixed