diff --git a/ldap-gjdoc.patch b/ldap-gjdoc.patch new file mode 100644 index 0000000..9a44ac7 --- /dev/null +++ b/ldap-gjdoc.patch @@ -0,0 +1,11 @@ +--- mozilla/directory/java-sdk/ldap.mk 2005-11-04 23:44:56.000000000 -0500 ++++ mozilla/directory/java-sdk/ldap.mk.new 2005-11-04 23:45:29.000000000 -0500 +@@ -158,7 +158,7 @@ + endif + + ifndef JAVADOC +- JAVADOC=$(JDKBIN)javadoc -classpath "$(JAVACLASSPATH)$(SEP)$(BASEDIR)/ldapbeans" ++ JAVADOC=$(JDKBIN)javadoc -classpath "$(JAVACLASSPATH)$(SEP)$(BASEDIR)/ldapbeans" -sourcepath ldapjdk:ldapbeans:ldapfilter + endif + + # Destination for class files and packages diff --git a/ldapjdk.spec b/ldapjdk.spec index f1de186..d5207bb 100644 --- a/ldapjdk.spec +++ b/ldapjdk.spec @@ -3,7 +3,7 @@ %define version 4.17 %define tar_name ldapsdk_java %define tar_version 20020819 -%define release 1jpp_2fc +%define release 1jpp_3fc %define section free %define use_nonfree %{?_with_nonfree:1}%{!?_without_nonfree:0} @@ -23,6 +23,8 @@ Source0: %{tar_name}_%{tar_version}_clean.tar.gz # FIXME: A jpackage must be created for the # Mozilla Network Security Services for Java (JSS) Source2: jss34.jar +Patch0: ldap-gjdoc.patch +Patch1: ldapsp-gjdoc.patch Requires: oro Requires: jndi @@ -60,6 +62,8 @@ Javadoc for %{name} %prep %setup -q -c +%patch0 -p0 +%patch1 -p0 # delete stuff that doesn't work with libgcj (#132524). if java -version 2>&1 | grep -q "gcj"; then @@ -134,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT %{_javadocdir}/%{name}-%{version}/* %changelog +* Sat Nov 5 2005 Archit Shah 0:4.17-1jpp_3fc +- Call javadoc with sourcepath to work aroung gjdoc bug (#170611) + * Thu Jan 27 2005 Gary Benson 0:4.17-1jpp_2fc - Remove non-distributable files from the source tarball. diff --git a/ldapsp-gjdoc.patch b/ldapsp-gjdoc.patch new file mode 100644 index 0000000..3e51a73 --- /dev/null +++ b/ldapsp-gjdoc.patch @@ -0,0 +1,11 @@ +--- mozilla/directory/java-sdk/ldapsp.mk 2005-11-04 23:45:01.000000000 -0500 ++++ mozilla/directory/java-sdk/ldapsp.mk.new 2005-11-04 23:45:35.000000000 -0500 +@@ -92,7 +92,7 @@ + endif + + ifndef JAVADOC +- JAVADOC=$(JDKBIN)javadoc -classpath "$(JAVACLASSPATH)" ++ JAVADOC=$(JDKBIN)javadoc -classpath "$(JAVACLASSPATH)" -sourcepath ldapsp + endif + + all: classes