diff --git a/jsr-305.spec b/jsr-305.spec index 5305109..2443edd 100644 --- a/jsr-305.spec +++ b/jsr-305.spec @@ -45,6 +45,9 @@ This package contains the API documentation for %{name}. %setup -q -n %{name} sed -i 's/\r//' sampleUses/pom.xml +# do not build sampleUses module - it causes Javadoc generation to fail +sed -i '/sampleUses<\/module>/d' pom.xml + %build mvn-rpmbuild install javadoc:aggregate @@ -83,6 +86,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || : %{_javadocdir}/%{name} %changelog +* Sat Jan 14 2012 Richard Fearn - 0-0.9.20090319svn +- Do not build sampleUses module as it causes Javadoc generation to fail + * Fri Jan 13 2012 Fedora Release Engineering - 0-0.8.20090319svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild