X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=openjdk8.spec;h=aaf455c063b63b55224c22e8faf2f58f471ef02d;hb=2e7929e14d15c89383bf585efd5496167db67ca5;hp=a932527712acb3c251c7c5696bac4aae62df2c6c;hpb=83279899d5fa4bd25db61409127bb404c15598f1;p=packages%2Fopenjdk8.git diff --git a/openjdk8.spec b/openjdk8.spec index a932527..aaf455c 100644 --- a/openjdk8.spec +++ b/openjdk8.spec @@ -22,8 +22,8 @@ # JDK/JRE version, as returned with `java -version`, '_' replaced with '.' %define _jdkversion 1.8.0.internal -%define ver_u 66 -%define ver_b 02 +%define ver_u 102 +%define ver_b 14 Summary: Open-source implementation of the Java Platform, Standard Edition Summary(pl.UTF-8): Wolnoźródłowa implementacja Java 8 SE Name: openjdk8 @@ -32,21 +32,21 @@ Release: 2 License: GPL v2 Group: Development/Languages/Java Source0: %{name}-jdk8u%{ver_u}-b%{ver_b}.tar.bz2 -# Source0-md5: 1d115662e175470270e89a4da8e0fce2 +# Source0-md5: 04ecdce899eb3d6de9d5aadc438998c0 Source1: %{name}-corba-jdk8u%{ver_u}-b%{ver_b}.tar.bz2 -# Source1-md5: e14d8f51b9ca30d798094a2867f3f5d0 +# Source1-md5: 6ea4a074a80d0ee4b6dcd50398835c49 Source2: %{name}-hotspot-jdk8u%{ver_u}-b%{ver_b}.tar.bz2 -# Source2-md5: b49a7b7f2db5b07306b7b5739e87ccc0 +# Source2-md5: 27b9e7e94fc6a47f452e8a94ba156395 Source3: %{name}-jaxp-jdk8u%{ver_u}-b%{ver_b}.tar.bz2 -# Source3-md5: 6bd5ae187272a209439d1a95ac6c9025 +# Source3-md5: da82a91df3eb4c98ebaab4e71cbbcc4d Source4: %{name}-jaxws-jdk8u%{ver_u}-b%{ver_b}.tar.bz2 -# Source4-md5: 15e6a93009bdc73194e7118988d5ab8d +# Source4-md5: 8a91561bbc04f50a92032d82b78960e0 Source5: %{name}-jdk-jdk8u%{ver_u}-b%{ver_b}.tar.bz2 -# Source5-md5: 74f2cf3815659b83993c4187e7fc4f6b +# Source5-md5: e65f6d029808a8b523e07d818c8ac9ad Source6: %{name}-langtools-jdk8u%{ver_u}-b%{ver_b}.tar.bz2 -# Source6-md5: de5c9b5fdbcd75028b71ed667d4b99d2 +# Source6-md5: 61c645dbacfb925944f716ec50474821 Source7: %{name}-nashorn-jdk8u%{ver_u}-b%{ver_b}.tar.bz2 -# Source7-md5: 7da4e88349cfc45ee9726eaa4386be03 +# Source7-md5: 2c981235c1cbaba58197fd9b7ffd00e1 Source10: make-cacerts.sh Patch0: adjust-mflags.patch Patch1: format_strings.patch @@ -57,7 +57,8 @@ Patch5: system-libpng.patch Patch6: system-lcms.patch Patch7: system-pcsclite.patch Patch8: x32.patch -Patch9: current_stack_pointer.patch +Patch9: protos.patch +Patch10: gcc6.patch URL: http://openjdk.java.net/ BuildRequires: /usr/bin/jar BuildRequires: alsa-lib-devel @@ -425,6 +426,7 @@ done %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 %build # Make sure we have /proc mounted - otherwise idlc will fail later. @@ -456,8 +458,8 @@ chmod a+x configure %ifarch x32 --with-jvm-variants=zero \ %endif - --with-extra-cflags="%{rpmcflags}" \ - --with-extra-cxxflags="%{rpmcxxflags}" \ + --with-extra-cflags="%{rpmcflags} -Wno-error=deprecated-declarations" \ + --with-extra-cxxflags="%{rpmcxxflags} -Wno-error=deprecated-declarations" \ --with-extra-ldflags="%{rpmldflags}" \ --disable-debug-symbols \ --with-giflib=system \ @@ -482,6 +484,9 @@ EOF LIBHPROF_OPTIMIZATION=LOW \ LIBVERIFY_OPTIMIZATION=LOW +# smoke test +tmp-bin/java -version + export PATH="$(pwd)/build-bin:$PATH" %{?with_cacerts:%{__sh} %{SOURCE10}}