From 7491fdba48bccd4a853d8eaa661da5cdb55561e6 Mon Sep 17 00:00:00 2001 From: Severin Gehwolf Date: Mon, 6 May 2019 11:06:25 +0200 Subject: [PATCH] Use XMvn javadoc so as to fix FTBFS --- byteman.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/byteman.spec b/byteman.spec index cef7105..969f43e 100644 --- a/byteman.spec +++ b/byteman.spec @@ -15,7 +15,7 @@ Name: byteman Version: 4.0.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Java agent-based bytecode injection tool License: LGPLv2+ URL: http://www.jboss.org/byteman @@ -139,7 +139,11 @@ sed -i "s|java-cup|java_cup|" tests/pom.xml %build export JAVA_HOME=/usr/lib/jvm/java-11-openjdk -%mvn_build +# Use --xmvn-javadoc so as to avoid maven-javadoc-plugin issue +# (fixed in 3.1.0, fedora has 3.0.1): +# See https://issues.apache.org/jira/browse/MJAVADOC-555 +# https://bugs.openjdk.java.net/browse/JDK-8212233 +%mvn_build --xmvn-javadoc %install %mvn_install @@ -206,6 +210,10 @@ ln -s %{_javadir}/byteman/byteman.jar $RPM_BUILD_ROOT%{homedir}/lib/byteman.jar %{homedir}/lib/byteman-dtest.jar %changelog +* Mon May 06 2019 Severin Gehwolf - 4.0.5-3 +- Use XMvn javadoc so as to work-around maven-javadoc-plugin issue. +- Fixes FTBFS. + * Thu Jan 31 2019 Fedora Release Engineering - 4.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild