From e5488f1b6eb6ba471e31440e8a041bbc65a1bf71 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Feb 17 2017 09:53:01 +0000 Subject: Temporarly disable javadoc generation --- diff --git a/apache-commons-configuration.spec b/apache-commons-configuration.spec index 9ad8637..146ed18 100644 --- a/apache-commons-configuration.spec +++ b/apache-commons-configuration.spec @@ -3,7 +3,7 @@ Name: apache-%{short_name} Version: 1.10 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Commons Configuration Package License: ASL 2.0 @@ -42,11 +42,13 @@ Custom configuration objects are very easy to create now by just subclassing AbstractConfiguration. This works similar to how AbstractList works. +%if 0 %package javadoc Summary: API documentation for %{name} %description javadoc %{summary}. +%endif %prep @@ -59,7 +61,9 @@ sed -i 's/\r//' LICENSE.txt NOTICE.txt %mvn_file : %{short_name} %{name} %mvn_alias : org.apache.commons:%{short_name} # We skip tests because we don't have test deps (dbunit in particular). -%mvn_build -f +# FIXME Javadocs are temporarly disabled due to JDK bug, see +# https://bugzilla.redhat.com/show_bug.cgi?id=1423421 +%mvn_build -f -j %install %mvn_install @@ -67,11 +71,16 @@ sed -i 's/\r//' LICENSE.txt NOTICE.txt %files -f .mfiles %doc LICENSE.txt NOTICE.txt +%if 0 %files javadoc -f .mfiles-javadoc %doc LICENSE.txt NOTICE.txt +%endif %changelog +* Fri Feb 17 2017 Mikolaj Izdebski - 1.10-9 +- Temporarly disable javadoc generation + * Fri Feb 10 2017 Michael Simacek - 1.10-8 - Use log4j12