Use %ant macro

This commit is contained in:
Mikolaj Izdebski 2021-04-16 18:31:23 +02:00
parent 9e7c20382c
commit d29f52bb8f

View File

@ -60,7 +60,7 @@ sed -i '/import org.jdom2.xpath.XPathFactory/d' core/src/java/org/jdom2/JDOMCons
%build
mkdir lib
ant -Dversion=%{version} -Dcompile.source=1.6 -Dcompile.target=1.6 -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