Blame SPECS/java-1.7.0-openjdk.spec

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