fix building with new java

epel9
Miroslav Lichvar 3 years ago
parent 0f215208d2
commit 82e7a188d8

@ -148,7 +148,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la \
%if %{with libidn_enables_java} %if %{with libidn_enables_java}
# regenerate java documentation # regenerate java documentation
rm -rf doc/java/* rm -rf doc/java/*
%javadoc -source 1.6 -d doc/java $(find java/src/main/java -name "*.java") %javadoc -d doc/java $(find java/src/main/java -name "*.java")
# generate maven depmap # generate maven depmap
rm -rf $RPM_BUILD_ROOT%{_javadir}/libidn*.jar rm -rf $RPM_BUILD_ROOT%{_javadir}/libidn*.jar
%mvn_artifact java/pom.xml java/libidn-%{version}.jar %mvn_artifact java/pom.xml java/libidn-%{version}.jar

Loading…
Cancel
Save