From d4342f531d28f874ddf95e02e9cd6ccd08ef43b2c85d9e502fe58c116120728b Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 1 Mar 2017 08:44:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-1_8_0-openjdk?expand=0&rev=213 --- java-1_8_0-openjdk.changes | 8 ++++++++ java-1_8_0-openjdk.spec | 20 +++++++++++++------- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/java-1_8_0-openjdk.changes b/java-1_8_0-openjdk.changes index 9992c86..a040ec5 100644 --- a/java-1_8_0-openjdk.changes +++ b/java-1_8_0-openjdk.changes @@ -1,7 +1,15 @@ +------------------------------------------------------------------- +Wed Mar 1 08:41:19 UTC 2017 - fstrba@suse.com + +- Fix build of Sun Elliptical Curves Crypto provider on Tumbleweed. + Fixes bsc#1026102. +- Clean the mozilla-nss requires and move them into the headless + ------------------------------------------------------------------- Tue Feb 21 07:18:27 UTC 2017 - asn@cryptomilk.org - Add a test to check that ECC is working + * new file TestECDSA.java ------------------------------------------------------------------- Wed Feb 1 12:54:10 UTC 2017 - fstrba@suse.com diff --git a/java-1_8_0-openjdk.spec b/java-1_8_0-openjdk.spec index 41b4efd..0b90dbd 100644 --- a/java-1_8_0-openjdk.spec +++ b/java-1_8_0-openjdk.spec @@ -232,12 +232,6 @@ BuildRequires: zip # Requires rest of java Requires: %{name}-headless = %{version}-%{release} Requires: fontconfig -# mozilla-nss has to be installed to prevent -# java.security.ProviderException: Could not initialize NSS -# ... -# java.io.FileNotFoundException: /usr/lib64/libnss3.so -#was bnc#634793 -Requires: mozilla-nss # Standard JPackage base provides. Provides: java = %{javaver} Provides: java-%{javaver} = %{version}-%{release} @@ -319,7 +313,6 @@ Summary: OpenJDK 8 Runtime Environment # Require jpackage-utils for ownership of /usr/lib/jvm/ Group: Development/Languages/Java Requires: jpackage-utils -%requires_eq mozilla-nss # Post requires update-alternatives to install tool update-alternatives. Requires(post): update-alternatives # Postun requires update-alternatives to uninstall tool update-alternatives. @@ -343,6 +336,19 @@ Provides: jndi-dns = %{version} Provides: jndi-ldap = %{version} Provides: jndi-rmi = %{version} Provides: jsse = %{version} +# mozilla-nss has to be installed to prevent +# java.security.ProviderException: Could not initialize NSS +# ... +# java.io.FileNotFoundException: /usr/lib64/libnss3.so +#was bnc#634793 +%if %{with sunec} +# The SunEC built against system NSS uses private APIs that +# change from time to time. Require thus the version we built +# against. +%requires_eq mozilla-nss +%else +Requires: mozilla-nss +%endif %if 0%{?suse_version} > 1320 # Require zoneinfo data in java8+ format provided by tzdata-java8 subpackage. Requires(post): tzdata-java8