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