e90868
# The -g flag says to use strip -g instead of full strip on DSOs or EXEs.
e90868
# This fixes detailed NMT and other tools which need minimal debug info.
e90868
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1520879
e90868
%global _find_debuginfo_opts -g
e90868
d557d5
# If debug is 1, OpenJDK is built with all debug info present.
d557d5
%global debug 0
d557d5
d557d5
# we remove the build id notes explicitly to avoid generating (potentially
d557d5
# conflicting) files in the -debuginfo package
d557d5
%undefine _missing_build_ids_terminate_build
d557d5
ebdebc
%global icedtea_version 2.6.22
dad9bb
%global icedtea_snapshot %{nil}
dad9bb
%global hg_tag icedtea-%{icedtea_version}%{icedtea_snapshot}
d557d5
d557d5
%global aarch64			aarch64 arm64 armv8
0a1101
#sometimes we need to distinguish big and little endian PPC64
0a1101
%global ppc64le			ppc64le
0a1101
%global ppc64be			ppc64 ppc64p7
0a1101
%global multilib_arches %{power64} sparc64 x86_64 
0a1101
%global jit_arches		%{ix86} x86_64 sparcv9 sparc64 %{ppc64be} %{ppc64le} %{aarch64}
d557d5
3c3d8d
# With disabled nss is NSS deactivated, so in NSS_LIBDIR can be wrong path
d557d5
# the initialisation must be here. LAter the pkg-connfig have bugy behaviour
d557d5
#looks liekopenjdk RPM specific bug
7d28d3
# Always set this so the nss.cfg file is not broken
d557d5
%global NSS_LIBDIR %(pkg-config --variable=libdir nss)
e1fe81
%global NSS_LIBS %(pkg-config --libs nss)
e1fe81
%global NSS_CFLAGS %(pkg-config --cflags nss-softokn)
e1fe81
# see https://bugzilla.redhat.com/show_bug.cgi?id=1332456
e1fe81
%global NSSSOFTOKN_BUILDTIME_NUMBER %(pkg-config --modversion nss-softokn || : )
e1fe81
%global NSS_BUILDTIME_NUMBER %(pkg-config --modversion nss || : )
e1fe81
#this is worakround for processing of requires during srpm creation
e1fe81
%global NSSSOFTOKN_BUILDTIME_VERSION %(if [ "x%{NSSSOFTOKN_BUILDTIME_NUMBER}" == "x" ] ; then echo "" ;else echo ">= %{NSSSOFTOKN_BUILDTIME_NUMBER}" ;fi)
e1fe81
%global NSS_BUILDTIME_VERSION %(if [ "x%{NSS_BUILDTIME_NUMBER}" == "x" ] ; then echo "" ;else echo ">= %{NSS_BUILDTIME_NUMBER}" ;fi)
d557d5
c68e50
# Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349.
c68e50
# See also https://bugzilla.redhat.com/show_bug.cgi?id=1590796
c68e50
# as to why some libraries *cannot* be excluded. In particular,
c68e50
# these are:
c68e50
# libjsig.so, libjava.so, libjawt.so, libjvm.so and libverify.so
e90868
%global _privatelibs libatk-wrapper[.]so.*|libattach[.]so.*|libawt_headless[.]so.*|libawt[.]so.*|libawt_xawt[.]so.*|libdt_socket[.]so.*|libfontmanager[.]so.*|libhprof[.]so.*|libinstrument[.]so.*|libj2gss[.]so.*|libj2pcsc[.]so.*|libj2pkcs11[.]so.*|libjaas_unix[.]so.*|libjava_crw_demo[.]so.*|libjavajpeg[.]so.*|libjdwp[.]so.*|libjli[.]so.*|libjsdt[.]so.*|libjsoundalsa[.]so.*|libjsound[.]so.*|libmawt[.]so.*|libmanagement[.]so.*|libmlib_image[.]so.*|libnet[.]so.*|libnio[.]so.*|libnpt[.]so.*|libsaproc[.]so.*|libjavasctp[.]so.*|libjavalcms[.]so.*|libjavagtk[.]so.*|libsplashscreen[.]so.*|libsunec[.]so.*|libunpack[.]so.*|libzip[.]so.*|lib[.]so\\(SUNWprivate_.*
c68e50
c68e50
%global __provides_exclude ^(%{_privatelibs})$
c68e50
%global __requires_exclude ^(%{_privatelibs})$
c68e50
3c4066
# In some cases, the arch used by the JDK does
3c4066
# not match _arch.
3c4066
# Also, in some cases, the machine name used by SystemTap
3c4066
# does not match that given by _build_cpu
d557d5
%ifarch x86_64
d557d5
%global archbuild amd64
d557d5
%global archinstall amd64
3c4066
%global stapinstall x86_64
d557d5
%endif
d557d5
%ifarch ppc
d557d5
%global archbuild ppc
d557d5
%global archinstall ppc
d557d5
%global archdef PPC
3c4066
%global stapinstall powerpc
d557d5
%endif
0a1101
%ifarch %{ppc64be}
d557d5
%global archbuild ppc64
d557d5
%global archinstall ppc64
d557d5
%global archdef PPC
3c4066
%global stapinstall powerpc
d557d5
%endif
0a1101
%ifarch %{ppc64le}
0a1101
%global archbuild ppc64le
0a1101
%global archinstall ppc64le
0a1101
%global archdef PPC64
3c4066
%global stapinstall powerpc
0a1101
%endif
d557d5
%ifarch %{ix86}
d557d5
%global archbuild i586
d557d5
%global archinstall i386
3c4066
%global stapinstall i386
d557d5
%endif
d557d5
%ifarch ia64
d557d5
%global archbuild ia64
d557d5
%global archinstall ia64
3c4066
%global stapinstall ia64
d557d5
%endif
d557d5
%ifarch s390
d557d5
%global archbuild s390
d557d5
%global archinstall s390
d557d5
%global archdef S390
3c4066
%global stapinstall s390
d557d5
%endif
d557d5
%ifarch s390x
d557d5
%global archbuild s390x
d557d5
%global archinstall s390x
d557d5
%global archdef S390
3c4066
%global stapinstall s390
d557d5
%endif
d557d5
%ifarch %{arm}
d557d5
%global archbuild arm
d557d5
%global archinstall arm
d557d5
%global archdef ARM
3c4066
%global stapinstall arm
d557d5
%endif
d557d5
%ifarch %{aarch64}
d557d5
%global archbuild aarch64
d557d5
%global archinstall aarch64
d557d5
%global archdef AARCH64
3c4066
%global stapinstall arm64
d557d5
%endif
d557d5
# 32 bit sparc, optimized for v9
d557d5
%ifarch sparcv9
d557d5
%global archbuild sparc
d557d5
%global archinstall sparc
3c4066
%global stapinstall %{_build_cpu}
d557d5
%endif
d557d5
# 64 bit sparc
d557d5
%ifarch sparc64
d557d5
%global archbuild sparcv9
d557d5
%global archinstall sparcv9
3c4066
%global stapinstall %{_build_cpu}
d557d5
%endif
d557d5
%ifnarch %{jit_arches}
d557d5
%global archbuild %{_arch}
d557d5
%global archinstall %{_arch}
d557d5
%endif
d557d5
d557d5
%if %{debug}
d557d5
%global debugbuild debug_build
d557d5
%else
d557d5
%global debugbuild %{nil}
d557d5
%endif
d557d5
3c3d8d
# If hsbootstrap is 1, build HotSpot alone first and use that in the bootstrap JDK
3c3d8d
# You can turn this on to avoid issues where HotSpot is broken in the bootstrap JDK
b2a4fc
%ifarch %{jit_arches}
d783b6
%global hsbootstrap 1
b2a4fc
%else
3c3d8d
%global hsbootstrap 0
b2a4fc
%endif
3c3d8d
d557d5
%global with_pulseaudio 1
d557d5
d557d5
%ifarch %{jit_arches}
d557d5
%global with_systemtap 1
d557d5
%else
d557d5
%global with_systemtap 0
d557d5
%endif
d557d5
d557d5
# Convert an absolute path to a relative path.  Each symbolic link is
d557d5
# specified relative to the directory in which it is installed so that
d557d5
# it will resolve properly within chrooted installations.
d557d5
%global script 'use File::Spec; print File::Spec->abs2rel($ARGV[0], $ARGV[1])'
d557d5
%global abs2rel %{__perl} -e %{script}
d557d5
d557d5
# Hard-code libdir on 64-bit architectures to make the 64-bit JDK
d557d5
# simply be another alternative.
d557d5
%global LIBDIR       %{_libdir}
d557d5
#backuped original one
d557d5
%ifarch %{multilib_arches}
d557d5
%global syslibdir       %{_prefix}/lib64
d557d5
%global _libdir         %{_prefix}/lib
d557d5
%else
d557d5
%global syslibdir       %{_libdir}
d557d5
%endif
d557d5
d557d5
# Standard JPackage naming and versioning defines.
d557d5
%global origin          openjdk
c68e50
%global top_level_dir_name   %{origin}
ebdebc
%global updatever       261
53894f
%global buildver        02
2e7f34
# Keep priority on 7digits in case updatever>9
b2a4fc
%global priority        1700%{updatever}
d557d5
%global javaver         1.7.0
d557d5
d557d5
%global sdkdir          %{uniquesuffix}
d557d5
%global jrelnk          jre-%{javaver}-%{origin}-%{version}-%{release}.%{_arch}
d557d5
d557d5
%global jredir          %{sdkdir}/jre
d557d5
%global sdkbindir       %{_jvmdir}/%{sdkdir}/bin
d557d5
%global jrebindir       %{_jvmdir}/%{jredir}/bin
d557d5
%global jvmjardir       %{_jvmjardir}/%{uniquesuffix}
d557d5
e1fe81
%global rpm_state_dir %{_localstatedir}/lib/rpm-state/
e1fe81
d557d5
%global fullversion     %{name}-%{version}-%{release}
d557d5
d557d5
%global uniquesuffix          %{fullversion}.%{_arch}
d557d5
#we can copy the javadoc to not arched dir, or made it not noarch
d557d5
%global uniquejavadocdir       %{fullversion}
d557d5
d557d5
%ifarch %{jit_arches}
d557d5
# Where to install systemtap tapset (links)
d557d5
# We would like these to be in a package specific subdir,
d557d5
# but currently systemtap doesn't support that, so we have to
d557d5
# use the root tapset dir for now. To distinquish between 64
d557d5
# and 32 bit architectures we place the tapsets under the arch
d557d5
# specific dir (note that systemtap will only pickup the tapset
d557d5
# for the primary arch for now). Systemtap uses the machine name
d557d5
# aka build_cpu as architecture specific directory name.
d557d5
%global tapsetroot /usr/share/systemtap
3c4066
%global tapsetdir %{tapsetroot}/tapset/%{stapinstall}
d557d5
%endif
d557d5
c68e50
%if %{debug}
c68e50
%global buildoutputdir %{top_level_dir_name}/build/linux-%{archbuild}-debug
c68e50
%else
c68e50
%global buildoutputdir %{top_level_dir_name}/build/linux-%{archbuild}
c68e50
%endif
c68e50
d557d5
# Prevent brp-java-repack-jars from being run.
d557d5
%global __jar_repack 0
d557d5
d557d5
Name:    java-%{javaver}-%{origin}
d557d5
Version: %{javaver}.%{updatever}
ebdebc
Release: %{icedtea_version}%{icedtea_snapshot}.2%{?dist}
d557d5
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons,
d557d5
# and this change was brought into RHEL-4.  java-1.5.0-ibm packages
d557d5
# also included the epoch in their virtual provides.  This created a
d557d5
# situation where in-the-wild java-1.5.0-ibm packages provided "java =
d557d5
# 1:1.5.0".  In RPM terms, "1.6.0 < 1:1.5.0" since 1.6.0 is
d557d5
# interpreted as 0:1.6.0.  So the "java >= 1.6.0" requirement would be
d557d5
# satisfied by the 1:1.5.0 packages.  Thus we need to set the epoch in
d557d5
# JDK package >= 1.6.0 to 1, and packages referring to JDK virtual
d557d5
# provides >= 1.6.0 must specify the epoch, "java >= 1:1.6.0".
d557d5
Epoch:   1
d557d5
Summary: OpenJDK Runtime Environment
d557d5
Group:   Development/Languages
d557d5
1daf7b
# HotSpot code is licensed under GPLv2
1daf7b
# JDK library code is licensed under GPLv2 with the Classpath exception
1daf7b
# The Apache license is used in code taken from Apache projects (primarily JAXP & JAXWS)
1daf7b
# DOM levels 2 & 3 and the XML digital signature schemas are licensed under the W3C Software License
1daf7b
# The JSR166 concurrency code is in the public domain
1daf7b
# The BSD and MIT licenses are used for a number of third-party libraries (see THIRD_PARTY_README)
1daf7b
# The OpenJDK source tree includes the JPEG library (IJG), zlib & libpng (zlib), giflib and LCMS (MIT)
1daf7b
# The test code includes copies of NSS under the Mozilla Public License v2.0
1daf7b
# The PCSClite headers are under a BSD with advertising license
1daf7b
# The elliptic curve cryptography (ECC) source code is licensed under the LGPLv2.1 or any later version
1daf7b
# JavaScript support is provided by Rhino, which is licensed under MPLv1.1
1daf7b
License:  ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv1.1 and MPLv2.0 and Public Domain and W3C and zlib
d557d5
URL:      http://openjdk.java.net/
d557d5
dbc577
# Source from upstream IcedTea 2.x project. To regenerate, use
dbc577
# VERSION=icedtea-${icedtea_version} FILE_NAME_ROOT=openjdk-${VERSION}
dbc577
# REPO_ROOT=<path to checked-out repository> generate_source_tarball.sh
dad9bb
Source0:  openjdk-icedtea-%{icedtea_version}%{icedtea_snapshot}.tar.xz
d557d5
d557d5
# README file
d557d5
# This source is under maintainer's/java-team's control
d557d5
Source2:  README.src
d557d5
ebdebc
# Release notes, from IcedTea
ebdebc
Source3: NEWS
ebdebc
d557d5
# Sources 6-12 are taken from hg clone http://icedtea.classpath.org/hg/icedtea7
d557d5
# Unless said differently, there is directory with required sources which should be enough to pack/rename
d557d5
d557d5
# Class rewrite to rewrite rhino hierarchy
d557d5
Source5: class-rewriter.tar.gz
d557d5
d557d5
# Systemtap tapsets. Zipped up to keep it small.
fe8207
# last update from IcedTea 2.6.19
fe8207
Source6: systemtap-tapset-2.6.19.tar.xz
d557d5
d557d5
# .desktop files. 
d557d5
Source7:  policytool.desktop
d557d5
Source77: jconsole.desktop
d557d5
d557d5
# nss configuration file
d557d5
Source8: nss.cfg
d557d5
d557d5
# FIXME: Taken from IcedTea snapshot 877ad5f00f69, but needs to be moved out
d557d5
# hg clone -r 877ad5f00f69 http://icedtea.classpath.org/hg/icedtea7
d557d5
Source9: pulseaudio.tar.gz
d557d5
d557d5
# Removed libraries that we link instead
d557d5
Source10: remove-intree-libraries.sh
d557d5
d557d5
#http://icedtea.classpath.org/hg/icedtea7/file/933d082ec889/fsg.sh
d557d5
# file to clean tarball, should be ketp updated as possible
d557d5
Source1111: fsg.sh
d557d5
d557d5
# Remove build ids from binaries
d557d5
Source11: remove-buildids.sh
d557d5
d557d5
# Ensure we aren't using the limited crypto policy
d557d5
Source12: TestCryptoLevel.java
d557d5
3c4066
Source13: java-abrt-launcher
3c4066
3c4066
Source20: repackReproduciblePolycies.sh
d557d5
d557d5
# RPM/distribution specific patches
d557d5
d557d5
# Allow TCK to pass with access bridge wired in
dad9bb
Patch1:   rh1648645-java_access_bridge_loading_java_version_privileged_tck.patch
d557d5
d557d5
# Disable access to access-bridge packages by untrusted apps
dad9bb
Patch3:   rh1648644-java_access_bridge_privlidged_security.patch
d557d5
d557d5
# Ignore AWTError when assistive technologies are loaded 
dad9bb
Patch4:   rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch
d557d5
d557d5
# Build docs even in debug
dad9bb
Patch5:   rh1648254-javadoc_generated_during_all_variants_of_buid.patch
d557d5
d557d5
# Add debuginfo where missing
dad9bb
Patch6:   rh1648259-libsaproc_libjsig_compiled_with_g_to_provide_correct_debuginfo.patch
d557d5
d557d5
#
d557d5
# OpenJDK specific patches
d557d5
#
d557d5
d557d5
# Add rhino support
dad9bb
Patch100: rh1649777-add_rhino_support_jdk7.patch
d557d5
dad9bb
Patch106: rh1648643-comment_out_freetype_check.patch
d557d5
d557d5
# allow to create hs_pid.log in tmp (in 700 permissions) if working directory is unwritable
dad9bb
Patch200: rh1648241-abrt_friendly_hs_log_jdk7.patch
d557d5
d557d5
#
d557d5
# Optional component packages
d557d5
#
d557d5
d557d5
# Make the ALSA based mixer the default when building with the pulseaudio based
d557d5
# mixer
dad9bb
Patch300: rh1649760-make_alsa_based_mixer_default_when_pulseaudio_build.patch
d557d5
d557d5
# Temporary patches
b2a4fc
1daf7b
# 8076221, PR2809: Backport "8076221: Disable RC4 cipher suites" (will appear in 2.7.0)
dad9bb
Patch500: jdk8076221-pr2809-disable_rc4_cipher_suites.patch
3c4066
# PR3393, RH1273760: Support using RSAandMGF1 with the SHA hash algorithms in the PKCS11 provider (will appear in 2.7.0)
dad9bb
Patch501: pr3393-rh1273760-support_rsaandmgf1_with_sha_in_pkcs11.patch
d557d5
# End of tmp patches
d557d5
d557d5
BuildRequires: autoconf
d557d5
BuildRequires: automake
d557d5
BuildRequires: gcc-c++
d557d5
BuildRequires: alsa-lib-devel
d557d5
BuildRequires: cups-devel
d557d5
BuildRequires: desktop-file-utils
d557d5
BuildRequires: giflib-devel
0f9da3
# LCMS 2 is disabled until security issues are resolved
0f9da3
#BuildRequires: lcms2-devel >= 2.5
d557d5
BuildRequires: libX11-devel
d557d5
BuildRequires: libXi-devel
d557d5
BuildRequires: libXp-devel
d557d5
BuildRequires: libXt-devel
d557d5
BuildRequires: libXtst-devel
d557d5
BuildRequires: libjpeg-devel
d557d5
BuildRequires: libpng-devel
d557d5
BuildRequires: wget
d557d5
BuildRequires: xorg-x11-proto-devel
d557d5
BuildRequires: ant
d557d5
BuildRequires: libXinerama-devel
0f9da3
# Provides lsb_release for generating distro id in jdk_generic_profile.sh
71dd54
BuildRequires: redhat-lsb-core
0f9da3
BuildRequires: rhino
d557d5
BuildRequires: zip
d557d5
BuildRequires: xorg-x11-fonts-Type1
d557d5
BuildRequires: zlib > 1.2.3-6
e1fe81
# Require a build JDK which has a working jar uf (PR1437 / RH1207129)
e1fe81
BuildRequires: java-1.7.0-openjdk-devel >= 1.7.0.111-2.6.7.2
d557d5
BuildRequires: fontconfig
d557d5
BuildRequires: at-spi-devel
d557d5
BuildRequires: gawk
d557d5
BuildRequires: pkgconfig >= 0.9.0
d557d5
BuildRequires: xorg-x11-utils
0a1101
# Requirements for setting up the nss.cfg
0a1101
BuildRequires: nss-devel
0a1101
# Required for NIO2
0a1101
BuildRequires: libattr-devel
5720b1
# Build requirements for SunEC system NSS support
5720b1
BuildRequires: nss-softokn-freebl-devel >= 3.16.1
71dd54
# Required for smartcard support
71dd54
BuildRequires: pcsc-lite-devel
71dd54
# Required for SCTP support
71dd54
BuildRequires: lksctp-tools-devel
71dd54
# Required for fallback native proxy support
71dd54
BuildRequires: GConf2-devel
d557d5
# PulseAudio build requirements.
d557d5
%if %{with_pulseaudio}
d557d5
BuildRequires: pulseaudio-libs-devel >= 0.9.11
d557d5
%endif
d557d5
# Zero-assembler build requirement.
d557d5
%ifnarch %{jit_arches}
d557d5
BuildRequires: libffi-devel >= 3.0.10
d557d5
%endif
d557d5
d557d5
# cacerts build requirement.
d557d5
BuildRequires: openssl
d557d5
# execstack build requirement.
d557d5
# no prelink on ARM yet
0a1101
%ifnarch %{arm} %{aarch64} %{ppc64le}
d557d5
BuildRequires: prelink
d557d5
%endif
d557d5
%ifarch %{jit_arches}
d557d5
#systemtap build requirement.
d557d5
BuildRequires: systemtap-sdt-devel
d557d5
%endif
d557d5
d557d5
Requires: xorg-x11-fonts-Type1
d557d5
#requires rest of java
d557d5
Requires: %{name}-headless = %{epoch}:%{version}-%{release}
745a16
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
d557d5
d557d5
d557d5
# Standard JPackage base provides.
d557d5
Provides: jre-%{javaver}-%{origin} = %{epoch}:%{version}-%{release}
d557d5
Provides: jre-%{origin} = %{epoch}:%{version}-%{release}
d557d5
Provides: jre-%{javaver} = %{epoch}:%{version}-%{release}
d557d5
Provides: java-%{javaver} = %{epoch}:%{version}-%{release}
d557d5
Provides: jre = %{javaver}
d557d5
Provides: java-%{origin} = %{epoch}:%{version}-%{release}
d557d5
Provides: java = %{epoch}:%{javaver}
d557d5
# Standard JPackage extensions provides.
d557d5
Provides: java-fonts = %{epoch}:%{version}
d557d5
d557d5
# Obsolete older 1.6 packages as it cannot use the new bytecode
d557d5
# Obsoletes: java-1.6.0-openjdk
d557d5
# Obsoletes: java-1.6.0-openjdk-demo
d557d5
# Obsoletes: java-1.6.0-openjdk-devel
d557d5
# Obsoletes: java-1.6.0-openjdk-javadoc
d557d5
# Obsoletes: java-1.6.0-openjdk-src
d557d5
d557d5
%description
d557d5
The OpenJDK runtime environment.
d557d5
d557d5
%package headless
d557d5
Summary: The OpenJDK runtime environment without audio and video support
d557d5
Group:   Development/Languages
d557d5
d557d5
# Require /etc/pki/java/cacerts.
d557d5
Requires: ca-certificates
d557d5
# Require jpackage-utils for ant.
d557d5
Requires: jpackage-utils >= 1.7.3-1jpp.2
d557d5
# Require zoneinfo data provided by tzdata-java subpackage.
d557d5
Requires: tzdata-java
e90868
# there is a need to depend on the exact version of NSS
e90868
Requires: nss%{?_isa} %{NSS_BUILDTIME_VERSION}
e90868
Requires: nss-softokn%{?_isa} %{NSSSOFTOKN_BUILDTIME_VERSION}
e1fe81
# tool to copy jdk's configs - should be Recommends only, but then only dnf/yum eforce it, not rpm transaction and so no configs are persisted when pure rpm -u is run. I t may be consiedered as regression
1daf7b
Requires:	copy-jdk-configs >= 3.3-9
e1fe81
OrderWithRequires: copy-jdk-configs
d557d5
# Post requires alternatives to install tool alternatives.
d557d5
Requires(post):   %{_sbindir}/alternatives
e1fe81
# in version 1.7 and higher for --family switch
e1fe81
Requires(post):   chkconfig >= 1.7
d557d5
# Postun requires alternatives to uninstall tool alternatives.
d557d5
Requires(postun): %{_sbindir}/alternatives
e1fe81
# in version 1.7 and higher for --family switch
e1fe81
Requires(postun):   chkconfig >= 1.7
d557d5
d557d5
Provides: jre-%{javaver}-%{origin}-headless = %{epoch}:%{version}-%{release}
d557d5
Provides: jre-%{origin}-headless = %{epoch}:%{version}-%{release}
d557d5
Provides: jre-%{javaver}-headless = %{epoch}:%{version}-%{release}
d557d5
Provides: java-%{javaver}-headless = %{epoch}:%{version}-%{release}
745a16
Provides: jre-headless = %{epoch}:%{javaver}
d557d5
Provides: java-%{origin}-headless = %{epoch}:%{version}-%{release}
d557d5
Provides: java-headless = %{epoch}:%{javaver}
d557d5
# Standard JPackage extensions provides.
d557d5
Provides: jndi = %{epoch}:%{version}
d557d5
Provides: jndi-ldap = %{epoch}:%{version}
d557d5
Provides: jndi-cos = %{epoch}:%{version}
d557d5
Provides: jndi-rmi = %{epoch}:%{version}
d557d5
Provides: jndi-dns = %{epoch}:%{version}
d557d5
Provides: jaas = %{epoch}:%{version}
d557d5
Provides: jsse = %{epoch}:%{version}
d557d5
Provides: jce = %{epoch}:%{version}
d557d5
Provides: jdbc-stdext = 4.1
d557d5
Provides: java-sasl = %{epoch}:%{version}
d557d5
d557d5
%description headless
d557d5
The OpenJDK runtime environment without audio and video 
d557d5
d557d5
%package devel
d557d5
Summary: OpenJDK Development Environment
d557d5
Group:   Development/Tools
d557d5
d557d5
# Require base package.
d557d5
Requires:         %{name} = %{epoch}:%{version}-%{release}
745a16
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
d557d5
# Post requires alternatives to install tool alternatives.
d557d5
Requires(post):   %{_sbindir}/alternatives
e1fe81
# in version 1.7 and higher for --family switch
e1fe81
Requires(post):   chkconfig >= 1.7
d557d5
# Postun requires alternatives to uninstall tool alternatives.
d557d5
Requires(postun): %{_sbindir}/alternatives
e1fe81
# in version 1.7 and higher for --family switch
e1fe81
Requires(postun):   chkconfig >= 1.7
d557d5
d557d5
# Standard JPackage devel provides.
d557d5
Provides: java-sdk-%{javaver}-%{origin} = %{epoch}:%{version}
d557d5
Provides: java-sdk-%{javaver} = %{epoch}:%{version}
d557d5
Provides: java-sdk-%{origin} = %{epoch}:%{version}
d557d5
Provides: java-sdk = %{epoch}:%{javaver}
d557d5
Provides: java-%{javaver}-devel = %{epoch}:%{version}
d557d5
Provides: java-devel-%{origin} = %{epoch}:%{version}
d557d5
Provides: java-devel = %{epoch}:%{javaver}
d557d5
d557d5
d557d5
%description devel
d557d5
The OpenJDK development tools.
d557d5
d557d5
%package demo
d557d5
Summary: OpenJDK Demos
d557d5
Group:   Development/Languages
d557d5
d557d5
Requires: %{name} = %{epoch}:%{version}-%{release}
745a16
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
d557d5
d557d5
%description demo
d557d5
The OpenJDK demos.
d557d5
d557d5
%package src
d557d5
Summary: OpenJDK Source Bundle
d557d5
Group:   Development/Languages
d557d5
d557d5
Requires: %{name} = %{epoch}:%{version}-%{release}
d557d5
d557d5
%description src
d557d5
The OpenJDK source bundle.
d557d5
d557d5
%package javadoc
d557d5
Summary: OpenJDK API Documentation
d557d5
Group:   Documentation
d557d5
Requires: jpackage-utils
d557d5
BuildArch: noarch
d557d5
745a16
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
d557d5
# Post requires alternatives to install javadoc alternative.
d557d5
Requires(post):   %{_sbindir}/alternatives
e1fe81
# in version 1.7 and higher for --family switch
e1fe81
Requires(post):   chkconfig >= 1.7
d557d5
# Postun requires alternatives to uninstall javadoc alternative.
d557d5
Requires(postun): %{_sbindir}/alternatives
e1fe81
# in version 1.7 and higher for --family switch
e1fe81
Requires(postun):   chkconfig >= 1.7
d557d5
d557d5
# Standard JPackage javadoc provides.
d557d5
Provides: java-javadoc = %{epoch}:%{version}-%{release}
d557d5
Provides: java-%{javaver}-javadoc = %{epoch}:%{version}-%{release}
d557d5
d557d5
%description javadoc
d557d5
The OpenJDK API documentation.
d557d5
d557d5
%package accessibility
d557d5
Summary: OpenJDK accessibility connector
d557d5
Requires: java-atk-wrapper
d557d5
Requires: %{name} = %{epoch}:%{version}-%{release}
745a16
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
d557d5
d557d5
%description accessibility
d557d5
Enables accessibility support in OpenJDK by using java-at-wrapper. This allows compatible at-spi2 based accessibility programs to work for AWT and Swing-based programs.
d557d5
Please note, the java-atk-wrapper is still in beta, and also OpenJDK itself is still in phase of tuning to be working with accessibility features.
d557d5
Although working pretty fine, there are known issues with accessibility on, so do not rather install this package unless you really need.
d557d5
d557d5
%prep
d557d5
%setup -q -c -n %{uniquesuffix} -T -a 0
2e7f34
# https://bugzilla.redhat.com/show_bug.cgi?id=1189084
2e7f34
prioritylength=`expr length %{priority}`
2e7f34
if [ $prioritylength -ne 7 ] ; then
2e7f34
 echo "priority must be 7 digits in total, violated"
2e7f34
 exit 14
2e7f34
fi
d557d5
cp %{SOURCE2} .
d557d5
d557d5
# OpenJDK patches
d557d5
%patch100
d557d5
d557d5
# pulseaudio support
d557d5
%if %{with_pulseaudio}
d557d5
%patch300
d557d5
%endif
d557d5
f05b8e
# Temporary fixes
e1fe81
%patch500
3c4066
%patch501
5720b1
# End of temporary fixes
5720b1
d557d5
# Add systemtap patches if enabled
d557d5
%if %{with_systemtap}
d557d5
%endif
d557d5
d557d5
# Remove libraries that are linked
d557d5
sh %{SOURCE10}
d557d5
d557d5
# Extract the rewriter (to rewrite rhino classes)
d557d5
tar xzf %{SOURCE5}
d557d5
d557d5
# Extract systemtap tapsets
d557d5
%if %{with_systemtap}
d557d5
0a1101
tar xf %{SOURCE6}
d557d5
d557d5
for file in tapset/*.in; do
d557d5
fe8207
    OUTPUT_FILE=`echo $file | sed -e s:\.stp\.in$:-%{version}-%{release}.stp:g`
d557d5
    sed -e s:@ABS_SERVER_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/server/libjvm.so:g $file > $file.1
d557d5
# FIXME this should really be %if %{has_client_jvm}
d557d5
%ifarch %{ix86}
d557d5
    sed -e s:@ABS_CLIENT_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/client/libjvm.so:g $file.1 > $OUTPUT_FILE
d557d5
%else
d557d5
    sed -e '/@ABS_CLIENT_LIBJVM_SO@/d' $file.1 > $OUTPUT_FILE
d557d5
%endif
d557d5
    sed -i -e s:@INSTALL_ARCH_DIR@:%{archinstall}:g $OUTPUT_FILE
e1fe81
    sed -i -e s:@prefix@:%{_jvmdir}/%{sdkdir $suffix}/:g $OUTPUT_FILE
d557d5
d557d5
done
d557d5
d557d5
%endif
d557d5
d557d5
# Pulseaudio
d557d5
%if %{with_pulseaudio}
d557d5
tar xzf %{SOURCE9}
d557d5
%endif
d557d5
d557d5
d557d5
%patch3
d557d5
%patch4
d557d5
d557d5
%if %{debug}
d557d5
%patch5
d557d5
%patch6
d557d5
%endif
d557d5
d557d5
%patch106
745a16
%patch200
d557d5
d557d5
%build
d557d5
# How many cpu's do we have?
d557d5
export NUM_PROC=`/usr/bin/getconf _NPROCESSORS_ONLN 2> /dev/null || :`
d557d5
export NUM_PROC=${NUM_PROC:-1}
d557d5
d557d5
# Build IcedTea and OpenJDK.
d557d5
%ifarch s390x sparc64 alpha %{power64} %{aarch64}
d557d5
export ARCH_DATA_MODEL=64
d557d5
%endif
d557d5
%ifarch alpha
d783b6
%global archflags "-mieee"
d557d5
%endif
d557d5
d783b6
# Filter out flags from the optflags macro that cause problems with the OpenJDK build
d783b6
# We filter out -O flags so that the optimisation of HotSpot is not lowered from O3 to O2
d783b6
# We filter out -Wall which will otherwise cause HotSpot to produce hundreds of thousands of warnings (100+mb logs)
d783b6
# We replace it with -Wformat (required by -Werror=format-security) and -Wno-cpp to avoid FORTIFY_SOURCE warnings
d783b6
# We filter out -fexceptions as the HotSpot build explicitly does -fno-exceptions and it's otherwise the default for C++
d783b6
%global ourflags %(echo %optflags | sed -e 's|-Wall|-Wformat=2 -Wno-cpp -Wno-error=format-nonliteral|')
d783b6
# Disable RPM CFLAGS for now as the change appears to cause crashes on x86 RHEL 7.5 multilib
d783b6
#%global ourcppflags %(echo %ourflags | sed -e 's|-fexceptions||' | sed -r -e 's|-O[0-9]*||')
d783b6
%global ourcppflags "-fstack-protector-strong"
d783b6
%global ourldflags %{__global_ldflags}
745a16
d557d5
# Build the re-written rhino jar
d557d5
mkdir -p rhino/{old,new}
d557d5
d557d5
# Compile the rewriter
d557d5
(cd rewriter 
d557d5
 javac com/redhat/rewriter/ClassRewriter.java
d557d5
)
d557d5
d557d5
# Extract rhino.jar contents and rewrite
d557d5
(cd rhino/old 
d557d5
 jar xf /usr/share/java/rhino.jar
d557d5
)
d557d5
d557d5
java -cp rewriter com.redhat.rewriter.ClassRewriter \
d557d5
    $PWD/rhino/old \
d557d5
    $PWD/rhino/new \
d557d5
    org.mozilla \
d557d5
    sun.org.mozilla
d557d5
d557d5
(cd rhino/old
d557d5
 for file in `find -type f -not -name '*.class'` ; do
d557d5
     new_file=../new/`echo $file | sed -e 's#org#sun/org#'`
d557d5
     mkdir -pv `dirname $new_file`
d557d5
     cp -v $file $new_file
d557d5
     sed -ie 's#org\.mozilla#sun.org.mozilla#g' $new_file
d557d5
 done
d557d5
)
d557d5
d557d5
(cd rhino/new
d557d5
   jar cfm ../rhino.jar META-INF/MANIFEST.MF sun
d557d5
)
d557d5
3c3d8d
export SYSTEM_JDK_DIR=/usr/lib/jvm/java-1.7.0-openjdk
d557d5
3c3d8d
# Temporary workaround for ppc64le ; RH1191652
3c3d8d
# Need to work around the jre arch directory being
3c3d8d
# ppc64 instead of the expected ppc64le
3c3d8d
# Taken from IcedTea7 bootstrap-directory-stage1 & PR1765
3c3d8d
%ifarch %{ppc64le}
3c3d8d
STAGE1_BOOT_RUNTIME=jdk/jre/lib/rt.jar
3c3d8d
mkdir -p jdk/bin
3c3d8d
ln -sfv ${SYSTEM_JDK_DIR}/bin/java jdk/bin/java
3c3d8d
ln -sfv ${SYSTEM_JDK_DIR}/bin/javah jdk/bin/javah
3c3d8d
ln -sfv ${SYSTEM_JDK_DIR}/bin/rmic jdk/bin/rmic
3c3d8d
ln -sfv ${SYSTEM_JDK_DIR}/bin/jar jdk/bin/jar
3c3d8d
ln -sfv ${SYSTEM_JDK_DIR}/bin/native2ascii jdk/bin/native2ascii
3c3d8d
ln -sfv ${SYSTEM_JDK_DIR}/bin/javac jdk/bin/javac
3c3d8d
ln -sfv ${SYSTEM_JDK_DIR}/bin/javap jdk/bin/javap
3c3d8d
ln -sfv ${SYSTEM_JDK_DIR}/bin/idlj jdk/bin/idlj
3c3d8d
mkdir -p jdk/lib/modules
3c3d8d
mkdir -p jdk/jre/lib && \
3c3d8d
cp ${SYSTEM_JDK_DIR}/jre/lib/rt.jar ${STAGE1_BOOT_RUNTIME} && \
3c3d8d
chmod u+w ${STAGE1_BOOT_RUNTIME}
3c3d8d
mkdir -p jdk/lib && \
3c3d8d
ln -sfv ${SYSTEM_JDK_DIR}/lib/tools.jar jdk/lib/tools.jar ; \
3c3d8d
# Workaround some older ppc64le builds installing to 'ppc64' rather than 'ppc64le'
3c3d8d
if test -d ${SYSTEM_JDK_DIR}/jre/lib/ppc64 ; then \
3c3d8d
  ln -sfv ${SYSTEM_JDK_DIR}/jre/lib/ppc64 \
3c3d8d
    jdk/jre/lib/%{archinstall} ; \
3c3d8d
else \
3c3d8d
  ln -sfv ${SYSTEM_JDK_DIR}/jre/lib/%{archinstall} \
3c3d8d
    jdk/jre/lib/ ; \
3c3d8d
fi
3c3d8d
if ! test -d jdk/jre/lib/%{archinstall}; \
3c3d8d
  then \
3c3d8d
  ln -sfv ./%{archbuild} \
3c3d8d
    jdk/jre/lib/%{archinstall}; \
3c3d8d
fi
3c3d8d
mkdir -p jdk/include && \
3c3d8d
for i in ${SYSTEM_JDK_DIR}/include/*; do \
3c3d8d
  test -r ${i} | continue; \
3c3d8d
  i=`basename ${i}`; \
3c3d8d
  rm -f jdk/include/${i}; \
3c3d8d
  ln -sv ${SYSTEM_JDK_DIR}/include/${i} jdk/include/${i}; \
3c3d8d
done;
3c3d8d
export JDK_TO_BUILD_WITH=${PWD}/jdk
3c3d8d
%else
3c3d8d
export JDK_TO_BUILD_WITH=${SYSTEM_JDK_DIR}
3c3d8d
%endif
d557d5
d557d5
d557d5
pushd openjdk >& /dev/null
d557d5
d557d5
export ALT_BOOTDIR="$JDK_TO_BUILD_WITH"
d557d5
d557d5
# Save old umask as jdk_generic_profile overwrites it
d557d5
oldumask=`umask`
d557d5
d557d5
# Set generic profile
d557d5
%ifnarch %{jit_arches}
d557d5
export ZERO_BUILD=true
d557d5
%endif
0f9da3
# LCMS 2 is disabled until security issues are resolved
0f9da3
export LCMS_CFLAGS="disabled"
0f9da3
export LCMS_LIBS="disabled"
0f9da3
export PKGVERSION="rhel-%{release}-%{_arch} u%{updatever}-b%{buildver}"
0f9da3
d557d5
source jdk/make/jdk_generic_profile.sh
d557d5
d557d5
# Restore old umask
d557d5
umask $oldumask
d557d5
0f9da3
# LCMS 2 is disabled until security issues are resolved
0f9da3
export SYSTEM_LCMS=false
0f9da3
c68e50
# Variable used in hs_err hook on build failures
c68e50
top_dir_abs_path=$(pwd)/%{top_level_dir_name}
c68e50
aa8380
%if %{hsbootstrap}
aa8380
aa8380
mkdir bootstrap
aa8380
aa8380
make \
aa8380
  UNLIMITED_CRYPTO=true \
aa8380
  ANT="/usr/bin/ant" \
aa8380
  DISTRO_NAME="Red Hat Enterprise Linux 7" \
0f9da3
  DISTRO_PACKAGE_VERSION="${PKGVERSION}" \
aa8380
  JDK_UPDATE_VERSION=`printf "%02d" %{updatever}` \
aa8380
  JDK_BUILD_NUMBER=b`printf "%02d" %{buildver}` \
aa8380
  JRE_RELEASE_VERSION=%{javaver}_`printf "%02d" %{updatever}`-b`printf "%02d" %{buildver}` \
aa8380
  MILESTONE="fcs" \
aa8380
  ALT_PARALLEL_COMPILE_JOBS="$NUM_PROC" \
aa8380
  HOTSPOT_BUILD_JOBS="$NUM_PROC" \
aa8380
  STATIC_CXX="false" \
aa8380
  RHINO_JAR="$PWD/../rhino/rhino.jar" \
aa8380
  GENSRCDIR="$PWD/generated.build" \
aa8380
  FT2_CFLAGS="`pkg-config --cflags freetype2` " \
aa8380
  FT2_LIBS="`pkg-config --libs freetype2` " \
aa8380
  DEBUG_CLASSFILES="true" \
aa8380
  DEBUG_BINARIES="true" \
aa8380
  STRIP_POLICY="no_strip" \
aa8380
  JAVAC_WARNINGS_FATAL="false" \
aa8380
  INSTALL_LOCATION=%{_jvmdir}/%{sdkdir} \
5720b1
  SYSTEM_NSS="true" \
e1fe81
  NSS_LIBS="%{NSS_LIBS} -lfreebl" \
e1fe81
  NSS_CFLAGS="%{NSS_CFLAGS}" \
5720b1
  ECC_JUST_SUITE_B="true" \
71dd54
  SYSTEM_GSETTINGS="true" \
aa8380
  BUILD_JAXP=false BUILD_JAXWS=false BUILD_LANGTOOLS=false BUILD_JDK=false BUILD_CORBA=false \
aa8380
  ALT_JDK_IMPORT_PATH=${JDK_TO_BUILD_WITH} ALT_OUTPUTDIR=${PWD}/bootstrap \
d783b6
  EXTRA_CFLAGS="%{ourcppflags}" EXTRA_LDFLAGS="%{ourldflags}" \
c68e50
  %{debugbuild} || ( pwd; find $top_dir_abs_path -name "hs_err_pid*.log" | xargs cat && false )
aa8380
3c3d8d
export VM_DIR=bootstrap-vm/jre/lib/%{archinstall}/server
e1fe81
cp -dR $(readlink -e ${SYSTEM_JDK_DIR}) bootstrap-vm
3c3d8d
rm -vf ${VM_DIR}/libjvm.so
3c3d8d
if [ ! -e ${VM_DIR} ] ; then mkdir -p ${VM_DIR}; fi
3c3d8d
cp -av bootstrap/hotspot/import/jre/lib/%{archinstall}/server/libjvm.so ${VM_DIR}
aa8380
aa8380
export ALT_BOOTDIR=${PWD}/bootstrap-vm
aa8380
  
aa8380
%endif
aa8380
3c3d8d
# ENABLE_FULL_DEBUG_SYMBOLS=0 is the internal HotSpot option
3c3d8d
# to turn off the stripping of debuginfo. FULL_DEBUG_SYMBOLS
3c3d8d
# does the same for product builds, but is ignored on non-product builds.
d557d5
make \
d557d5
  UNLIMITED_CRYPTO=true \
d557d5
  ANT="/usr/bin/ant" \
d557d5
  DISTRO_NAME="Red Hat Enterprise Linux 7" \
b2a4fc
  DISTRO_PACKAGE_VERSION="${PKGVERSION}" \
d557d5
  JDK_UPDATE_VERSION=`printf "%02d" %{updatever}` \
d557d5
  JDK_BUILD_NUMBER=b`printf "%02d" %{buildver}` \
745a16
  JRE_RELEASE_VERSION=%{javaver}_`printf "%02d" %{updatever}`-b`printf "%02d" %{buildver}` \
d557d5
  MILESTONE="fcs" \
745a16
  ALT_PARALLEL_COMPILE_JOBS="$NUM_PROC" \
d557d5
  HOTSPOT_BUILD_JOBS="$NUM_PROC" \
d557d5
  STATIC_CXX="false" \
d557d5
  RHINO_JAR="$PWD/../rhino/rhino.jar" \
d557d5
  GENSRCDIR="$PWD/generated.build" \
745a16
  FT2_CFLAGS="`pkg-config --cflags freetype2` " \
745a16
  FT2_LIBS="`pkg-config --libs freetype2` " \
d557d5
  DEBUG_CLASSFILES="true" \
d557d5
  DEBUG_BINARIES="true" \
d557d5
  STRIP_POLICY="no_strip" \
0a1101
  JAVAC_WARNINGS_FATAL="false" \
0a1101
  INSTALL_LOCATION=%{_jvmdir}/%{sdkdir} \
5720b1
  SYSTEM_NSS="true" \
e1fe81
  NSS_LIBS="%{NSS_LIBS} -lfreebl" \
e1fe81
  NSS_CFLAGS="%{NSS_CFLAGS}" \
5720b1
  ECC_JUST_SUITE_B="true" \
71dd54
  SYSTEM_GSETTINGS="true" \
d783b6
  EXTRA_CFLAGS="%{ourcppflags}" EXTRA_LDFLAGS="%{ourldflags}" \
c68e50
  %{debugbuild} || ( pwd; find $top_dir_abs_path -name "hs_err_pid*.log" | xargs cat && false )
d557d5
d557d5
popd >& /dev/null
d557d5
d557d5
export JAVA_HOME=$(pwd)/%{buildoutputdir}/j2sdk-image
d557d5
3c4066
# Install java-abrt-launcher
d557d5
mkdir  $JAVA_HOME/jre-abrt
d557d5
mkdir  $JAVA_HOME/jre-abrt/bin
3c3d8d
mv $JAVA_HOME/jre/bin/java $JAVA_HOME/jre-abrt/bin/java
d557d5
ln -s %{_jvmdir}/%{sdkdir}/jre/lib $JAVA_HOME/jre-abrt/lib
d557d5
cat %{SOURCE13} | sed -e s:@JAVA_PATH@:%{_jvmdir}/%{sdkdir}/jre-abrt/bin/java:g -e s:@LIB_DIR@:%{LIBDIR}/libabrt-java-connector.so:g >  $JAVA_HOME/jre/bin/java
d557d5
chmod 755 $JAVA_HOME/jre/bin/java
d557d5
d557d5
# Install nss.cfg right away as we will be using the JRE above
d557d5
cp -a %{SOURCE8} $JAVA_HOME/jre/lib/security/
d557d5
sed -i -e s:@NSS_LIBDIR@:%{NSS_LIBDIR}:g $JAVA_HOME/jre/lib/security/nss.cfg
d557d5
d557d5
# Build pulseaudio and install it to JDK build location
d557d5
%if %{with_pulseaudio}
d557d5
pushd pulseaudio
dad9bb
# IT_CFLAGS="-g" is needed so that debug info symbols get produced.
dad9bb
# See RHBZ#1657863.
dad9bb
make JAVA_HOME=$JAVA_HOME -f Makefile.pulseaudio IT_CFLAGS="-g"
d557d5
cp -pPRf build/native/libpulse-java.so $JAVA_HOME/jre/lib/%{archinstall}/
d557d5
cp -pPRf build/pulse-java.jar $JAVA_HOME/jre/lib/ext/
d557d5
popd
d557d5
%endif
d557d5
d557d5
# Copy tz.properties
d557d5
echo "sun.zoneinfo.dir=/usr/share/javazi" >> $JAVA_HOME/jre/lib/tz.properties
d557d5
d557d5
#remove all fontconfig files. This change should be usptreamed soon
d557d5
rm -f %{buildoutputdir}/j2re-image/lib/fontconfig*.properties.src
d557d5
rm -f %{buildoutputdir}/j2re-image/lib/fontconfig*.bfc
d557d5
rm -f %{buildoutputdir}/j2sdk-image/jre/lib/fontconfig*.properties.src
d557d5
rm -f %{buildoutputdir}/j2sdk-image/jre/lib/fontconfig*.bfc
d557d5
rm -f %{buildoutputdir}/lib/fontconfig*.properties.src
d557d5
rm -f %{buildoutputdir}/lib/fontconfig*.bfc
d557d5
d557d5
# Check unlimited policy has been used
d557d5
$JAVA_HOME/bin/javac -d . %{SOURCE12}
d557d5
$JAVA_HOME/bin/java TestCryptoLevel
d557d5
d557d5
sh %{SOURCE11} ${JAVA_HOME}
d557d5
e1fe81
%check
e1fe81
export JAVA_HOME=$(pwd)/%{buildoutputdir $suffix}/j2sdk-image
e1fe81
e1fe81
d557d5
%install
d557d5
rm -rf $RPM_BUILD_ROOT
d557d5
STRIP_KEEP_SYMTAB=libjvm*
d557d5
dbc577
# There used to be a link to the soundfont.
dbc577
# This is now obsolete following the inclusion of 8140620/PR2710
d557d5
d557d5
pushd %{buildoutputdir}/j2sdk-image
d557d5
d557d5
#install jsa directories so we can owe them
d557d5
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{archinstall}/server/
d557d5
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{archinstall}/client/
d557d5
d557d5
  # Install main files.
d557d5
  install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
d557d5
  cp -a jre-abrt bin include lib src.zip $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
d557d5
  install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
d557d5
  cp -a jre/bin jre/lib $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
d557d5
  cp -a ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
d557d5
d557d5
%ifarch %{jit_arches}
d557d5
  # Install systemtap support files.
d557d5
  install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset
d557d5
  cp -a $RPM_BUILD_DIR/%{uniquesuffix}/tapset/*.stp $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset/
d557d5
  install -d -m 755 $RPM_BUILD_ROOT%{tapsetdir}
d557d5
  pushd $RPM_BUILD_ROOT%{tapsetdir}
d557d5
    RELATIVE=$(%{abs2rel} %{_jvmdir}/%{sdkdir}/tapset %{tapsetdir})
d557d5
    ln -sf $RELATIVE/*.stp .
d557d5
  popd
d557d5
%endif
d557d5
d557d5
  # Install cacerts symlink.
d557d5
  rm -f $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security/cacerts
d557d5
  pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security
d557d5
    RELATIVE=$(%{abs2rel} %{_sysconfdir}/pki/java \
d557d5
      %{_jvmdir}/%{jredir}/lib/security)
d557d5
    ln -sf $RELATIVE/cacerts .
d557d5
  popd
d557d5
d557d5
  # Install extension symlinks.
d557d5
  install -d -m 755 $RPM_BUILD_ROOT%{jvmjardir}
d557d5
  pushd $RPM_BUILD_ROOT%{jvmjardir}
d557d5
    RELATIVE=$(%{abs2rel} %{_jvmdir}/%{jredir}/lib %{jvmjardir})
d557d5
    ln -sf $RELATIVE/jsse.jar jsse-%{version}.jar
d557d5
    ln -sf $RELATIVE/jce.jar jce-%{version}.jar
d557d5
    ln -sf $RELATIVE/rt.jar jndi-%{version}.jar
d557d5
    ln -sf $RELATIVE/rt.jar jndi-ldap-%{version}.jar
d557d5
    ln -sf $RELATIVE/rt.jar jndi-cos-%{version}.jar
d557d5
    ln -sf $RELATIVE/rt.jar jndi-rmi-%{version}.jar
d557d5
    ln -sf $RELATIVE/rt.jar jaas-%{version}.jar
d557d5
    ln -sf $RELATIVE/rt.jar jdbc-stdext-%{version}.jar
d557d5
    ln -sf jdbc-stdext-%{version}.jar jdbc-stdext-3.0.jar
d557d5
    ln -sf $RELATIVE/rt.jar sasl-%{version}.jar
d557d5
    for jar in *-%{version}.jar
d557d5
    do
d557d5
      if [ x%{version} != x%{javaver} ]
d557d5
      then
d557d5
        ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|-%{javaver}.jar|g")
d557d5
      fi
d557d5
      ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|.jar|g")
d557d5
    done
d557d5
  popd
d557d5
d557d5
  # Install JCE policy symlinks.
d557d5
  install -d -m 755 $RPM_BUILD_ROOT%{_jvmprivdir}/%{uniquesuffix}/jce/vanilla
d557d5
d557d5
  # Install versioned symlinks.
d557d5
  pushd $RPM_BUILD_ROOT%{_jvmdir}
d557d5
    ln -sf %{jredir} %{jrelnk}
d557d5
  popd
d557d5
d557d5
  pushd $RPM_BUILD_ROOT%{_jvmjardir}
d557d5
    ln -sf %{sdkdir} %{jrelnk}
d557d5
  popd
d557d5
d557d5
  # Remove javaws man page
d557d5
  rm -f man/man1/javaws*
d557d5
d557d5
  # Install man pages.
d557d5
  install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
d557d5
  for manpage in man/man1/*
d557d5
  do
d557d5
    # Convert man pages to UTF8 encoding.
d557d5
    iconv -f ISO_8859-1 -t UTF8 $manpage -o $manpage.tmp
d557d5
    mv -f $manpage.tmp $manpage
d557d5
    install -m 644 -p $manpage $RPM_BUILD_ROOT%{_mandir}/man1/$(basename \
d557d5
      $manpage .1)-%{uniquesuffix}.1
d557d5
  done
d557d5
d557d5
  # Install demos and samples.
d557d5
  cp -a demo $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
d557d5
  mkdir -p sample/rmi
d557d5
  mv bin/java-rmi.cgi sample/rmi
d557d5
  cp -a sample $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
d557d5
d557d5
popd
d557d5
d557d5
d557d5
# Install Javadoc documentation.
d557d5
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}
d557d5
cp -a %{buildoutputdir}/docs $RPM_BUILD_ROOT%{_javadocdir}/%{uniquejavadocdir}
d557d5
ebdebc
# Install release notes
ebdebc
commondocdir=${RPM_BUILD_ROOT}%{_defaultdocdir}/%{uniquejavadocdir}
ebdebc
install -d -m 755 ${commondocdir}
ebdebc
cp -a %{SOURCE3} ${commondocdir}
ebdebc
d557d5
# Install icons and menu entries.
d557d5
for s in 16 24 32 48 ; do
d557d5
  install -D -p -m 644 \
c68e50
    %{top_level_dir_name}/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \
d557d5
    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/java-%{javaver}.png
d557d5
done
d557d5
d557d5
# Install desktop files.
d557d5
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}
d557d5
for e in %{SOURCE7} %{SOURCE77} ; do
d557d5
    sed -i "s/#ARCH#/%{_arch}-%{release}/g" $e
d557d5
    sed -i "s|/usr/bin|%{sdkbindir}/|g" $e
d557d5
    desktop-file-install --vendor=%{uniquesuffix} --mode=644 \
d557d5
        --dir=$RPM_BUILD_ROOT%{_datadir}/applications $e
d557d5
done
d557d5
d557d5
# Install /etc/.java/.systemPrefs/ directory
d557d5
# See https://bugzilla.redhat.com/show_bug.cgi?id=741821
d557d5
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/.java/.systemPrefs
d557d5
d557d5
# Find JRE directories.
d557d5
find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type d \
d557d5
  | grep -v jre/lib/security \
d557d5
  | sed 's|'$RPM_BUILD_ROOT'|%dir |' \
d557d5
  > %{name}.files-headless
d557d5
# Find JRE files.
d557d5
find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type f -o -type l \
d557d5
  | grep -v jre/lib/security \
d557d5
  | sed 's|'$RPM_BUILD_ROOT'||' \
d557d5
  > %{name}.files.all
d557d5
#split %{name}.files to %{name}.files-headless and %{name}.files
d557d5
#see https://bugzilla.redhat.com/show_bug.cgi?id=875408
d557d5
NOT_HEADLESS=\
d557d5
"%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libjsoundalsa.so 
d557d5
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libpulse-java.so 
d557d5
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libsplashscreen.so 
e1fe81
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libjavagtk.so
d557d5
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/xawt/libmawt.so
e1fe81
%{_jvmdir}/%{uniquesuffix}/jre/bin/policytool
d557d5
%{_jvmdir}/%{uniquesuffix}/jre-abrt/lib/%{archinstall}/libjsoundalsa.so 
d557d5
%{_jvmdir}/%{uniquesuffix}/jre-abrt/lib/%{archinstall}/libpulse-java.so 
d557d5
%{_jvmdir}/%{uniquesuffix}/jre-abrt/lib/%{archinstall}/libsplashscreen.so 
e1fe81
%{_jvmdir}/%{uniquesuffix}/jre-abrt/lib/%{archinstall}/libjavagtk.so
d557d5
%{_jvmdir}/%{uniquesuffix}/jre-abrt/lib/%{archinstall}/xawt/libmawt.so"
d557d5
#filter  %{name}.files from  %{name}.files.all to  %{name}.files-headless
d557d5
ALL=`cat %{name}.files.all`
d557d5
for file in $ALL ; do 
d557d5
  INLCUDE="NO" ; 
d557d5
  for blacklist in $NOT_HEADLESS ; do
d557d5
#we can not match normally, because rpmbuild will evaluate !0 result as script failure
d557d5
    q=`expr match "$file" "$blacklist"` || :
d557d5
    l=`expr length  "$blacklist"` || :
d557d5
    if [ $q -eq $l  ]; then 
d557d5
      INLCUDE="YES" ; 
d557d5
    fi;
d557d5
  done
d557d5
    if [ "x$INLCUDE" = "xNO"  ]; then 
d557d5
      echo "$file" >> %{name}.files-headless
d557d5
    else
d557d5
      echo "$file" >> %{name}.files
d557d5
    fi
d557d5
done
d557d5
# Find demo directories.
d557d5
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
d557d5
  $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample -type d \
d557d5
  | sed 's|'$RPM_BUILD_ROOT'|%dir |' \
d557d5
  > %{name}-demo.files
d557d5
d557d5
# FIXME: remove SONAME entries from demo DSOs.  See
d557d5
# https://bugzilla.redhat.com/show_bug.cgi?id=436497
d557d5
d557d5
# Find non-documentation demo files.
d557d5
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
d557d5
  $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
d557d5
  -type f -o -type l | sort \
d557d5
  | grep -v README \
d557d5
  | sed 's|'$RPM_BUILD_ROOT'||' \
d557d5
  >> %{name}-demo.files
d557d5
# Find documentation demo files.
d557d5
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
d557d5
  $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
d557d5
  -type f -o -type l | sort \
d557d5
  | grep README \
d557d5
  | sed 's|'$RPM_BUILD_ROOT'||' \
d557d5
  | sed 's|^|%doc |' \
d557d5
  >> %{name}-demo.files
d557d5
d557d5
# Create links which leads to separately installed java-atk-bridge and allow configuration
d557d5
# links points to java-atk-wrapper - an dependence
d557d5
  pushd $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir}/lib/%{archinstall}
d557d5
    ln -s %{syslibdir}/java-atk-wrapper/libatk-wrapper.so.0 libatk-wrapper.so
d557d5
  popd
d557d5
  pushd $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir}/lib/ext
d557d5
     ln -s %{syslibdir}/java-atk-wrapper/java-atk-wrapper.jar  java-atk-wrapper.jar
d557d5
  popd
d557d5
  pushd $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir}/lib/
d557d5
    echo "#Config file to  enable java-atk-wrapper" > accessibility.properties
d557d5
    echo "" >> accessibility.properties
d557d5
    echo "assistive_technologies=org.GNOME.Accessibility.AtkWrapper" >> accessibility.properties
d557d5
    echo "" >> accessibility.properties
d557d5
  popd
d557d5
3c4066
bash %{SOURCE20} $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir} %{javaver}
3c4066
# https://bugzilla.redhat.com/show_bug.cgi?id=1183793
3c4066
touch -t 201401010000 $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir $suffix}/lib/security/java.security
3c4066
3c4066
# intentioanlly only for non-debug
745a16
%pretrans headless -p <lua>
e1fe81
-- see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue
e1fe81
-- see https://bugzilla.redhat.com/show_bug.cgi?id=1290388 for pretrans over pre
e1fe81
-- if copy-jdk-configs is in transaction, it installs in pretrans to temp
e1fe81
-- if copy_jdk_configs is in temp, then it means that copy-jdk-configs is in tranasction  and so is
e1fe81
-- preferred over one in %%{_libexecdir}. If it is not in transaction, then depends 
e1fe81
-- whether copy-jdk-configs is installed or not. If so, then configs are copied
e1fe81
-- (copy_jdk_configs from %%{_libexecdir} used) or not copied at all
745a16
local posix = require "posix"
e1fe81
local debug = false
745a16
e1fe81
SOURCE1 = "%{rpm_state_dir}/copy_jdk_configs.lua"
e1fe81
SOURCE2 = "%{_libexecdir}/copy_jdk_configs.lua"
745a16
e1fe81
local stat1 = posix.stat(SOURCE1, "type");
e1fe81
local stat2 = posix.stat(SOURCE2, "type");
745a16
e1fe81
  if (stat1 ~= nil) then
745a16
  if (debug) then
e1fe81
    print(SOURCE1 .." exists - copy-jdk-configs in transaction, using this one.")
745a16
  end;
e1fe81
  package.path = package.path .. ";" .. SOURCE1
e1fe81
else 
e1fe81
  if (stat2 ~= nil) then
745a16
  if (debug) then
e1fe81
    print(SOURCE2 .." exists - copy-jdk-configs alrady installed and NOT in transation. Using.")
745a16
  end;
e1fe81
  package.path = package.path .. ";" .. SOURCE2
745a16
  else
745a16
    if (debug) then
e1fe81
      print(SOURCE1 .." does NOT exists")
e1fe81
      print(SOURCE2 .." does NOT exists")
e1fe81
      print("No config files will be copied")
e1fe81
    end
e1fe81
  return
745a16
  end
745a16
end
e1fe81
-- run contetn of included file with fake args
3c4066
arg = {"--currentjvm", "%{uniquesuffix %{nil}}", "--jvmdir", "%{_jvmdir %{nil}}", "--origname", "%{name}", "--origjavaver", "%{javaver}", "--arch", "%{_arch}", "--temp", "%{rpm_state_dir}/%{name}.%{_arch}"}
e1fe81
require "copy_jdk_configs.lua"
745a16
d557d5
%post 
d557d5
update-desktop-database %{_datadir}/applications &> /dev/null || :
d557d5
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
d557d5
exit 0
d557d5
d557d5
d557d5
%post headless
d557d5
%ifarch %{jit_arches}
71dd54
# MetaspaceShared::generate_vtable_methods not implemented for PPC JIT
71dd54
%ifnarch %{power64}
d557d5
#see https://bugzilla.redhat.com/show_bug.cgi?id=513605
d557d5
%{jrebindir}/java -Xshare:dump >/dev/null 2>/dev/null
d557d5
%endif
71dd54
%endif
d557d5
d557d5
ext=.gz
d557d5
alternatives \
e1fe81
  --install %{_bindir}/java java %{jrebindir}/java %{priority} --family %{name}.%{_arch} \
d557d5
  --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jredir} \
d557d5
  --slave %{_jvmjardir}/jre jre_exports %{jvmjardir} \
d557d5
  --slave %{_bindir}/keytool keytool %{jrebindir}/keytool \
d557d5
  --slave %{_bindir}/orbd orbd %{jrebindir}/orbd \
d557d5
  --slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \
d557d5
  --slave %{_bindir}/rmid rmid %{jrebindir}/rmid \
d557d5
  --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \
d557d5
  --slave %{_bindir}/servertool servertool %{jrebindir}/servertool \
d557d5
  --slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \
d557d5
  --slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \
d557d5
  --slave %{_mandir}/man1/java.1$ext java.1$ext \
d557d5
  %{_mandir}/man1/java-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \
d557d5
  %{_mandir}/man1/keytool-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/orbd.1$ext orbd.1$ext \
d557d5
  %{_mandir}/man1/orbd-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \
d557d5
  %{_mandir}/man1/pack200-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \
d557d5
  %{_mandir}/man1/rmid-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \
d557d5
  %{_mandir}/man1/rmiregistry-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/servertool.1$ext servertool.1$ext \
d557d5
  %{_mandir}/man1/servertool-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/tnameserv.1$ext tnameserv.1$ext \
d557d5
  %{_mandir}/man1/tnameserv-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \
d557d5
  %{_mandir}/man1/unpack200-%{uniquesuffix}.1$ext
d557d5
d557d5
for X in %{origin} %{javaver} ; do
d557d5
  alternatives \
d557d5
    --install %{_jvmdir}/jre-"$X" \
e1fe81
    jre_"$X" %{_jvmdir}/%{jredir} %{priority} --family %{name}.%{_arch} \
d557d5
    --slave %{_jvmjardir}/jre-"$X" \
d557d5
    jre_"$X"_exports %{jvmjardir}
d557d5
done
d557d5
e1fe81
update-alternatives --install %{_jvmdir}/jre-%{javaver}-%{origin} jre_%{javaver}_%{origin} %{_jvmdir}/%{jrelnk} %{priority} --family %{name}.%{_arch} \
d557d5
--slave %{_jvmjardir}/jre-%{javaver}       jre_%{javaver}_%{origin}_exports      %{jvmjardir}
d557d5
0a1101
update-desktop-database %{_datadir}/applications &> /dev/null || :
0a1101
0a1101
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
0a1101
3c4066
# see pretrans where this file is declared
3c4066
# also see that pretrans is only for nondebug
3c4066
if [ ! "%1" == %{debug_suffix} ]; then
3c4066
  if [ -f %{_libexecdir}/copy_jdk_configs_fixFiles.sh ] ; then
3c4066
    sh  %{_libexecdir}/copy_jdk_configs_fixFiles.sh %{rpm_state_dir}/%{name}.%{_arch}  %{_jvmdir}/%{sdkdir %%1}
3c4066
  fi
3c4066
fi
3c4066
3c4066
d557d5
exit 0
d557d5
d557d5
%postun
d557d5
update-desktop-database %{_datadir}/applications &> /dev/null || :
d557d5
d557d5
if [ $1 -eq 0 ] ; then
d557d5
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
d557d5
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
d557d5
fi
d557d5
d557d5
exit 0
d557d5
d557d5
d557d5
%postun headless
d557d5
  alternatives --remove java %{jrebindir}/java
d557d5
  alternatives --remove jre_%{origin} %{_jvmdir}/%{jredir}
d557d5
  alternatives --remove jre_%{javaver} %{_jvmdir}/%{jredir}
d557d5
  alternatives --remove jre_%{javaver}_%{origin} %{_jvmdir}/%{jrelnk}
d557d5
d557d5
exit 0
d557d5
745a16
%posttrans
d557d5
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
d557d5
d557d5
d557d5
d557d5
%post devel
d557d5
ext=.gz
d557d5
alternatives \
e1fe81
  --install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} --family %{name}.%{_arch} \
d557d5
  --slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdkdir} \
d557d5
  --slave %{_jvmjardir}/java java_sdk_exports %{_jvmjardir}/%{sdkdir} \
d557d5
  --slave %{_bindir}/appletviewer appletviewer %{sdkbindir}/appletviewer \
d557d5
  --slave %{_bindir}/apt apt %{sdkbindir}/apt \
d557d5
  --slave %{_bindir}/extcheck extcheck %{sdkbindir}/extcheck \
d557d5
  --slave %{_bindir}/idlj idlj %{sdkbindir}/idlj \
d557d5
  --slave %{_bindir}/jar jar %{sdkbindir}/jar \
d557d5
  --slave %{_bindir}/jarsigner jarsigner %{sdkbindir}/jarsigner \
d557d5
  --slave %{_bindir}/javadoc javadoc %{sdkbindir}/javadoc \
d557d5
  --slave %{_bindir}/javah javah %{sdkbindir}/javah \
d557d5
  --slave %{_bindir}/javap javap %{sdkbindir}/javap \
d557d5
  --slave %{_bindir}/jcmd jcmd %{sdkbindir}/jcmd \
d557d5
  --slave %{_bindir}/jconsole jconsole %{sdkbindir}/jconsole \
d557d5
  --slave %{_bindir}/jdb jdb %{sdkbindir}/jdb \
d557d5
  --slave %{_bindir}/jhat jhat %{sdkbindir}/jhat \
d557d5
  --slave %{_bindir}/jinfo jinfo %{sdkbindir}/jinfo \
d557d5
  --slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \
d557d5
  --slave %{_bindir}/jps jps %{sdkbindir}/jps \
d557d5
  --slave %{_bindir}/jrunscript jrunscript %{sdkbindir}/jrunscript \
d557d5
  --slave %{_bindir}/jsadebugd jsadebugd %{sdkbindir}/jsadebugd \
d557d5
  --slave %{_bindir}/jstack jstack %{sdkbindir}/jstack \
d557d5
  --slave %{_bindir}/jstat jstat %{sdkbindir}/jstat \
d557d5
  --slave %{_bindir}/jstatd jstatd %{sdkbindir}/jstatd \
d557d5
  --slave %{_bindir}/native2ascii native2ascii %{sdkbindir}/native2ascii \
d557d5
  --slave %{_bindir}/policytool policytool %{sdkbindir}/policytool \
d557d5
  --slave %{_bindir}/rmic rmic %{sdkbindir}/rmic \
d557d5
  --slave %{_bindir}/schemagen schemagen %{sdkbindir}/schemagen \
d557d5
  --slave %{_bindir}/serialver serialver %{sdkbindir}/serialver \
d557d5
  --slave %{_bindir}/wsgen wsgen %{sdkbindir}/wsgen \
d557d5
  --slave %{_bindir}/wsimport wsimport %{sdkbindir}/wsimport \
d557d5
  --slave %{_bindir}/xjc xjc %{sdkbindir}/xjc \
d557d5
  --slave %{_mandir}/man1/appletviewer.1$ext appletviewer.1$ext \
d557d5
  %{_mandir}/man1/appletviewer-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/apt.1$ext apt.1$ext \
d557d5
  %{_mandir}/man1/apt-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/extcheck.1$ext extcheck.1$ext \
d557d5
  %{_mandir}/man1/extcheck-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jar.1$ext jar.1$ext \
d557d5
  %{_mandir}/man1/jar-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \
d557d5
  %{_mandir}/man1/jarsigner-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/javac.1$ext javac.1$ext \
d557d5
  %{_mandir}/man1/javac-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/javadoc.1$ext javadoc.1$ext \
d557d5
  %{_mandir}/man1/javadoc-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/javah.1$ext javah.1$ext \
d557d5
  %{_mandir}/man1/javah-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/javap.1$ext javap.1$ext \
d557d5
  %{_mandir}/man1/javap-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jconsole.1$ext jconsole.1$ext \
d557d5
  %{_mandir}/man1/jconsole-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jdb.1$ext jdb.1$ext \
d557d5
  %{_mandir}/man1/jdb-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jhat.1$ext jhat.1$ext \
d557d5
  %{_mandir}/man1/jhat-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jinfo.1$ext jinfo.1$ext \
d557d5
  %{_mandir}/man1/jinfo-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jmap.1$ext jmap.1$ext \
d557d5
  %{_mandir}/man1/jmap-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jps.1$ext jps.1$ext \
d557d5
  %{_mandir}/man1/jps-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jrunscript.1$ext jrunscript.1$ext \
d557d5
  %{_mandir}/man1/jrunscript-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jsadebugd.1$ext jsadebugd.1$ext \
d557d5
  %{_mandir}/man1/jsadebugd-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jstack.1$ext jstack.1$ext \
d557d5
  %{_mandir}/man1/jstack-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jstat.1$ext jstat.1$ext \
d557d5
  %{_mandir}/man1/jstat-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/jstatd.1$ext jstatd.1$ext \
d557d5
  %{_mandir}/man1/jstatd-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/native2ascii.1$ext native2ascii.1$ext \
d557d5
  %{_mandir}/man1/native2ascii-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/policytool.1$ext policytool.1$ext \
d557d5
  %{_mandir}/man1/policytool-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \
d557d5
  %{_mandir}/man1/rmic-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/schemagen.1$ext schemagen.1$ext \
d557d5
  %{_mandir}/man1/schemagen-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \
d557d5
  %{_mandir}/man1/serialver-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/wsgen.1$ext wsgen.1$ext \
d557d5
  %{_mandir}/man1/wsgen-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/wsimport.1$ext wsimport.1$ext \
d557d5
  %{_mandir}/man1/wsimport-%{uniquesuffix}.1$ext \
d557d5
  --slave %{_mandir}/man1/xjc.1$ext xjc.1$ext \
d557d5
  %{_mandir}/man1/xjc-%{uniquesuffix}.1$ext
d557d5
d557d5
for X in %{origin} %{javaver} ; do
d557d5
  alternatives \
d557d5
    --install %{_jvmdir}/java-"$X" \
e1fe81
    java_sdk_"$X" %{_jvmdir}/%{sdkdir} %{priority} --family %{name}.%{_arch} \
d557d5
    --slave %{_jvmjardir}/java-"$X" \
d557d5
    java_sdk_"$X"_exports %{_jvmjardir}/%{sdkdir}
d557d5
done
d557d5
e1fe81
update-alternatives --install %{_jvmdir}/java-%{javaver}-%{origin} java_sdk_%{javaver}_%{origin} %{_jvmdir}/%{sdkdir} %{priority} --family %{name}.%{_arch} \
d557d5
--slave %{_jvmjardir}/java-%{javaver}-%{origin}       java_sdk_%{javaver}_%{origin}_exports      %{_jvmjardir}/%{sdkdir}
d557d5
d557d5
update-desktop-database %{_datadir}/applications &> /dev/null || :
d557d5
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
d557d5
d557d5
exit 0
d557d5
d557d5
%postun devel
d557d5
  alternatives --remove javac %{sdkbindir}/javac
d557d5
  alternatives --remove java_sdk_%{origin} %{_jvmdir}/%{sdkdir}
d557d5
  alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdkdir}
d557d5
  alternatives --remove java_sdk_%{javaver}_%{origin} %{_jvmdir}/%{sdkdir}
d557d5
d557d5
update-desktop-database %{_datadir}/applications &> /dev/null || :
d557d5
d557d5
if [ $1 -eq 0 ] ; then
d557d5
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
d557d5
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
d557d5
fi
d557d5
d557d5
exit 0
d557d5
d557d5
%posttrans  devel
d557d5
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
d557d5
d557d5
d557d5
%post javadoc
d557d5
alternatives \
d557d5
  --install %{_javadocdir}/java javadocdir %{_javadocdir}/%{uniquejavadocdir}/api \
e1fe81
  %{priority} --family %{name}
d557d5
d557d5
exit 0
d557d5
d557d5
%postun javadoc
d557d5
  alternatives --remove javadocdir %{_javadocdir}/%{uniquejavadocdir}/api
d557d5
d557d5
exit 0
d557d5
d557d5
d557d5
%files -f %{name}.files
e90868
%defattr(-,root,root,-)
d557d5
%{_datadir}/icons/hicolor/*x*/apps/java-%{javaver}.png
e90868
%{_datadir}/applications/*policytool.desktop
e90868
%{_mandir}/man1/policytool-%{uniquesuffix}.1*
d557d5
0a1101
# important note, see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue 
0a1101
# all config/norepalce files (and more) have to be declared in pretrans. See pretrans
d557d5
%files headless  -f %{name}.files-headless
d557d5
%defattr(-,root,root,-)
ebdebc
%doc %{_defaultdocdir}/%{uniquejavadocdir}/NEWS
ebdebc
%license %{_jvmdir}/%{sdkdir}/ASSEMBLY_EXCEPTION
ebdebc
%license %{_jvmdir}/%{sdkdir}/LICENSE
ebdebc
%license %{_jvmdir}/%{sdkdir}/THIRD_PARTY_README
d557d5
%dir %{_jvmdir}/%{sdkdir}
0a1101
%dir %{_jvmdir}/%{sdkdir}/jre/lib/
0a1101
%dir %{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}
0a1101
%ifarch x86_64
0a1101
%dir %{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/xawt
0a1101
%endif
d557d5
%{_jvmdir}/%{jrelnk}
d557d5
%{_jvmjardir}/%{jrelnk}
d557d5
%{_jvmprivdir}/*
d557d5
%{jvmjardir}
d557d5
%dir %{_jvmdir}/%{jredir}/lib/security
d557d5
%{_jvmdir}/%{jredir}/lib/security/cacerts
c68e50
%dir %{_jvmdir}/%{jredir %%1}/lib/security/policy/unlimited/
c68e50
%dir %{_jvmdir}/%{jredir %%1}/lib/security/policy/limited/
c68e50
%dir %{_jvmdir}/%{jredir %%1}/lib/security/policy/
93f7f9
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/policy/unlimited/US_export_policy.jar
93f7f9
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/policy/unlimited/local_policy.jar
93f7f9
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/policy/limited/US_export_policy.jar
93f7f9
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/policy/limited/local_policy.jar
d557d5
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy
d557d5
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security
176549
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklisted.certs
d557d5
%config(noreplace) %{_jvmdir}/%{jredir}/lib/logging.properties
d557d5
%{_mandir}/man1/java-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/keytool-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/orbd-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/pack200-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/rmid-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/rmiregistry-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/servertool-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/tnameserv-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/unpack200-%{uniquesuffix}.1*
d557d5
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/nss.cfg
0f9da3
# removed %%{_jvmdir}/%%{jredir}/lib/audio/
0f9da3
# see soundfont in %%install
d557d5
%ifarch %{jit_arches}
c68e50
%attr(444, root, root) %ghost %{_jvmdir}/%{jredir}/lib/%{archinstall}/server/classes.jsa
c68e50
%attr(444, root, root) %ghost %{_jvmdir}/%{jredir}/lib/%{archinstall}/client/classes.jsa
d557d5
%endif
d557d5
%{_jvmdir}/%{jredir}/lib/%{archinstall}/server/
d557d5
%{_jvmdir}/%{jredir}/lib/%{archinstall}/client/
d557d5
%{_sysconfdir}/.java/
d557d5
%{_sysconfdir}/.java/.systemPrefs
d557d5
%{_jvmdir}/%{sdkdir}/jre-abrt
d557d5
d557d5
d557d5
%files devel
d557d5
%defattr(-,root,root,-)
ebdebc
%license %{_jvmdir}/%{sdkdir}/ASSEMBLY_EXCEPTION
ebdebc
%license %{_jvmdir}/%{sdkdir}/LICENSE
ebdebc
%license %{_jvmdir}/%{sdkdir}/THIRD_PARTY_README
d557d5
%dir %{_jvmdir}/%{sdkdir}/bin
d557d5
%dir %{_jvmdir}/%{sdkdir}/include
d557d5
%dir %{_jvmdir}/%{sdkdir}/lib
d557d5
%ifarch %{jit_arches}
d557d5
%dir %{_jvmdir}/%{sdkdir}/tapset
d557d5
%endif
d557d5
%{_jvmdir}/%{sdkdir}/bin/*
d557d5
%{_jvmdir}/%{sdkdir}/include/*
d557d5
%{_jvmdir}/%{sdkdir}/lib/*
d557d5
%ifarch %{jit_arches}
d557d5
%{_jvmdir}/%{sdkdir}/tapset/*.stp
d557d5
%endif
d557d5
%{_jvmjardir}/%{sdkdir}
d557d5
%{_datadir}/applications/*jconsole.desktop
d557d5
%{_mandir}/man1/appletviewer-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/apt-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/extcheck-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/idlj-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jar-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jarsigner-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/javac-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/javadoc-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/javah-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/javap-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jconsole-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jcmd-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jdb-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jhat-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jinfo-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jmap-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jps-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jrunscript-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jsadebugd-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jstack-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jstat-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/jstatd-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/native2ascii-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/rmic-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/schemagen-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/serialver-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/wsgen-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/wsimport-%{uniquesuffix}.1*
d557d5
%{_mandir}/man1/xjc-%{uniquesuffix}.1*
d557d5
%ifarch %{jit_arches}
d557d5
%{tapsetroot}
d557d5
%endif
d557d5
d557d5
%files demo -f %{name}-demo.files
d557d5
%defattr(-,root,root,-)
ebdebc
%license %{_jvmdir}/%{sdkdir}/LICENSE
d557d5
d557d5
%files src
d557d5
%defattr(-,root,root,-)
d557d5
%doc README.src
d557d5
%{_jvmdir}/%{sdkdir}/src.zip
d557d5
d557d5
%files javadoc
d557d5
%defattr(-,root,root,-)
d557d5
%doc %{_javadocdir}/%{uniquejavadocdir}
ebdebc
%license %{buildoutputdir}/j2sdk-image/jre/LICENSE
d557d5
d557d5
%files accessibility
d557d5
%{_jvmdir}/%{jredir}/lib/%{archinstall}/libatk-wrapper.so
d557d5
%{_jvmdir}/%{jredir}/lib/ext/java-atk-wrapper.jar
d557d5
%{_jvmdir}/%{jredir}/lib/accessibility.properties
d557d5
d557d5
%changelog
ebdebc
* Wed Apr 15 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.261-2.6.22.2
ebdebc
- Modify NEWS installation to avoid subpackage naming.
ebdebc
- Resolves: rhbz#1810557
ebdebc
ebdebc
* Tue Apr 14 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.261-2.6.22.1
ebdebc
- Add release notes from IcedTea.
ebdebc
- Mark license files with appropriate macro.
ebdebc
- Resolves: rhbz#1810557
ebdebc
ebdebc
* Mon Apr 13 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.261-2.6.22.0
ebdebc
- Bump to 2.6.22 and OpenJDK 7u261-b02.
ebdebc
- Resolves: rhbz#1810557
ebdebc
565e72
* Thu Feb 06 2020 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.251-2.6.21.1
53894f
- Bump to 2.6.21 and OpenJDK 7u251-b02.
53894f
- Resolves: rhbz#1785753
53894f
565e72
* Tue Oct 15 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.241-2.6.20.1
76db28
- Bump to 2.6.20 and OpenJDK 7u241-b01.
76db28
- Drop PR1834/RH1022017 which is now handled by JDK-8228825 upstream.
565e72
- Drop JDK-8226318/RH1738637 which is now included upstream.
76db28
- Resolves: rhbz#1753423
76db28
565e72
* Fri Aug 23 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.231-2.6.19.3
565e72
- Fix crash in Class.forName0
565e72
- Resolves: rhbz#1738637
565e72
fe8207
* Tue Jul 16 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.231-2.6.19.2
fe8207
- Add missing hyphen in tapset filename.
fe8207
- Resolves: rhbz#1724452
fe8207
fe8207
* Tue Jul 16 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.231-2.6.19.1
fe8207
- Update tapset filename matching pattern.
fe8207
- Resolves: rhbz#1724452
fe8207
fe8207
* Tue Jul 16 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.231-2.6.19.1
fe8207
- Bump to 2.6.19 (including tapsets) and OpenJDK 7u231-b01.
fe8207
- Fix fsg.sh to fail if patching fails.
fe8207
- Resolves: rhbz#1724452
fe8207
e90868
* Tue Apr 16 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.221-2.6.18.1
fe8207
- Bump to 2.6.18 and OpenJDK 7u221-b02.
ea9e97
- Resolves: rhbz#1693468
ea9e97
e90868
* Fri Mar 29 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.211-2.6.17.2
e90868
- Synchronise Requires with java-1.8.0-openjdk
e90868
- Replace liblcms.so and libsctp.so in _privatelibs with libjavalcms.so and libjavasctp.so
e90868
- Add libjavagtk.so and libmawt.so to _privatelibs
e90868
- Remove duplicate fontconfig build requirement
e90868
- Remove unneeded Requires for fontconfig, lcms2 and libjpeg (all dynamically linked against)
e90868
- Add _isa to NSS requirements
e90868
- Move policytool desktop file and man page to java-1.7.0-openjdk where the binary is
e90868
- Resolves: rhbz#1608957
e90868
e90868
* Mon Feb 25 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.211-2.6.17.1
dad9bb
- Bump to 2.6.17.
dad9bb
- Adjust jdk8076221-pr2809-disable_rc4_cipher_suites.patch to apply after 8211883
dad9bb
- Regenerate pr3393-rh1273760-support_rsaandmgf1_with_sha_in_pkcs11.patch against current sources
dad9bb
- Resolves: rhbz#1661577
dad9bb
dad9bb
* Thu Feb 21 2019 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.201-2.6.17pre01.0
dad9bb
- Bump to 2.6.17pre01.
dad9bb
- Add support for icedtea_snapshot so we can build pre-releases.
dad9bb
- Resolves: rhbz#1661577
dad9bb
e90868
* Fri Dec 07 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.7.0.201-2.6.16.4
e90868
- Added %%global _find_debuginfo_opts -g
e90868
- Resolves: rhbz#1010786
e90868
e90868
* Wed Nov 07 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.201-2.6.16.2
e90868
- Bump release so y-stream takes priority over z-stream.
e90868
- Resolves: rhbz#1633817
e90868
247fa3
* Mon Oct 22 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.201-2.6.16.1
247fa3
- Bump to 2.6.16 and u201b00.
247fa3
- Update 8076221/PR2809 (disable RC4) to apply after 8208350 (disable DES)
247fa3
- Resolves: rhbz#1633817
247fa3
17ae68
* Sun Jul 22 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.191-2.6.15.5
c68e50
- Bump to revised 2.6.15 tarball with PR3616 -notimestamp javadoc fix
c68e50
- Resolves: rhbz#1594249
c68e50
17ae68
* Thu Jul 19 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.191-2.6.15.4
c68e50
- Bump to revised 2.6.15 tarball with jdk7u191-b01
c68e50
- Resolves: rhbz#1594249
c68e50
17ae68
* Mon Jul 16 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.7.0.191-2.6.15.3
c68e50
- Fix hook to show hs_err*.log files on failures.
17ae68
- Resolves: rhbz#1600969
c68e50
17ae68
* Mon Jul 16 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.7.0.191-2.6.15.3
c68e50
- Fix requires/provides filters for internal libs. See RHBZ#1590796
17ae68
- Resolves: rhbz#1600969
c68e50
17ae68
* Wed Jul 11 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.191-2.6.15.2
c68e50
- Bump to revised 2.6.15 tarball with PR3604
c68e50
- Resolves: rhbz#1594249
c68e50
17ae68
* Tue Jul 03 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.191-2.6.15.1
c68e50
- Bump to 2.6.15 and u191b00.
c68e50
- Drop PR3608/RH1566890/CVE-2018-3639 patch now applied upstream.
c68e50
- Resolves: rhbz#1594249
c68e50
17ae68
* Tue Jul 03 2018 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.7.0.181-2.6.14.11
c68e50
- Add hook to show hs_err*.log files on failures.
c68e50
- Resolves: rhbz#1594249
c68e50
17ae68
* Tue Jul 03 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.181-2.6.14.11
c68e50
- Cleanup RH1566890 patch and differentiate from java-1.8.0-openjdk version.
c68e50
- Resolves: rhbz#1594249
c68e50
17ae68
* Wed Jun 20 2018 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.181-2.6.14.11
c68e50
- jsa files changed to 444 to pass rpm verification
c68e50
- Add reg-ex for filtering private libraries' provides/requires.
c68e50
- Resolves: rhbz#1594249
c68e50
17ae68
* Tue May 22 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.181-2.6.14.10
c68e50
- Fix patch files to appease git apply --stat
17ae68
- Resolves: rhbz#1578561
c68e50
17ae68
* Thu Apr 26 2018 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.181-2.6.14.9
6b07ba
- added and applied 1566890_embargoed20180521.patch
17ae68
- Resolves: rhbz#1578561
6b07ba
17ae68
* Thu Apr 26 2018 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.181-2.6.14.6
1daf7b
- added depndence on latest c-j-c who do not have the incorrect jre-abrt handling
1daf7b
- Resolves: rhbz#1559766
1daf7b
17ae68
* Fri Apr 20 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.181-2.6.14.4
17ae68
- Bump release so RHEL 7.6 version is higher than RHEL 7.5.z.
1daf7b
- Resolves: rhbz#1559766
1daf7b
17ae68
* Fri Apr 20 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.181-2.6.14.2
1daf7b
- Fix invalid license 'LGPL+' (should be LGPLv2+ for ECC code) and add missing ones
1daf7b
- Resolves: rhbz#1559766
1daf7b
17ae68
* Thu Apr 19 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.181-2.6.14.1
1daf7b
- Bump to 2.6.14 and u181b00.
1daf7b
- Drop 8197981 Zero 32-bit patch now applied upstream.
1daf7b
- Update RC4 patch (8076221/PR2809) to apply after 8175075 (disable 3DES)
1daf7b
- Resolves: rhbz#1559766
1daf7b
d783b6
* Wed Feb 21 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.2
d783b6
- Remove archflags for now.
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Wed Feb 21 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.2
d783b6
- Make archflags inclusion conditional.
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Wed Feb 21 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.2
d783b6
- Only define archflags when needed
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Wed Feb 21 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.2
d783b6
- Get rid of troublesome CFLAGS altogether.
83442e
- Resolves: rhbz#1528233
83442e
d783b6
* Wed Feb 21 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.2
d783b6
- Leading spaces due to empty CFLAGS causes build error
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Wed Feb 21 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.2
d783b6
- Rebuild with RPM optimisation flags disabled due to issues on x86 multilib
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Thu Feb 15 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.1
d783b6
- Spoke too soon... fix missing return statement in src/os_cpu/linux_zero/vm/os_linux_zero.cpp (non-LP64 only)
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Thu Feb 15 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.1
83442e
- Update to new tarball with AArch64 return value fixes, dropping local patch.
d783b6
- Drop -Wno-error=return-type now they appear to be fixed.
83442e
- Resolves: rhbz#1528233
83442e
d783b6
* Wed Feb 14 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.1
dad9bb
- Extend pr3393-rh1273760-support_rsaandmgf1_with_sha_in_pkcs11.patch so Token.getMechanismInfo can handle CK_MECHANISM
d783b6
- Fix missing return statement in hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Tue Feb 13 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.1
d783b6
- Fix missing return statement in hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp
d783b6
- Temporarily add -Wno-error=return-type so we can catch them all.
83442e
- Resolves: rhbz#1528233
83442e
d783b6
* Tue Feb 13 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.1
d783b6
- Fix missing return statement in hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp.
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Tue Feb 13 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.171-2.6.13.1
83442e
- Bump to 2.6.13 and u171b01.
dad9bb
- Update rh1648644-java_access_bridge_privlidged_security.patch to apply after 8186080
83442e
- Drop PR3497 AArch64 patch now applied upstream.
83442e
- Update RC4 patch (8076221/PR2809) to apply after 8148108 (DH lower limit increase)
83442e
- Resolves: rhbz#1528233
83442e
d783b6
* Tue Feb 13 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.161-2.6.12.2
d783b6
- Turn off -Werror for format-nonliteral
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Tue Feb 13 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.161-2.6.12.2
d783b6
- Need to quote ourcppflags/ourldflags so as not to break on spaces.
d783b6
- Add flags to both make invocations.
d783b6
- Drop -fstack-protector-strong addition as provided by distro.
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Tue Feb 13 2018 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.161-2.6.12.2
d783b6
- Use distro build flags as we do for OpenJDK 8.
d783b6
- Resolves: rhbz#1528233
d783b6
d783b6
* Tue Nov 28 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.161-2.6.12.1
d783b6
- Turn on hsbootstrap for JIT arches
d783b6
- Resolves: rhbz#1499207
d783b6
d783b6
* Tue Nov 28 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.161-2.6.12.1
93f7f9
- Remove superfluous %%1 from policy JAR file path.
93f7f9
- Resolves: rhbz#1499207
93f7f9
d783b6
* Tue Nov 28 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.161-2.6.12.1
93f7f9
- Add missing implementation of Matcher::pass_original_key_for_aes() on AArch64 (PR3497)
93f7f9
- Resolves: rhbz#1499207
93f7f9
d783b6
* Tue Nov 28 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.161-2.6.12.1
93f7f9
- Update location of policy JAR files following 8157561.
93f7f9
- Resolves: rhbz#1499207
93f7f9
d783b6
* Tue Nov 28 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.161-2.6.12.1
93f7f9
- Fix name of SystemTap tarball, following update.
93f7f9
- Resolves: rhbz#1499207
93f7f9
d783b6
* Tue Nov 28 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.161-2.6.12.1
93f7f9
- Bump to 2.6.12 and u161b00.
93f7f9
- Update SystemTap tapsets to version in IcedTea 2.6.12pre01 to fix RH1492139.
d783b6
- Drop 8185716, 8145438, 8138745 and 8075484 patches, all applied upstream.
93f7f9
- Update location of OpenJDK zlib system library source code in remove-intree-libraries.sh
93f7f9
- Resolves: rhbz#1499207
93f7f9
d783b6
* Thu Oct 26 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.151-2.6.11.4
d783b6
- Add backport of 8075484/PR3473/RH1490713 (SocketInputStream.socketRead0 hang)
d783b6
- Resolves: rhbz#1490713
72f298
d783b6
* Thu Oct 26 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.151-2.6.11.4
d783b6
- Add backport of 8138745/PR3465/RH1484399 (-XX:+ExitOnOutOfMemoryError)
d783b6
- Resolves: rhbz#1484399
d783b6
d783b6
* Thu Oct 26 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.151-2.6.11.3
d783b6
- Fix crashing virtual machine ("Field too big for insn") on AArch64
d783b6
- Resolves: rhbz#1482244
d783b6
d783b6
* Wed Aug 02 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.151-2.6.11.2
72f298
- Bump to 2.6.11 and u151b00.
72f298
- Update java-access-bridge-security.patch to apply against 2.6.11.
72f298
- Drop 7177216 merge fix which is applied upstream.
d783b6
- Apply fix for 8185716 so ppc uses correct ins_encode format
72f298
- Resolves: rhbz#1466509
72f298
3c4066
* Tue Jun 13 2017 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.141-2.6.10.5
3c4066
- make to use latest c-j-c and so fix persisting issues with java.security and other configfiles
3c4066
- aligned with this change, applied repackReproduciblePolycies.sh
3c4066
- 1183793 is missing blocker
3c4066
- Resolves: rhbz#1448880
3c4066
3c4066
* Wed Jun 07 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.141-2.6.10.4
3c4066
- Fix merge error with "native2ascii changes file permissions of input file"
3c4066
- Resolves: rhbz#1446700
3c4066
3c4066
* Wed May 17 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.141-2.6.10.3
3c4066
- Add support for using RSAandMGF1 with the SHA hash algorithms in the PKCS11 provider 
3c4066
- Resolves: rhbz#1273760
3c4066
3c4066
* Wed May 03 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.141-2.6.10.2
b2afa8
- Bump to u141b02 to include S8011123 fix for TCK failure.
b2afa8
- Resolves: rhbz#1438751
b2afa8
3c4066
* Thu Apr 27 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.141-2.6.10.1
3c4066
- Bump to u141b01 to include S8043723 fix for s390.
3c4066
- Resolves: rhbz#1438751
3c4066
3c4066
* Thu Apr 27 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.141-2.6.10.1
b2afa8
- Bump to 2.6.10 and u141b00.
b2afa8
- Add more detailed output to fsg.sh and generate_source_tarball.sh.
b2afa8
- Update md5sum list with checksum for the new java.security file.
3c4066
- Drop 8173783 backport which is now applied upstream.
b2afa8
- Resolves: rhbz#1438751
b2afa8
3c4066
* Wed Apr 05 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.131-2.6.9.3
3c4066
- Backport "8173783: IllegalArgumentException: jdk.tls.namedGroups"
3c4066
- Apply backports before local RPM fixes so they will be the same as when applied upstream
3c4066
- Adjust RH1022017 following application of 8173783
3c4066
- Resolves: rhbz#1422738
3c4066
3c4066
* Tue Apr 04 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.131-2.6.9.2
3c4066
- Introduce stapinstall variable to set SystemTap arch directory correctly (e.g. arm64 on aarch64)
3c4066
- Update jstack tapset to handle AArch64
3c4066
- Handle unsupported architectures by calling the error function rather than a parse failure
3c4066
- ABS_JAVA_HOME_DIR is no longer used in the updated tapsets
3c4066
- Resolves: rhbz#1373986
176549
3c4066
* Tue Feb 07 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.131-2.6.9.1
176549
- Bump to 2.6.9 and u131b00.
176549
- Remove patch application debris in fsg.sh.
176549
- Re-generate PR2809 and RH1022017 against 2.6.9.
176549
- Update md5sum list with checksum for the new java.security file.
3c4066
- Add blacklisted.certs to installation file list.
176549
- Resolves: rhbz#1410612
176549
3c4066
* Mon Jan 09 2017 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.121-2.6.8.1
3c4066
- Bump release for rhel-7.4 branch. Fix "luncher" typo.
3c4066
- Resolves: rhbz#1383251
3c4066
d17c97
* Mon Oct 31 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.121-2.6.8.0
d17c97
- Turn off HotSpot bootstrap to see if it resolves build issues.
d17c97
- Resolves: rhbz#1381990
d17c97
d17c97
* Fri Oct 28 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.121-2.6.8.0
d17c97
- Bump to 2.6.8 and u121b00.
d17c97
- Drop patches (S7081817, S8140344, S8145017 and S8162344) applied upstream.
d17c97
- Update md5sum list with checksum for the new java.security file.
d17c97
- Resolves: rhbz#1381990
d17c97
e1fe81
* Mon Sep 05 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.111-2.6.7.7
e1fe81
- Rebuild java-1.7.0-openjdk for GCC aarch64 stack epilogue code generation fix (RH1372747)
e1fe81
- Resolves: rhbz#1350042
e1fe81
e1fe81
* Wed Aug 31 2016 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.111-2.6.7.6
e1fe81
- declared check_sum_presented_in_spec and used in prep and check
e1fe81
- it is checking that latest packed java.security is mentioned in listing
e1fe81
- Resolves: rhbz#1350042
e1fe81
e1fe81
* Wed Aug 31 2016 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.111-2.6.7.6
e1fe81
- New variable, @prefix@, needs to be substituted in tapsets (rhbz1371005)
e1fe81
- Resolves: rhbz#1350042
e1fe81
e1fe81
* Wed Aug 31 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.111-2.6.7.5
e1fe81
- Change to disable RC4 did not add MD5 checksum of previous java.security file from 2016/01
e1fe81
- Resolves: rhbz#1350042
e1fe81
e1fe81
* Tue Jul 26 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.111-2.6.7.4
e1fe81
- Require a version of java-1.7.0-openjdk-devel with a working jar uf
e1fe81
- Use readlink rather than a wildcard to resolve the system JDK directory
e1fe81
- Resolves: rhbz#1350042
e1fe81
e1fe81
* Fri Jul 22 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.111-2.6.7.3
e1fe81
- Add additional changes to 8162344 to fix issues which only show up on a full build.
e1fe81
- Resolves: rhbz#1350042
e1fe81
e1fe81
* Fri Jul 22 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.111-2.6.7.3
f05b8e
- Bump to jdk7u111 b01 to fix TCK regressions (7081817 & 8162344)
e1fe81
- Resolves: rhbz#1350042
f05b8e
e1fe81
* Thu Jul 21 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.111-2.6.7.2
f05b8e
- Reset permissions of resources.jar to avoid it only being readable by root (PR1437).
e1fe81
- Resolves: rhbz#1350042
f05b8e
e1fe81
* Wed Jul 20 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.111-2.6.7.1
f05b8e
- Bump to 2.6.7 and u111b00.
f05b8e
- Update SystemTap bundle with fix for PR3091/RH1204159
e1fe81
- Drop patches (PR2938, PR2939, PR3012, PR3013 and PR1437) applied upstream.
e1fe81
- Resolves: rhbz#1350042
e1fe81
e1fe81
* Thu Jun 30 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.101-2.6.6.6
e1fe81
- Add fix for PR1437 which reapplies 7175845 fix lost in merge.
e1fe81
- Resolves: rhbz#1207129
e1fe81
e1fe81
* Thu Jun 30 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.101-2.6.6.6
e1fe81
- Add fix for 8069181/PR3012 and pre-requisites from PR3013.
e1fe81
- Add bug information for backports from last CPU.
e1fe81
- Resolves: rhbz#1015612
e1fe81
e1fe81
* Tue Jun 21 2016 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.101-2.6.6.4
e1fe81
- luascripts extracted and used from separate package
e1fe81
- added requirement on at least build time nss
e1fe81
- added --family and dependence on chkconfig >=1.7
e1fe81
- in adition, family is restricted by arch
e1fe81
- Resolves: rhbz#1296441
e1fe81
- Resolves: rhbz#1296413
e1fe81
e1fe81
* Tue Jun 07 2016 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.101-2.6.6.3
e1fe81
- added requires for copy-jdk-configs, to help with https://projects.engineering.redhat.com/browse/RCM-3654
e1fe81
- Resolves: rhbz#1296441
e1fe81
e1fe81
* Tue Apr 19 2016 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.101-2.6.6.2
b2a4fc
- added Patch666 fontpath.patch to fix tck regressions
e1fe81
- Resolves: rhbz#1325428
b2a4fc
e1fe81
* Mon Apr 18 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.101-2.6.6.1
b2a4fc
- Fix ztos handling in templateTable_ppc_64.cpp to be same as others in 7.
e1fe81
- Resolves: rhbz#1325428
b2a4fc
e1fe81
* Mon Apr 18 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.101-2.6.6.1
b2a4fc
- Bump to 2.6.6 and u101b00.
b2a4fc
- Drop AArch64 patch (PR2914) included in 2.6.6
b2a4fc
- Drop a leading zero from the priority as the update version is now three digits
b2a4fc
- Update PR2809 patch to apply against 2.6.6.
e1fe81
- Resolves: rhbz#1325428
e1fe81
e1fe81
* Mon Apr 18 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.99-2.6.5.5
e1fe81
- Backout S4858370.
e1fe81
- Resolves: rhbz#1284948
b2a4fc
e1fe81
* Wed Apr 06 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.99-2.6.5.4
b2a4fc
- Replace 8146709 backout with fix from Andrew Haley
e1fe81
- Resolves: rhbz#1310061
b2a4fc
e1fe81
* Tue Apr 05 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.99-2.6.5.3
b2a4fc
- Backout 8146709 to try and fix build on AArch64
e1fe81
- Resolves: rhbz#1310061
b2a4fc
e1fe81
* Mon Apr 04 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.99-2.6.5.2
e1fe81
- Add fix for S4858370.
e1fe81
- Resolves: rhbz#1284948
e1fe81
e1fe81
* Thu Mar 24 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.99-2.6.5.1
faf80e
- Bump to 2.6.5 and u99b00.
faf80e
- Correct check for fsg.sh in tarball creation script
e1fe81
- Drop AArch64 ADRP backports (8143067, 8146709) included in 2.6.5
e1fe81
- Resolves: rhbz#1320659
e1fe81
e1fe81
* Thu Mar 03 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.95-2.6.4.3
e1fe81
- Add AArch64 ADRP backports
e1fe81
- Resolves: rhbz#1310061
e1fe81
e1fe81
* Wed Jan 27 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.95-2.6.4.2
e1fe81
- Disable RC4 by default.
e1fe81
- Resolves: rhbz#1302385
faf80e
e1fe81
* Tue Jan 19 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.95-2.6.4.1
dbc577
- Bump to 2.6.4 and u95b00.
dbc577
- Backport tarball creation script from OpenJDK 8 RPMs and update fsg.sh to work with it.
dbc577
- Drop 8072932or8074489 patch as applied upstream in u91b01.
dbc577
- Add MD5 checksums for last two version of the java.security file.
e1fe81
- Correct date of ChangeLog entry below.
e1fe81
- Resolves: rhbz#1295769
e1fe81
e1fe81
* Thu Nov 12 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.91-2.6.2.4
e1fe81
- fixed headless to become headless again
e1fe81
 - jre/lib/archinstall/libjavagtk.so
e1fe81
 - jre/bin/policytool
e1fe81
 - jre-abrt/lib/archinstall/libjavagtk.so
e1fe81
 - all three added to not headless exclude list
e1fe81
- see rhbz1141123
e1fe81
- Resolves: rhbz#1278987
dbc577
dbc577
* Tue Oct 20 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.91-2.6.2.3
0f9da3
- added and applied patch500 8072932or8074489.patch to fix tck failure
5720b1
- Resolves: rhbz#1271923
0f9da3
5720b1
* Mon Oct 19 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.91-2.6.2.2
0f9da3
- Turn off deletion of in-tree LCMS sources as we now need them.
5720b1
- Resolves: rhbz#1271923
0f9da3
5720b1
* Mon Oct 19 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.91-2.6.2.1
0f9da3
- Bump to 2.6.2 and u91b00.
0f9da3
- Disable system LCMS 2 for now until security of it can be verified.
5720b1
- Drop patches for PR2560/RH1245855 as now applied upstream.
0f9da3
- Sync minor changes from RHEL 6 spec file.
5720b1
- Resolves: rhbz#1271923
0f9da3
5720b1
* Wed Oct 14 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.85-2.6.1.7
0f9da3
- removed link to soundfont. Unused in rhel7 and will be fixed upstream
0f9da3
- Resolves: rhbz#1257653
0f9da3
5720b1
* Mon Aug 31 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.85-2.6.1.6
5720b1
- bumped release to allow update testing of previous chnageset
5720b1
- Resolves: rhbz#1235159
5720b1
5720b1
* Mon Aug 31 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.85-2.6.1.5
5720b1
- removed rm -rf in headless post
5720b1
- Resolves: rhbz#1235159
5720b1
5720b1
* Mon Jul 27 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.4
5720b1
- Backport JDWP null fixes.
5720b1
- Resolves: rhbz#1245855
5720b1
5720b1
* Thu Jul 23 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.3
5720b1
- Backport fixes for debugger crash
5720b1
- Resolves: rhbz#1245855
5720b1
71dd54
* Sat Jul 11 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.2
71dd54
- Bump upstream tarball to u25b01 to fix issue with 8075374 backport.
5720b1
- Resolves: rhbz#1235159
71dd54
71dd54
* Thu Jul 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.1
71dd54
- Update OpenJDK tarball so correct version is used.
5720b1
- Resolves: rhbz#1235159
71dd54
71dd54
* Thu Jul 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.0
71dd54
- Add additional java.security md5sum from January CPU
5720b1
- Resolves: rhbz#1235159
71dd54
71dd54
* Thu Jul 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.0
71dd54
- Bump to 2.6.1 and u85b00.
5720b1
- Resolves: rhbz#1235159
71dd54
71dd54
* Wed Jul 08 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.80-2.6.0.1
71dd54
- Pass SYSTEM_GSETTINGS="true" to the OpenJDK build to explicitly enable the GSettings API.
5720b1
- Resolves: rhbz#1194226
71dd54
71dd54
* Wed Jul 08 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.80-2.6.0.0
71dd54
- Add GConf2-devel dependency for native proxy fallback support.
71dd54
- Remove libxslt dependency pulled in from IcedTea builds.
71dd54
- Reduce redhat-lsb dependency to redhat-lsb-core (lsb_release)
5720b1
- Resolves: rhbz#1194226
71dd54
71dd54
* Wed Jul 08 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.80-2.6.0.0
71dd54
- Bump to 2.6.0 and u80b32.
71dd54
- Drop upstreamed patches and separate AArch64 HotSpot.
71dd54
- Add dependencies on pcsc-lite-devel (PR2496) and lksctp-tools-devel (PR2446)
71dd54
- Only run -Xshare:dump on JIT archs other than power64 as port lacks support
5720b1
- Update remove-intree-libraries script to cover LCMS and PCSC headers.
5720b1
- Resolves: rhbz#1194226
5720b1
5720b1
* Wed Jun 24 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.79-2.5.5.4
5720b1
- Fix name resolution when /etc/resolv.conf lists an IPv6 nameserver
5720b1
- Resolves: rhbz#1203666
5720b1
5720b1
* Wed Apr 29 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.79-2.5.5.3
5720b1
- Re-based SunEC changes onto latest RPM from private branch
5720b1
- Resolves: rhbz#1121210
71dd54
5582a8
* Fri Apr 24 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.79-2.5.5.2
5582a8
- Fix crash on ppc64le when running Apache Oozie
5720b1
- Resolves: rhbz#1201393
5582a8
5582a8
* Fri Apr 10 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.79-2.5.5.1
2e7f34
- repacked sources
5720b1
- Resolves: rhbz#1209073
2e7f34
5582a8
* Tue Apr 07 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.79-2.5.5.0
2e7f34
- Bump to 2.5.5 using OpenJDK 7u79 b14.
2e7f34
- Update OpenJDK tarball creation comments
2e7f34
- Remove test case for RH1191652 now fix has been verified.
2e7f34
- Drop AArch64 version of RH1191652 HotSpot patch as included upstream.
5720b1
- Resolves: rhbz#1209073
2e7f34
3c3d8d
* Wed Mar 04 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.7
3c3d8d
- ppc64le now has pulseaudio
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Tue Mar 03 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.6
5720b1
- Fix use of unapproved bug ID (resolved as duplicate) in changelog entry.
5720b1
- Resolves: rhbz#1191652
5720b1
5720b1
* Tue Mar 03 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.6
3c3d8d
- Provide AArch64 version of RH1191652 HotSpot patch.
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 27 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Turn off hsbootstrap on all archs
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 27 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Add missing bracket.
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 27 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
5720b1
- Turn off hsbootstrap on all archs
5720b1
- Resolves: rhbz#1191652
5720b1
5720b1
* Fri Feb 27 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
5720b1
- Add missing bracket.
5720b1
- Resolves: rhbz#1191652
5720b1
5720b1
* Fri Feb 27 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Ensure VM directory exists before copying libjvm.so
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 27 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Fix path to libjvm.so used in hsbootstrap to a more general one.
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Thu Feb 26 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Fix hsbootstrap option on ppc64le where JDK_TO_BUILD_WITH is changed.
3c3d8d
- Print uname to feedback to upstream OpenJDK.
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Thu Feb 26 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Test a hsbootstrap build on ppc64le
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Adjust archbuild instead as JDK build is now using ppc64le
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Add ppc64le defines for javax.sound
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Add jvm.cfg for ppc64le
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
5720b1
- Adjust archbuild instead as JDK build is now using ppc64le
5720b1
- Resolves: rhbz#1191652
5720b1
5720b1
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
5720b1
- Add ppc64le defines for javax.sound
5720b1
- Resolves: rhbz#1191652
5720b1
5720b1
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
5720b1
- Add jvm.cfg for ppc64le
5720b1
- Resolves: rhbz#1191652
5720b1
5720b1
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Add patch for RH1191652 on the JDK side
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Adjust archinstall and ppc64le workaround to establish jre/lib/ppc64le
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Fix patch for RH1191652 to override LIBARCH on ppc64le as there is no BUILDARCH
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Fix patch for RH1191652 to apply against 2.5 (original against HEAD)
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
5720b1
- Fix patch for RH1191652 to override LIBARCH on ppc64le as there is no BUILDARCH
5720b1
- Resolves: rhbz#1191652
5720b1
5720b1
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
5720b1
- Fix patch for RH1191652 to apply against 2.5 (original against HEAD)
5720b1
- Resolves: rhbz#1191652
5720b1
5720b1
* Fri Feb 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.5
3c3d8d
- Use arch name of ppc64le on ppc64le rather than ppc64.
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Mon Feb 02 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.4
3c3d8d
- Symlink ppc64 directory to ppc64le
3c3d8d
- Run test application to print architecture-specific paths stored in the JDK
3c3d8d
- Resolves: rhbz#1191652
3c3d8d
3c3d8d
* Tue Jan 27 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.75-2.5.4.3
3c3d8d
- removed source14 remove-origin-from-rpaths (1169097)
3c3d8d
- removed build requirement for chrpath
3c3d8d
- Resolves: rhbz#1180298
3c3d8d
79d80c
* Fri Jan 16 2015 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.7.0.75-2.5.4.2
79d80c
- Replace unmodified java.security file via headless post scriptlet.
3c3d8d
- Resolves: rhbz#1180298
79d80c
79d80c
* Sun Jan 11 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.1
79d80c
- Fix macro expansion in changelog
3c3d8d
- Resolves: rhbz#1180298
79d80c
79d80c
* Fri Jan 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.1
79d80c
- Fix elliptic curve list as part of fsg.sh
3c3d8d
- Resolves: rhbz#1180298
3c3d8d
3c3d8d
* Fri Jan 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.1
3c3d8d
- Bump release so that the RHEL 7.1 version is built on AArch64.
3c3d8d
- Resolves: rhbz#1180298
79d80c
79d80c
* Fri Jan 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.0
79d80c
- Bump to 2.5.4 using OpenJDK 7u75 b13.
79d80c
- Bump AArch64 port to 2.6.0pre17.
dad9bb
- Fix rh1648241-rh1648241-abrt_friendly_hs_log_jdk7.patch to apply again and enable on all archs.
3c3d8d
- Remove OpenJDK 8 / AArch64 version of PStack patch as this is no longer needed.
3c3d8d
- Resolves: rhbz#1180298
3c3d8d
3c3d8d
* Tue Dec 16 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.71-2.5.3.4
3c3d8d
- aarch64 sources updated to most recent stable tag
3c3d8d
- adapted patch4030 PStack-808293-aarch64.patch
3c3d8d
- removed upstreamed CPU patches (patch500-509, 20141014*)
3c3d8d
- Resolves: rhbz#1125260
79d80c
3c3d8d
* Mon Oct 06 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.71-2.5.3.3
3c3d8d
- Set ENABLE_FULL_DEBUG_SYMBOLS=0 for aarch64 to retain debuginfo in files.
3c3d8d
- Resolves: rhbz#1148894
79d80c
3c3d8d
* Sat Oct 04 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.71-2.5.3.2
3c3d8d
- Add HS security patches for aarch64.
3c3d8d
- Resolves: rhbz#1148894
3c3d8d
3c3d8d
* Fri Oct 03 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.71-2.5.3.1
aa8380
- Bump to 2.5.3 for latest security fixes.
3c3d8d
- Remove obsolete patches and CFLAGS which are now upstream.
aa8380
- Add hsbootstrap option to pre-build HotSpot when required.
3c3d8d
- Resolves: rhbz#1148894
3c3d8d
3c3d8d
* Thu Oct 02 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1.7.0.65-2.5.1.12
3c3d8d
- Bump release for self-build.
3c3d8d
- Resolves: RHBZ#1125557.
3c3d8d
3c3d8d
* Tue Sep 23 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1.7.0.65-2.5.1.11
3c3d8d
- Add hotspot compiler flag -fno-tree-vectorize which fixes the segfault in
3c3d8d
  the bytecode verifier on ppc/ppc64.
3c3d8d
3c3d8d
* Tue Sep 23 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1.7.0.65-2.5.1.10
3c3d8d
- Add patches for PPC zero build.
3c3d8d
- Fixes stack overflow problem. See RHBZ#1015432.
3c3d8d
- Fixes missing memory barrier in Atomic::xchg*
3c3d8d
- Fixes missing PPC32/PPC64 defines for Zero builds on power.
3c3d8d
3c3d8d
* Mon Sep 22 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1.7.0.65-2.5.1.9
3c3d8d
- Remove obsolete PPC/PPC64 patches.
3c3d8d
3c3d8d
* Thu Sep 11 2014 Omair Majid <omajid@redhat.com> - 1.7.0.65-2.5.1.8
3c3d8d
- Update aarch64 port to jdk7u60_b04_aarch64_834
3c3d8d
- Resolves: rhbz#1082779
3c3d8d
3c3d8d
* Tue Aug 19 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.7
3c3d8d
- added and applied patch666 stackoverflow-ppc32_64-20140828.patch
3c3d8d
- returned ppc (rebuild in brew must be done by 2.4.x)
3c3d8d
- Resolves: rhbz#1125557
3c3d8d
3c3d8d
* Tue Aug 19 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.6
3c3d8d
- added ExcludeArch: ppc
3c3d8d
- Resolves: rhbz#1125557
3c3d8d
3c3d8d
* Mon Aug 04 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.65-2.5.1.5
3c3d8d
- Add workaround to build on ppc64le where arch directory is still ppc64le, not ppc64
3c3d8d
- Resolves: rhbz#1125557
3c3d8d
3c3d8d
* Wed Jul 30 2014 Omair Majid <omajid@redhat.com> - 1.7.0.65-2.5.1.4
3c3d8d
- Bump release to build package on aarch64
3c3d8d
- Resolves: rhbz#1082779
3c3d8d
3c3d8d
* Wed Jul 30 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.3
3c3d8d
- Update aarch64 to latest version
3c3d8d
- Resolves: rhbz#1082779
aa8380
5720b1
* Thu Jul 17 2014 Andrew Hughes <ahughes@redhat.com> - 1:1.7.0.65-2.5.1.3
5720b1
- NSS_LIBS should be set from nss pkgconfig, not nss-softokn
5720b1
- Resolves: rhbz#1121210
5720b1
0a1101
* Mon Jul 14 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.2
0a1101
- added and applied fix for samrtcard io patch405, pr1864_smartcardIO.patch
3c3d8d
- Resolves: rhbz#1115877
0a1101
0a1101
* Mon Jul 07 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.1
0a1101
- updated to security patched icedtea7-forest-2.5.1
3c3d8d
- Resolves: rhbz#1115877
0a1101
3c3d8d
* Wed Jul 02 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.60-2.5.0.3
0a1101
- updated to icedtea7-forest-2.5.0 (rh1114934)
3c3d8d
- Resolves: rhbz#1099566
0a1101
5720b1
* Tue Jul 01 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.60-2.5.0.2
5720b1
- Add nss-softokn dependency for SunEC provider
5720b1
- Resolves: rhbz#1121210
5720b1
5720b1
* Mon Jun 30 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.60-2.5.0.1
5720b1
- Enable SunEC provider with system NSS support.
5720b1
- Resolves: rhbz#1121210
5720b1
7d28d3
* Fri May 30 2014 Andrew John Hughes <gnu.andrew@redhat.com> - 1.7.0.55-2.4.7.2
7d28d3
- Remove NSS patches. Issues with PKCS11 provider mean it shouldn't be enabled.
7d28d3
- Always setup nss.cfg and depend on nss-devel at build-time to do so.
7d28d3
- This allows users who wish to use PKCS11+NSS to just add it to java.security.
7d28d3
- Patches to PKCS11 provider will be included upstream in 2.4.8 (ETA July 2014)
7d28d3
- Resolves: rhbz#1099565
7d28d3
7d28d3
* Tue May 20 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.55-2.4.7.0.el7
7d28d3
- bumped to future icedtea-forest 2.4.7
7d28d3
- updatever set to 55, buildver se to 13, release reset to 0
7d28d3
- removed upstreamed patch402 gstackbounds.patch
7d28d3
- removed Requires: rhino, BuildRequires is enough
7d28d3
- ppc64 repalced by power64 macro
7d28d3
- patch111 applied as dry-run (6.6 forward port)
7d28d3
- nss enabled, but notused as default (6.6 forward port)
7d28d3
- Resolves: rhbz#1099565
7d28d3
745a16
* Fri Apr 04 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.5.el7
745a16
- added OrderWithRequires on headless where possible
745a16
- Resolves: rhbz#1038092
745a16
745a16
* Thu Mar 27 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.3.el7
745a16
- synced lua script from fedora.
745a16
- Resolves: rhbz#1038092
745a16
745a16
* Fri Mar 14 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.2.el7
745a16
- added fstack-protector-strong to CFLAGS
745a16
- Resolves: rhbz#1070816
745a16
745a16
* Thu Mar 06 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.1.el7
745a16
- diabled NSS. Missuisng 1038092 for it as it is in hurry.
745a16
- Related: rhbz#1038092
745a16
745a16
* Thu Jan 30 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.0.el7
745a16
- updated to icedtea 2.4.5 + sync with f21
745a16
 - http://blog.fuseyism.com/index.php/2014/01/29/icedtea-2-4-5-released/
745a16
- removed buildRequires: pulseaudio >= 0.9.11, as not neccessary
745a16
 -  but kept libs-devel)
745a16
- removed upstreamed or unwonted patches (thanx to gnu_andrew to pointing them out)
745a16
 - patch410 1015432.patch (upstreamed)
745a16
 - patch411 1029588.patch
745a16
 - patch412 zero-x32.diff
745a16
 - patch104 java-1.7.0-ppc-zero-jdk.patch
745a16
 - patch105 java-1.7.0-ppc-zero-hotspot.patch
745a16
- patch402 gstackbounds.patch and patch403 PStack-808293.patch applied always
745a16
 (again thanx to gnu_andrew)
745a16
- merged other gnu_andrew's changes
745a16
 - FT2_CFLAGS and FT2_LIBS hardoced values replaced by correct pkg-config calls 
745a16
 - buildver bumbed to 31
745a16
- added build requires  nss-devel
745a16
- removed build requires mercurial
745a16
- added JRE_RELEASE_VERSION and ALT_PARALLEL_COMPILE_JOBS into make call
745a16
- Related: rhbz1038092
745a16
745a16
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 1.7.0.51-2.4.4.1
745a16
- Mass rebuild 2014-01-24
745a16
745a16
* Fri Jan 10 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.4.0.el7
745a16
- updated to security icedtea 2.4.4
745a16
 - icedtea_version set to 2.4.4
745a16
 - updatever bumped to       51
745a16
 - release reset to 0
745a16
- sync with fedora
745a16
 - added and applied patch411 1029588.patch (rh 1029588)
745a16
 - added aand applied patch410, 1015432 (rh 1015432)
745a16
 - and so removed patch121 FixPPC64StackOverflow.patch
745a16
- added patch412 zero-x32.diff to try to fix zero builds build
745a16
- Resolves: rhbz#1053280
745a16
745a16
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.7.0.45-2.4.3.5.el7 
745a16
- Mass rebuild 2013-12-27
745a16
d557d5
* Thu Oct 31 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.4.fel7
d557d5
- Removed obsoletes for java-1.6.0-openjdk* ,  until decided its presence in el7
d557d5
- Resolves:rhbz#1018680
d557d5
d557d5
* Thu Oct 31 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.3.fel7
d557d5
- just bumped release, need to confirm, that   patch121, FixPPC64StackOverflow.patch
d557d5
  really works
d557d5
- Resolves:rhbz#1018680
d557d5
d557d5
* Wed Oct 16 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.2.fel7
d557d5
- added and applied patch121, FixPPC64StackOverflow.patch
d557d5
- all redundant ppc64 strings replaced by power64 macro
d557d5
- Resolves:rhbz#1018680
d557d5
d557d5
* Wed Oct 16 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.1.fel7
d557d5
- updated to new  CPU sources 2.4.3
d557d5
- Resolves:rhbz#1018680
d557d5
d557d5
* Mon Oct 14 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.0.fel7
d557d5
- updated to latest CPU sources 2.4.3
d557d5
- Resolves:rhbz#1018680
d557d5
d557d5
* Mon Oct 14 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.12.fel7
d557d5
- jdk splitted to headless and rest
d557d5
- Resolves:rhbz#875408
d557d5
d557d5
* Fri Oct 04 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.11.fel7
d557d5
- another tapset fix 
d557d5
- Resolves:rhbz#875408
d557d5
d557d5
* Fri Oct 04 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.10.fel7
d557d5
- abrt changed to soft dependece
d557d5
- Resolves:rhbz#875408
d557d5
d557d5
* Thu Oct 03 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.9.el7
d557d5
- renamed tapset source to be "versioned"
d557d5
- improved agent placement
d557d5
- Resolves:rhbz#875408
d557d5
d557d5
* Wed Oct 02 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.8.el7
d557d5
- updated tapset to current head (825824)
d557d5
- Resolves:rhbz#875408
d557d5
d557d5
* Tue Oct 01 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.7.el7
d557d5
- fixed incorrect  _jvmdir/jre-javaver_origin to  _jvmdir/jre-javaver-origin link
d557d5
- Resolves:rhbz#875408
d557d5
d557d5
* Tue Oct 01 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.6.el7
d557d5
- syncing with f20 - abrt connector
d557d5
- Resolves:rhbz#875408
d557d5
d557d5
* Tue Oct 01 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.3.el7
d557d5
- syncing with f19/rhel-6.5
d557d5
- Resolves:rhbz#875408
d557d5
d557d5
d557d5
* Wed Aug 07 2013 Deepak Bhole <dbhole@redhat.com> - 1.7.0.25-2.3.12.3.el7
d557d5
- Removed obsoletes for java-1.6.0-openjdk*
d557d5
d557d5
* Fri Jul 26 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.12.2.el7
d557d5
- refreshed icedtea7-forest 2.3.12
d557d5
- fix broken jre_exports alternatives links (thanx to orion bug #979128)
d557d5
d557d5
* Thu Jul 25 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.11.0.el7
d557d5
- added new alternatives jre-1.7.0-openjdk and java-1.7.0-openjdk 
d557d5
- finally merged arm and main source tarballs
d557d5
- updated to icedtea 2.3.11
d557d5
 - http://blog.fuseyism.com/index.php/2013/07/25/icedtea-2-3-11-released/
d557d5
- added removal of new jre-1.7.0-openjdk and java-1.7.0-openjdk alternatives
d557d5
- removed patch 400, rhino for 2.1 and other 2.1 conditional stuff
d557d5
- removed patch 103 arm-fixes.patch
d557d5
- removed "dir" from files which was duplicating jre in sdk
d557d5
d557d5
* Fri Jul 19 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.6.el7
d557d5
- jrelnk is now just lnk, everything is pointing through jredir
d557d5
d557d5
* Thu Jul 18 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.6.el7
d557d5
- minor cleaning
d557d5
- sdklnk removed, and substitued by  sdkdir
d557d5
d557d5
* Wed Jul 03 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.5.fel7
d557d5
- moved to xz compression of sources
d557d5
- updated 2.1 tarball
d557d5
d557d5
* Thu Jun 27 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.4.el7
d557d5
- Sync with upstream IcedTea7-forest 2.3.10 tag
d557d5
- Fixes regressions as introduced with 1.7.0.25-2.3.10.3.el6:
d557d5
  rhbz#978005, rhbz#977979, rhbz#976693, IcedTeaBZ#1487.
d557d5
- all patch commands repalced by patch macro
d557d5
  - updated java-1.7.0-openjdk-ppc-zero-hotspot.patch to pass without loose patching
d557d5
d557d5
* Wed Jun 19 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.3.el7
d557d5
- update of IcedTea7-forest 2.3.10 tarball
d557d5
- removed patch1000 MBeanFix.patch to fix regressions caused by security patches
d557d5
d557d5
d557d5
* Thu Jun 13 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.2.el7
d557d5
- added patch1000 MBeanFix.patch to fix regressions caused by security patches
d557d5
d557d5
* Thu Jun 13 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.1.el7
d557d5
- arm tarball updated to 2.1.9
d557d5
- build bumped to 25
d557d5
d557d5
* Wed Jun 12 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.19-2.3.10.0.el7
d557d5
- fixed RH972717 by enabling patch110 java-1.7.0-openjdk-nss-icedtea-e9c857dcb964.patch
d557d5
- temporarly swithced to intree lcms as it have security fixes (patch 500)
d557d5
 - added  GENSRCDIR="$PWD/generated.build" to be able to
d557d5
 - removed (build)requires  lcms2(-devel)
d557d5
- Updated to latest IcedTea7-forest 2.3.10
d557d5
d557d5
* Wed Jun 05 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.19-2.3.9.14.fc19
d557d5
- Added client/server directories so they can be owned
d557d5
- Renamed patch 107 to 200
d557d5
- Added nss support from 6.5
d557d5
- Added fix for RH857717, owned /etc/.java/ and /etc/.java/.systemPrefs
d557d5
- Removed ant-nodeps, should not be needed
d557d5
d557d5
* Tue May 28 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.19-2.3.9.13.el7
d557d5
- javadoc put into fully versioned directory, but without arch (to be kept noarch)
d557d5
 - uniquejavadocdir
d557d5
- updated to latest 2.3.9 tarball - fixing the rhbz#967436
d557d5
d557d5
* Mon May 27 2013 Omair Majid <omajid@redhat.com> - 1.7.0.19-2.3.9.12.el7
d557d5
- Allowed multiple OpenJDKs to be installed in parallel
d557d5
- Removed archname
d557d5
- Added arch to all, not only multilib arches
d557d5
- uniquesuffix is now holding fully versioned name
d557d5
- Intorduced source11 remove-buildids.sh
d557d5
d557d5
* Fri May 17 2013 Omair Majid <omajid@redhat.com> - 1.7.0.19-2.3.9.12.el7
79d80c
- Replace %%{name} with %%{uniquesuffix} where it's used as a unique suffix.
d557d5
d557d5
* Thu May 16 2013 Jiri Vanek <jvanek@redhat.com>
d557d5
- added variable arm_arches as restriction to some cases of not jit_arches
d557d5
d557d5
* Tue May 14 2013 Jiri Vanek <jvanek@redhat.com>
d557d5
- patch402 gstackbounds.patch applied only to jit arches
d557d5
- patch403 PStack-808293.patch likewise
d557d5
d557d5
* Mon May 13 2013 Jiri Vanek <jvanek@redhat.com>
d557d5
- initial, not buildable, sync with f19