Add patch to fix javadocs build problem

This is only failing in koji on 64-bit platforms which is really strange. I
    can't reproduce the failure here but I think this will fix it.
This commit is contained in:
rcritten 2009-06-05 15:26:08 +00:00
parent 87c37eec63
commit dacbd2de69
2 changed files with 19 additions and 1 deletions

13
jss-javadocs-param.patch Normal file
View File

@ -0,0 +1,13 @@
--- jss-4.2.6/mozilla/security/jss/org/mozilla/jss/tests/JCASymKeyGen.java.orig 2008-01-18 16:39:46.000000000 -0500
+++ jss-4.2.6/mozilla/security/jss/org/mozilla/jss/tests/JCASymKeyGen.java 2009-06-05 11:08:54.000000000 -0400
@@ -116,7 +116,9 @@
}
/**
*
- * @param
+ * @param key
+ * @param kg
+ * @return
*/
public javax.crypto.SecretKey genSecretKey(String keyType, String provider){
javax.crypto.SecretKey key = null;

View File

@ -1,6 +1,6 @@
Name: jss
Version: 4.2.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Java Security Services (JSS)
Group: System Environment/Libraries
@ -22,6 +22,7 @@ BuildRequires: java-devel
Requires: java
Patch1: jss-key_pair_usage_with_op_flags.patch
Patch2: jss-javadocs-param.patch
%description
Java Security Services (JSS) is a java native interface which provides a bridge
@ -39,6 +40,7 @@ This package contains the API documentation for JSS.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
[ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java
@ -134,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jun 5 2009 Rob Crittenden <rcritten@redhat.com> 4.2.6-2
- Include patch to fix missing @param so javadocs will build
* Fri Jun 5 2009 Rob Crittenden <rcritten@redhat.com> 4.2.6-1
- Update to 4.2.6
- Include patch to add jss interface to PK11_GenerateKeyPairWithOpFlags()