diff --git a/jss-javadocs-param.patch b/jss-javadocs-param.patch new file mode 100644 index 0000000..5cf92e3 --- /dev/null +++ b/jss-javadocs-param.patch @@ -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; diff --git a/jss.spec b/jss.spec index 75084e6..1ea5fb6 100644 --- a/jss.spec +++ b/jss.spec @@ -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 4.2.6-2 +- Include patch to fix missing @param so javadocs will build + * Fri Jun 5 2009 Rob Crittenden 4.2.6-1 - Update to 4.2.6 - Include patch to add jss interface to PK11_GenerateKeyPairWithOpFlags()