diff --git a/lucene-nojavadoclink.patch b/lucene-nojavadoclink.patch new file mode 100644 index 0000000..2ffe716 --- /dev/null +++ b/lucene-nojavadoclink.patch @@ -0,0 +1,19 @@ +--- build.xml.orig 2005-06-27 14:00:22.000000000 -0400 ++++ build.xml 2005-06-27 14:00:39.000000000 -0400 +@@ -22,7 +22,7 @@ + + + +- ++ + + + +@@ -347,7 +347,6 @@ + author="true" + version="true" + use="true" +- link="${javadoc.link}" + windowtitle="${Name} ${version} API" + doctitle="${Name} ${version} API" + bottom="Copyright © ${year} Apache Software Foundation. All Rights Reserved." diff --git a/lucene.spec b/lucene.spec index c5c210f..5672692 100644 --- a/lucene.spec +++ b/lucene.spec @@ -14,6 +14,7 @@ URL: http://jakarta.apache.org/lucene/ Group: Internet/WWW/Indexing/Search Source0: http://cvs.apache.org/dist/jakarta/lucene/lucene-1.4.3-src.tar.gz Patch0: %{name}-bz133180.patch +Patch1: %{name}-nojavadoclink.patch %if %{gcj_support} %else BuildArch: noarch @@ -58,6 +59,7 @@ Lucene demonstrations and samples. # remove all binary libs find . -name "*.jar" -exec rm -f {} \; %patch0 -p0 +%patch1 -p0 # ----------------------------------------------------------------------------- @@ -175,6 +177,7 @@ rm -rf $RPM_BUILD_ROOT - Natively-compile. - Add architectures to gcj_support block and build noarch otherwise. - Remove Vendor and Distribution tags. +- Add patch to not link to external javadocs. * Mon Jan 10 2005 Kaj J. Niemi 0:1.4.3 - 1.4.3