|
|
9bf359 |
# If debug is 1, OpenJDK is built with all debug info present.
|
|
|
9bf359 |
%global debug 0
|
|
|
9bf359 |
|
|
|
9bf359 |
%global aarch64 aarch64 arm64 armv8
|
|
|
9bf359 |
# sometimes we need to distinguish big and little endian PPC64
|
|
|
9bf359 |
%global ppc64le ppc64le
|
|
|
9bf359 |
%global ppc64be ppc64 ppc64p7
|
|
|
9bf359 |
%global multilib_arches %{power64} sparc64 x86_64
|
|
|
9bf359 |
%global jit_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64}
|
|
|
9bf359 |
|
|
|
9bf359 |
# With diabled nss is NSS deactivated, so in NSS_LIBDIR can be wrong path
|
|
|
9bf359 |
# the initialisation must be here. LAter the pkg-connfig have bugy behaviour
|
|
|
9bf359 |
#looks liekopenjdk RPM specific bug
|
|
|
9bf359 |
# Always set this so the nss.cfg file is not broken
|
|
|
9bf359 |
%global NSS_LIBDIR %(pkg-config --variable=libdir nss)
|
|
|
9bf359 |
|
|
|
9e49de |
# fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349
|
|
|
9bf359 |
%global _privatelibs libmawt[.]so.*
|
|
|
9bf359 |
%global __provides_exclude ^(%{_privatelibs})$
|
|
|
9bf359 |
%global __requires_exclude ^(%{_privatelibs})$
|
|
|
9bf359 |
|
|
|
9bf359 |
%ifarch x86_64
|
|
|
9bf359 |
%global archinstall amd64
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%ifarch ppc
|
|
|
9bf359 |
%global archinstall ppc
|
|
|
9bf359 |
%endif
|
|
|
d934b5 |
%ifarch %{ppc64be}
|
|
|
9bf359 |
%global archinstall ppc64
|
|
|
9bf359 |
%endif
|
|
|
d934b5 |
%ifarch %{ppc64le}
|
|
|
d934b5 |
%global archinstall ppc64le
|
|
|
d934b5 |
%endif
|
|
|
9bf359 |
%ifarch %{ix86}
|
|
|
9bf359 |
%global archinstall i386
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%ifarch ia64
|
|
|
9bf359 |
%global archinstall ia64
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%ifarch s390
|
|
|
9bf359 |
%global archinstall s390
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%ifarch s390x
|
|
|
9bf359 |
%global archinstall s390x
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%ifarch %{arm}
|
|
|
9bf359 |
%global archinstall arm
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%ifarch %{aarch64}
|
|
|
9bf359 |
%global archinstall aarch64
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
# 32 bit sparc, optimized for v9
|
|
|
9bf359 |
%ifarch sparcv9
|
|
|
9bf359 |
%global archinstall sparc
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
# 64 bit sparc
|
|
|
9bf359 |
%ifarch sparc64
|
|
|
9bf359 |
%global archinstall sparcv9
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%ifnarch %{jit_arches}
|
|
|
9bf359 |
%global archinstall %{_arch}
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
%if %{debug}
|
|
|
9bf359 |
%global debugbuild slowdebug
|
|
|
9bf359 |
%else
|
|
|
9bf359 |
%global debugbuild release
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
c2cb23 |
%global buildoutputdir openjdk/build/jdk8.build
|
|
|
9bf359 |
|
|
|
9bf359 |
%ifarch %{jit_arches}
|
|
|
9bf359 |
%global with_systemtap 1
|
|
|
9bf359 |
%else
|
|
|
9bf359 |
%global with_systemtap 0
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
a9a030 |
# AArch64 currently uses a different OpenJDK source tarball
|
|
|
a9a030 |
%ifarch %{aarch64}
|
|
|
a9a030 |
%global openjdk_sourceid 1
|
|
|
a9a030 |
%else
|
|
|
a9a030 |
%global openjdk_sourceid 0
|
|
|
a9a030 |
%endif
|
|
|
a9a030 |
|
|
|
9bf359 |
# Convert an absolute path to a relative path. Each symbolic link is
|
|
|
9bf359 |
# specified relative to the directory in which it is installed so that
|
|
|
9bf359 |
# it will resolve properly within chrooted installations.
|
|
|
9bf359 |
%global script 'use File::Spec; print File::Spec->abs2rel($ARGV[0], $ARGV[1])'
|
|
|
9bf359 |
%global abs2rel %{__perl} -e %{script}
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
# Standard JPackage naming and versioning defines.
|
|
|
9bf359 |
%global origin openjdk
|
|
|
a9a030 |
%global updatever 65
|
|
|
a9a030 |
%global buildver b17
|
|
|
a9a030 |
%global aarch64_updatever 65
|
|
|
a9a030 |
%global aarch64_buildver b17
|
|
|
5338de |
%global aarch64_changesetid aarch64-jdk8u%{aarch64_updatever}-%{aarch64_buildver}
|
|
|
9e49de |
# priority must be 7 digits in total
|
|
|
9bf359 |
%global priority 00000%{updatever}
|
|
|
9bf359 |
%global javaver 1.8.0
|
|
|
9bf359 |
|
|
|
9bf359 |
# Standard JPackage directories and symbolic links.
|
|
|
9bf359 |
%global sdkdir %{uniquesuffix}
|
|
|
9bf359 |
%global jrelnk jre-%{javaver}-%{origin}-%{version}-%{release}.%{_arch}
|
|
|
9bf359 |
|
|
|
9bf359 |
%global jredir %{sdkdir}/jre
|
|
|
9bf359 |
%global sdkbindir %{_jvmdir}/%{sdkdir}/bin
|
|
|
9bf359 |
%global jrebindir %{_jvmdir}/%{jredir}/bin
|
|
|
9bf359 |
%global jvmjardir %{_jvmjardir}/%{uniquesuffix}
|
|
|
9bf359 |
|
|
|
9bf359 |
%global fullversion %{name}-%{version}-%{release}
|
|
|
9bf359 |
|
|
|
9bf359 |
%global uniquesuffix %{fullversion}.%{_arch}
|
|
|
9bf359 |
#we can copy the javadoc to not arched dir, or made it not noarch
|
|
|
9bf359 |
%global uniquejavadocdir %{fullversion}
|
|
|
9bf359 |
|
|
|
9bf359 |
%if %{with_systemtap}
|
|
|
9bf359 |
# Where to install systemtap tapset (links)
|
|
|
9bf359 |
# We would like these to be in a package specific subdir,
|
|
|
9bf359 |
# but currently systemtap doesn't support that, so we have to
|
|
|
9bf359 |
# use the root tapset dir for now. To distinquish between 64
|
|
|
9bf359 |
# and 32 bit architectures we place the tapsets under the arch
|
|
|
9bf359 |
# specific dir (note that systemtap will only pickup the tapset
|
|
|
9bf359 |
# for the primary arch for now). Systemtap uses the machine name
|
|
|
9bf359 |
# aka build_cpu as architecture specific directory name.
|
|
|
9bf359 |
%global tapsetroot /usr/share/systemtap
|
|
|
9bf359 |
%global tapsetdir %{tapsetroot}/tapset/%{_build_cpu}
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
# Prevent brp-java-repack-jars from being run.
|
|
|
9bf359 |
%global __jar_repack 0
|
|
|
9bf359 |
|
|
|
9bf359 |
Name: java-%{javaver}-%{origin}
|
|
|
9bf359 |
Version: %{javaver}.%{updatever}
|
|
|
5338de |
Release: 2.%{buildver}%{?dist}
|
|
|
9bf359 |
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons,
|
|
|
9bf359 |
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
|
|
|
9bf359 |
# also included the epoch in their virtual provides. This created a
|
|
|
9bf359 |
# situation where in-the-wild java-1.5.0-ibm packages provided "java =
|
|
|
9bf359 |
# 1:1.5.0". In RPM terms, "1.6.0 < 1:1.5.0" since 1.6.0 is
|
|
|
9bf359 |
# interpreted as 0:1.6.0. So the "java >= 1.6.0" requirement would be
|
|
|
9bf359 |
# satisfied by the 1:1.5.0 packages. Thus we need to set the epoch in
|
|
|
9bf359 |
# JDK package >= 1.6.0 to 1, and packages referring to JDK virtual
|
|
|
9bf359 |
# provides >= 1.6.0 must specify the epoch, "java >= 1:1.6.0".
|
|
|
9bf359 |
|
|
|
9bf359 |
Epoch: 1
|
|
|
9bf359 |
Summary: OpenJDK Runtime Environment
|
|
|
9bf359 |
Group: Development/Languages
|
|
|
9bf359 |
|
|
|
9bf359 |
License: ASL 1.1 and ASL 2.0 and GPL+ and GPLv2 and GPLv2 with exceptions and LGPL+ and LGPLv2 and MPLv1.0 and MPLv1.1 and Public Domain and W3C
|
|
|
9bf359 |
URL: http://openjdk.java.net/
|
|
|
9bf359 |
|
|
|
a9a030 |
# Sources from internal security patched trees.
|
|
|
a9a030 |
# ./generate_local_tarball.sh <path to 8u65 sources> jdk8u%%{updatever}-%%{buildver}
|
|
|
a9a030 |
# ./generate_local_tarball.sh <path to aarch64-port 8u65 sources> %%{aarch64_changesetid}
|
|
|
a9a030 |
Source0: jdk8u-jdk8u%{updatever}-%{buildver}.tar.xz
|
|
|
a9a030 |
Source1: jdk8u-%{aarch64_changesetid}.tar.xz
|
|
|
9bf359 |
|
|
|
9bf359 |
# Custom README for -src subpackage
|
|
|
9bf359 |
Source2: README.src
|
|
|
9bf359 |
|
|
|
9bf359 |
# Use 'generate_tarballs.sh' to generate the following tarballs
|
|
|
9bf359 |
# They are based on code contained in the IcedTea7 project.
|
|
|
9bf359 |
|
|
|
9bf359 |
# Systemtap tapsets. Zipped up to keep it small.
|
|
|
9bf359 |
Source8: systemtap-tapset.tar.gz
|
|
|
9bf359 |
|
|
|
9bf359 |
# Desktop files. Adapated from IcedTea.
|
|
|
9bf359 |
Source9: jconsole.desktop.in
|
|
|
9bf359 |
Source10: policytool.desktop.in
|
|
|
9bf359 |
|
|
|
9bf359 |
# nss configuration file
|
|
|
9bf359 |
Source11: nss.cfg
|
|
|
9bf359 |
|
|
|
9bf359 |
# Removed libraries that we link instead
|
|
|
d934b5 |
Source12: %{name}-remove-intree-libraries.sh
|
|
|
9bf359 |
|
|
|
9bf359 |
# Ensure we aren't using the limited crypto policy
|
|
|
9bf359 |
Source13: TestCryptoLevel.java
|
|
|
9bf359 |
|
|
|
9e49de |
Source20: repackReproduciblePolycies.sh
|
|
|
d934b5 |
|
|
|
9bf359 |
# New versions of config files with aarch64 support. This is not upstream yet.
|
|
|
9bf359 |
Source100: config.guess
|
|
|
9bf359 |
Source101: config.sub
|
|
|
9bf359 |
|
|
|
9bf359 |
# RPM/distribution specific patches
|
|
|
9bf359 |
|
|
|
9bf359 |
# Ignore AWTError when assistive technologies are loaded
|
|
|
9bf359 |
Patch1: %{name}-accessible-toolkit.patch
|
|
|
9bf359 |
|
|
|
9bf359 |
# Restrict access to java-atk-wrapper classes
|
|
|
9bf359 |
Patch3: java-atk-wrapper-security.patch
|
|
|
9bf359 |
# RHBZ 808293
|
|
|
d934b5 |
Patch4: %{name}-PStack-808293.patch
|
|
|
9bf359 |
# Allow multiple initialization of PKCS11 libraries
|
|
|
9bf359 |
Patch5: multiple-pkcs11-library-init.patch
|
|
|
9bf359 |
# Include all sources in src.zip
|
|
|
9bf359 |
Patch7: include-all-srcs.patch
|
|
|
9bf359 |
# Problem discovered with make 4.0
|
|
|
9bf359 |
Patch12: removeSunEcProvider-RH1154143.patch
|
|
|
5338de |
Patch13: libjpeg-turbo-1.4-compat.patch
|
|
|
9bf359 |
|
|
|
9bf359 |
#
|
|
|
9bf359 |
# OpenJDK specific patches
|
|
|
9bf359 |
#
|
|
|
5338de |
|
|
|
9bf359 |
# JVM heap size changes for s390 (thanks to aph)
|
|
|
9bf359 |
Patch100: %{name}-s390-java-opts.patch
|
|
|
9bf359 |
# Type fixing for s390
|
|
|
9bf359 |
Patch102: %{name}-size_t.patch
|
|
|
9bf359 |
|
|
|
9bf359 |
Patch201: system-libjpeg.patch
|
|
|
9bf359 |
Patch202: system-libpng.patch
|
|
|
9bf359 |
Patch203: system-lcms.patch
|
|
|
9bf359 |
|
|
|
9bf359 |
Patch300: jstack-pr1845.patch
|
|
|
9bf359 |
|
|
|
9e49de |
# Fixes StackOverflowError on ARM32 bit Zero. See RHBZ#1206656
|
|
|
9e49de |
Patch403: rhbz1206656_fix_current_stack_pointer.patch
|
|
|
9e49de |
|
|
|
c2cb23 |
# PR2095, RH1163501: 2048-bit DH upper bound too small for Fedora infrastructure (sync with IcedTea 2.x)
|
|
|
c2cb23 |
Patch504: rh1163501.patch
|
|
|
c2cb23 |
# S4890063, PR2304, RH1214835: HPROF: default text truncated when using doe=n option (upstreaming post-CPU 2015/07)
|
|
|
c2cb23 |
Patch511: rh1214835.patch
|
|
|
c2cb23 |
|
|
|
d934b5 |
# RH1191652; fix name of ppc64le architecture
|
|
|
9e49de |
Patch600: %{name}-rh1191652-hotspot.patch
|
|
|
9e49de |
Patch601: %{name}-rh1191652-root.patch
|
|
|
9e49de |
Patch602: %{name}-rh1191652-jdk.patch
|
|
|
9e49de |
Patch603: %{name}-rh1191652-hotspot-aarch64.patch
|
|
|
d934b5 |
|
|
|
9bf359 |
Patch9999: enableArm64.patch
|
|
|
9bf359 |
|
|
|
9bf359 |
BuildRequires: autoconf
|
|
|
9bf359 |
BuildRequires: automake
|
|
|
9bf359 |
BuildRequires: alsa-lib-devel
|
|
|
9bf359 |
BuildRequires: binutils
|
|
|
9bf359 |
BuildRequires: cups-devel
|
|
|
9bf359 |
BuildRequires: desktop-file-utils
|
|
|
9bf359 |
BuildRequires: fontconfig
|
|
|
9bf359 |
BuildRequires: freetype-devel
|
|
|
9bf359 |
BuildRequires: giflib-devel
|
|
|
9bf359 |
BuildRequires: gcc-c++
|
|
|
9bf359 |
BuildRequires: gtk2-devel
|
|
|
9bf359 |
BuildRequires: lcms2-devel
|
|
|
9bf359 |
BuildRequires: libjpeg-devel
|
|
|
9bf359 |
BuildRequires: libpng-devel
|
|
|
9bf359 |
BuildRequires: libxslt
|
|
|
9bf359 |
BuildRequires: libX11-devel
|
|
|
9bf359 |
BuildRequires: libXi-devel
|
|
|
9bf359 |
BuildRequires: libXinerama-devel
|
|
|
9bf359 |
BuildRequires: libXt-devel
|
|
|
9bf359 |
BuildRequires: libXtst-devel
|
|
|
9bf359 |
# Requirements for setting up the nss.cfg
|
|
|
9bf359 |
BuildRequires: nss-devel
|
|
|
9bf359 |
BuildRequires: pkgconfig
|
|
|
9bf359 |
BuildRequires: xorg-x11-proto-devel
|
|
|
9bf359 |
#BuildRequires: redhat-lsb
|
|
|
9bf359 |
BuildRequires: zip
|
|
|
d934b5 |
BuildRequires: java-1.7.0-openjdk-devel
|
|
|
9bf359 |
# Zero-assembler build requirement.
|
|
|
9bf359 |
%ifnarch %{jit_arches}
|
|
|
9bf359 |
BuildRequires: libffi-devel
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
# cacerts build requirement.
|
|
|
9bf359 |
BuildRequires: openssl
|
|
|
9bf359 |
# execstack build requirement.
|
|
|
9bf359 |
# no prelink on ARM yet
|
|
|
9bf359 |
%ifnarch %{arm} %{aarch64} %{ppc64le}
|
|
|
9bf359 |
BuildRequires: prelink
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%if %{with_systemtap}
|
|
|
9bf359 |
BuildRequires: systemtap-sdt-devel
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
Requires: fontconfig
|
|
|
9bf359 |
Requires: xorg-x11-fonts-Type1
|
|
|
9bf359 |
|
|
|
9bf359 |
# Requires rest of java
|
|
|
9bf359 |
Requires: %{name}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
# Standard JPackage base provides.
|
|
|
9e49de |
Provides: jre-%{javaver}-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: jre-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: jre-%{javaver} = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: java-%{javaver} = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: jre = %{javaver}
|
|
|
9e49de |
Provides: java-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: java = %{epoch}:%{javaver}
|
|
|
9bf359 |
# Standard JPackage extensions provides.
|
|
|
9e49de |
Provides: java-fonts = %{epoch}:%{version}
|
|
|
9bf359 |
|
|
|
9bf359 |
%description
|
|
|
9bf359 |
The OpenJDK runtime environment.
|
|
|
9bf359 |
|
|
|
9bf359 |
%package headless
|
|
|
9bf359 |
Summary: OpenJDK Runtime Environment
|
|
|
9bf359 |
Group: Development/Languages
|
|
|
9bf359 |
|
|
|
9bf359 |
# Require /etc/pki/java/cacerts.
|
|
|
9bf359 |
Requires: ca-certificates
|
|
|
9bf359 |
# Require jpackage-utils for ownership of /usr/lib/jvm/
|
|
|
9bf359 |
Requires: jpackage-utils
|
|
|
9bf359 |
# Require zoneinfo data provided by tzdata-java subpackage.
|
|
|
9bf359 |
Requires: tzdata-java
|
|
|
9bf359 |
# Post requires alternatives to install tool alternatives.
|
|
|
9bf359 |
Requires(post): %{_sbindir}/alternatives
|
|
|
9bf359 |
# Postun requires alternatives to uninstall tool alternatives.
|
|
|
9bf359 |
Requires(postun): %{_sbindir}/alternatives
|
|
|
9bf359 |
|
|
|
9bf359 |
# Standard JPackage base provides.
|
|
|
9e49de |
Provides: jre-%{javaver}-%{origin}-headless = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: jre-%{origin}-headless = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: jre-%{javaver}-headless = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: java-%{javaver}-headless = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: jre-headless = %{epoch}:%{javaver}
|
|
|
9e49de |
Provides: java-%{origin}-headless = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: java-headless = %{epoch}:%{javaver}
|
|
|
9bf359 |
# Standard JPackage extensions provides.
|
|
|
9e49de |
Provides: jndi = %{epoch}:%{version}
|
|
|
9e49de |
Provides: jndi-ldap = %{epoch}:%{version}
|
|
|
9e49de |
Provides: jndi-cos = %{epoch}:%{version}
|
|
|
9e49de |
Provides: jndi-rmi = %{epoch}:%{version}
|
|
|
9e49de |
Provides: jndi-dns = %{epoch}:%{version}
|
|
|
9e49de |
Provides: jaas = %{epoch}:%{version}
|
|
|
9e49de |
Provides: jsse = %{epoch}:%{version}
|
|
|
9e49de |
Provides: jce = %{epoch}:%{version}
|
|
|
9e49de |
Provides: jdbc-stdext = 4.1
|
|
|
9e49de |
Provides: java-sasl = %{epoch}:%{version}
|
|
|
9bf359 |
|
|
|
9bf359 |
%description headless
|
|
|
9bf359 |
The OpenJDK runtime environment without audio and video support.
|
|
|
9bf359 |
|
|
|
9bf359 |
%package devel
|
|
|
9bf359 |
Summary: OpenJDK Development Environment
|
|
|
9bf359 |
Group: Development/Tools
|
|
|
9bf359 |
|
|
|
9bf359 |
# Require base package.
|
|
|
9bf359 |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
# Post requires alternatives to install tool alternatives.
|
|
|
9bf359 |
Requires(post): %{_sbindir}/alternatives
|
|
|
9bf359 |
# Postun requires alternatives to uninstall tool alternatives.
|
|
|
9bf359 |
Requires(postun): %{_sbindir}/alternatives
|
|
|
9bf359 |
|
|
|
9bf359 |
# Standard JPackage devel provides.
|
|
|
9bf359 |
#Provides: java-sdk-%{javaver}-%{origin} = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: java-sdk-%{javaver} = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: java-sdk-%{origin} = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: java-sdk = %{epoch}:%{javaver}
|
|
|
9bf359 |
#Provides: java-%{javaver}-devel = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: java-devel-%{origin} = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: java-devel = %{epoch}:%{javaver}
|
|
|
9bf359 |
|
|
|
9e49de |
|
|
|
9bf359 |
%description devel
|
|
|
9bf359 |
The OpenJDK development tools.
|
|
|
9bf359 |
|
|
|
9bf359 |
%package demo
|
|
|
9bf359 |
Summary: OpenJDK Demos
|
|
|
9bf359 |
Group: Development/Languages
|
|
|
9bf359 |
|
|
|
9bf359 |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
|
|
|
9bf359 |
%description demo
|
|
|
9bf359 |
The OpenJDK demos.
|
|
|
9bf359 |
|
|
|
9bf359 |
%package src
|
|
|
9bf359 |
Summary: OpenJDK Source Bundle
|
|
|
9bf359 |
Group: Development/Languages
|
|
|
9bf359 |
|
|
|
9bf359 |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
|
|
|
9bf359 |
%description src
|
|
|
9bf359 |
The OpenJDK source bundle.
|
|
|
9bf359 |
|
|
|
9bf359 |
%package javadoc
|
|
|
9bf359 |
Summary: OpenJDK API Documentation
|
|
|
9bf359 |
Group: Documentation
|
|
|
9bf359 |
Requires: jpackage-utils
|
|
|
9bf359 |
BuildArch: noarch
|
|
|
9bf359 |
|
|
|
9bf359 |
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
# Post requires alternatives to install javadoc alternative.
|
|
|
9bf359 |
Requires(post): %{_sbindir}/alternatives
|
|
|
9bf359 |
# Postun requires alternatives to uninstall javadoc alternative.
|
|
|
9bf359 |
Requires(postun): %{_sbindir}/alternatives
|
|
|
9bf359 |
|
|
|
9bf359 |
# Standard JPackage javadoc provides.
|
|
|
9e49de |
Provides: java-javadoc = %{epoch}:%{version}-%{release}
|
|
|
9e49de |
Provides: java-%{javaver}-javadoc = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
|
|
|
9bf359 |
%description javadoc
|
|
|
9bf359 |
The OpenJDK API documentation.
|
|
|
9bf359 |
|
|
|
9bf359 |
%package accessibility
|
|
|
9bf359 |
Summary: OpenJDK accessibility connector
|
|
|
9bf359 |
Requires: java-atk-wrapper
|
|
|
9bf359 |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
|
|
|
9bf359 |
%description accessibility
|
|
|
9bf359 |
Enables accessibility support in OpenJDK by using java-atk-wrapper. This allows
|
|
|
9bf359 |
compatible at-spi2 based accessibility programs to work for AWT and Swing-based
|
|
|
9bf359 |
programs.
|
|
|
9bf359 |
|
|
|
9bf359 |
Please note, the java-atk-wrapper is still in beta, and OpenJDK itself is still
|
|
|
9bf359 |
being tuned to be working with accessibility features. There are known issues
|
|
|
9bf359 |
with accessibility on, so please do not install this package unless you really
|
|
|
9bf359 |
need to.
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
%prep
|
|
|
a9a030 |
%setup -q -c -n %{uniquesuffix} -T -a %{openjdk_sourceid}
|
|
|
9e49de |
# https://bugzilla.redhat.com/show_bug.cgi?id=1189084
|
|
|
9e49de |
prioritylength=`expr length %{priority}`
|
|
|
9e49de |
if [ $prioritylength -ne 7 ] ; then
|
|
|
9e49de |
echo "priority must be 7 digits in total, violated"
|
|
|
9e49de |
exit 14
|
|
|
9e49de |
fi
|
|
|
5338de |
ln -s openjdk jdk8
|
|
|
5338de |
|
|
|
9bf359 |
cp %{SOURCE2} .
|
|
|
9bf359 |
|
|
|
9bf359 |
# replace outdated configure guess script
|
|
|
9bf359 |
#
|
|
|
9bf359 |
# the configure macro will do this too, but it also passes a few flags not
|
|
|
9bf359 |
# supported by openjdk configure script
|
|
|
c2cb23 |
cp %{SOURCE100} openjdk/common/autoconf/build-aux/
|
|
|
c2cb23 |
cp %{SOURCE101} openjdk/common/autoconf/build-aux/
|
|
|
9bf359 |
|
|
|
9bf359 |
# OpenJDK patches
|
|
|
9bf359 |
|
|
|
9bf359 |
# Remove libraries that are linked
|
|
|
9bf359 |
sh %{SOURCE12}
|
|
|
9bf359 |
|
|
|
5338de |
#pure aarch64 forest does not have them
|
|
|
5338de |
%ifnarch %{aarch64}
|
|
|
d934b5 |
# Add AArch64 support to configure & JDK build
|
|
|
9bf359 |
%patch9999
|
|
|
5338de |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
%patch201
|
|
|
9bf359 |
%patch202
|
|
|
9bf359 |
%patch203
|
|
|
5338de |
|
|
|
9e49de |
%ifnarch %{aarch64}
|
|
|
9e49de |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
%patch1
|
|
|
9bf359 |
%patch3
|
|
|
9bf359 |
%patch4
|
|
|
9bf359 |
%patch5
|
|
|
9bf359 |
%patch7
|
|
|
9bf359 |
%patch12
|
|
|
5338de |
%patch13
|
|
|
9bf359 |
|
|
|
9bf359 |
# s390 build fixes
|
|
|
9bf359 |
%ifarch s390
|
|
|
9bf359 |
%patch100
|
|
|
9bf359 |
%patch102
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
# Zero PPC fixes.
|
|
|
9e49de |
%patch403
|
|
|
9bf359 |
|
|
|
d934b5 |
# HotSpot ppc64le patch is different depending
|
|
|
d934b5 |
# on whether we are using 2.5 or 2.6 HotSpot.
|
|
|
d934b5 |
%ifarch %{aarch64}
|
|
|
9e49de |
%patch603
|
|
|
d934b5 |
%else
|
|
|
9e49de |
%patch600
|
|
|
d934b5 |
%endif
|
|
|
5338de |
|
|
|
5338de |
#pure aarch64 forest does not have them
|
|
|
5338de |
%ifnarch %{aarch64}
|
|
|
9e49de |
%patch601
|
|
|
9e49de |
%patch602
|
|
|
5338de |
%endif
|
|
|
5338de |
|
|
|
5338de |
%patch504
|
|
|
5338de |
%patch511
|
|
|
d934b5 |
|
|
|
9bf359 |
# Extract systemtap tapsets
|
|
|
9bf359 |
%if %{with_systemtap}
|
|
|
9bf359 |
tar xzf %{SOURCE8}
|
|
|
9bf359 |
%patch300
|
|
|
9bf359 |
|
|
|
9bf359 |
for file in tapset/*.in; do
|
|
|
9bf359 |
|
|
|
9bf359 |
OUTPUT_FILE=`echo $file | sed -e s:%{javaver}\.stp\.in$:%{version}-%{release}.%{_arch}.stp:g`
|
|
|
9bf359 |
sed -e s:@ABS_SERVER_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/server/libjvm.so:g $file > $file.1
|
|
|
9bf359 |
# TODO find out which architectures other than i686 have a client vm
|
|
|
9bf359 |
%ifarch %{ix86}
|
|
|
9bf359 |
sed -e s:@ABS_CLIENT_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/client/libjvm.so:g $file.1 > $OUTPUT_FILE
|
|
|
9bf359 |
%else
|
|
|
9bf359 |
sed -e '/@ABS_CLIENT_LIBJVM_SO@/d' $file.1 > $OUTPUT_FILE
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
sed -i -e s:@ABS_JAVA_HOME_DIR@:%{_jvmdir}/%{sdkdir}:g $OUTPUT_FILE
|
|
|
9bf359 |
sed -i -e s:@INSTALL_ARCH_DIR@:%{archinstall}:g $OUTPUT_FILE
|
|
|
9bf359 |
|
|
|
9bf359 |
done
|
|
|
9e49de |
# systemtap tapsets ends
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
# Prepare desktop files
|
|
|
9bf359 |
for file in %{SOURCE9} %{SOURCE10} ; do
|
|
|
9bf359 |
OUTPUT_FILE=`basename $file | sed -e s:\.in$::g`
|
|
|
9bf359 |
sed -e s:#JAVA_HOME#:%{sdkbindir}:g $file > $OUTPUT_FILE
|
|
|
9bf359 |
sed -i -e s:#JRE_HOME#:%{jrebindir}:g $OUTPUT_FILE
|
|
|
9bf359 |
sed -i -e s:#ARCH#:%{version}-%{release}.%{_arch}:g $OUTPUT_FILE
|
|
|
9bf359 |
done
|
|
|
9bf359 |
|
|
|
9bf359 |
%build
|
|
|
9bf359 |
# How many cpu's do we have?
|
|
|
9bf359 |
export NUM_PROC=`/usr/bin/getconf _NPROCESSORS_ONLN 2> /dev/null || :`
|
|
|
9bf359 |
export NUM_PROC=${NUM_PROC:-1}
|
|
|
9bf359 |
|
|
|
9bf359 |
# Build IcedTea and OpenJDK.
|
|
|
9bf359 |
%ifarch s390x sparc64 alpha %{power64} %{aarch64}
|
|
|
9bf359 |
export ARCH_DATA_MODEL=64
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%ifarch alpha
|
|
|
9bf359 |
export CFLAGS="$CFLAGS -mieee"
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
EXTRA_CFLAGS="-fstack-protector-strong"
|
|
|
9bf359 |
# PPC/PPC64 needs -fno-tree-vectorize since -O3 would
|
|
|
9bf359 |
# otherwise generate wrong code producing segfaults.
|
|
|
9bf359 |
%ifarch %{power64} ppc
|
|
|
9bf359 |
EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-tree-vectorize"
|
|
|
9bf359 |
# fix rpmlint warnings
|
|
|
9bf359 |
EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing"
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
export EXTRA_CFLAGS
|
|
|
9bf359 |
|
|
|
c2cb23 |
(cd openjdk/common/autoconf
|
|
|
9bf359 |
bash ./autogen.sh
|
|
|
9bf359 |
)
|
|
|
9bf359 |
|
|
|
9bf359 |
mkdir -p %{buildoutputdir}
|
|
|
9bf359 |
|
|
|
9bf359 |
pushd %{buildoutputdir}
|
|
|
9bf359 |
|
|
|
9bf359 |
bash ../../configure \
|
|
|
9bf359 |
%ifnarch %{jit_arches}
|
|
|
9bf359 |
--with-jvm-variants=zero \
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
--disable-zip-debug-info \
|
|
|
9bf359 |
--with-milestone="fcs" \
|
|
|
9bf359 |
--with-update-version=%{updatever} \
|
|
|
9bf359 |
--with-build-number=%{buildver} \
|
|
|
9bf359 |
%ifarch %{aarch64}
|
|
|
9bf359 |
--with-user-release-suffix="aarch64-%{aarch64_updatever}-%{aarch64_buildver}-%{aarch64_changesetid}" \
|
|
|
9bf359 |
%endif
|
|
|
d934b5 |
--with-boot-jdk=/usr/lib/jvm/java-1.7.0-openjdk \
|
|
|
9bf359 |
--with-debug-level=%{debugbuild} \
|
|
|
9bf359 |
--enable-unlimited-crypto \
|
|
|
9bf359 |
--with-zlib=system \
|
|
|
9bf359 |
--with-libjpeg=system \
|
|
|
9bf359 |
--with-giflib=system \
|
|
|
9bf359 |
--with-libpng=system \
|
|
|
a9a030 |
--with-lcms=bundled \
|
|
|
9bf359 |
--with-stdc++lib=dynamic \
|
|
|
9bf359 |
--with-extra-cxxflags="$EXTRA_CPP_FLAGS" \
|
|
|
9bf359 |
--with-extra-cflags="$EXTRA_CFLAGS" \
|
|
|
9bf359 |
--with-num-cores="$NUM_PROC"
|
|
|
9bf359 |
|
|
|
d934b5 |
cat spec.gmk
|
|
|
d934b5 |
cat hotspot-spec.gmk
|
|
|
d934b5 |
|
|
|
9bf359 |
# The combination of FULL_DEBUG_SYMBOLS=0 and ALT_OBJCOPY=/does_not_exist
|
|
|
9bf359 |
# disables FDS for all build configs and reverts to pre-FDS make logic.
|
|
|
9bf359 |
# STRIP_POLICY=none says don't do any stripping. DEBUG_BINARIES=true says
|
|
|
9bf359 |
# ignore all the other logic about which debug options and just do '-g'.
|
|
|
9bf359 |
|
|
|
9bf359 |
make \
|
|
|
9bf359 |
DEBUG_BINARIES=true \
|
|
|
9e49de |
JAVAC_FLAGS=-g \
|
|
|
9bf359 |
STRIP_POLICY=no_strip \
|
|
|
9bf359 |
POST_STRIP_CMD="" \
|
|
|
9bf359 |
LOG=trace \
|
|
|
9bf359 |
all
|
|
|
9bf359 |
|
|
|
9bf359 |
# the build (erroneously) removes read permissions from some jars
|
|
|
9bf359 |
# this is a regression in OpenJDK 7 (our compiler):
|
|
|
9bf359 |
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1437
|
|
|
9bf359 |
find images/j2sdk-image -iname '*.jar' -exec chmod ugo+r {} \;
|
|
|
9bf359 |
chmod ugo+r images/j2sdk-image/lib/ct.sym
|
|
|
9bf359 |
|
|
|
9bf359 |
# remove redundant *diz and *debuginfo files
|
|
|
9bf359 |
find images/j2sdk-image -iname '*.diz' -exec rm {} \;
|
|
|
9bf359 |
find images/j2sdk-image -iname '*.debuginfo' -exec rm {} \;
|
|
|
9bf359 |
|
|
|
9bf359 |
popd >& /dev/null
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install nss.cfg right away as we will be using the JRE above
|
|
|
9bf359 |
export JAVA_HOME=$(pwd)/%{buildoutputdir}/images/j2sdk-image
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install nss.cfg right away as we will be using the JRE above
|
|
|
9bf359 |
install -m 644 %{SOURCE11} $JAVA_HOME/jre/lib/security/
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
# Copy tz.properties
|
|
|
9bf359 |
echo "sun.zoneinfo.dir=/usr/share/javazi" >> $JAVA_HOME/jre/lib/tz.properties
|
|
|
9bf359 |
|
|
|
9bf359 |
# Check unlimited policy has been used
|
|
|
9bf359 |
$JAVA_HOME/bin/javac -d . %{SOURCE13}
|
|
|
9bf359 |
$JAVA_HOME/bin/java TestCryptoLevel
|
|
|
9bf359 |
|
|
|
9bf359 |
# Check debug symbols are present and can identify code
|
|
|
9bf359 |
SERVER_JVM="$JAVA_HOME/jre/lib/%{archinstall}/server/libjvm.so"
|
|
|
9bf359 |
if [ -f "$SERVER_JVM" ] ; then
|
|
|
9bf359 |
nm -aCl "$SERVER_JVM" | grep javaCalls.cpp
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
CLIENT_JVM="$JAVA_HOME/jre/lib/%{archinstall}/client/libjvm.so"
|
|
|
9bf359 |
if [ -f "$CLIENT_JVM" ] ; then
|
|
|
9bf359 |
nm -aCl "$CLIENT_JVM" | grep javaCalls.cpp
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
ZERO_JVM="$JAVA_HOME/jre/lib/%{archinstall}/zero/libjvm.so"
|
|
|
9bf359 |
if [ -f "$ZERO_JVM" ] ; then
|
|
|
9bf359 |
nm -aCl "$ZERO_JVM" | grep javaCalls.cpp
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
|
|
|
9bf359 |
# Check src.zip has all sources. See RHBZ#1130490
|
|
|
9bf359 |
jar -tf $JAVA_HOME/src.zip | grep Unsafe
|
|
|
9bf359 |
|
|
|
9bf359 |
%install
|
|
|
9bf359 |
rm -rf $RPM_BUILD_ROOT
|
|
|
9bf359 |
STRIP_KEEP_SYMTAB=libjvm*
|
|
|
9bf359 |
|
|
|
a9a030 |
# there used to be and link to soundfont
|
|
|
a9a030 |
# will be replaced by fix of http://mail.openjdk.java.net/pipermail/sound-dev/2015-October/000352.html
|
|
|
a9a030 |
# once done, and have to go to fedora first. Removed from rhel7 for now
|
|
|
9bf359 |
|
|
|
9bf359 |
pushd %{buildoutputdir}/images/j2sdk-image
|
|
|
9bf359 |
|
|
|
9bf359 |
#install jsa directories so we can owe them
|
|
|
9bf359 |
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{archinstall}/server/
|
|
|
9bf359 |
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{archinstall}/client/
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install main files.
|
|
|
9bf359 |
install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
|
|
|
9bf359 |
cp -a bin include lib src.zip $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
|
|
|
9bf359 |
install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
|
|
|
9bf359 |
cp -a jre/bin jre/lib $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
|
|
|
9bf359 |
|
|
|
9bf359 |
%if %{with_systemtap}
|
|
|
9bf359 |
# Install systemtap support files.
|
|
|
9bf359 |
install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset
|
|
|
9bf359 |
cp -a $RPM_BUILD_DIR/%{uniquesuffix}/tapset/*.stp $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset/
|
|
|
9bf359 |
install -d -m 755 $RPM_BUILD_ROOT%{tapsetdir}
|
|
|
9bf359 |
pushd $RPM_BUILD_ROOT%{tapsetdir}
|
|
|
9bf359 |
RELATIVE=$(%{abs2rel} %{_jvmdir}/%{sdkdir}/tapset %{tapsetdir})
|
|
|
9bf359 |
ln -sf $RELATIVE/*.stp .
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install cacerts symlink.
|
|
|
9bf359 |
rm -f $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security/cacerts
|
|
|
9bf359 |
pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security
|
|
|
9bf359 |
RELATIVE=$(%{abs2rel} %{_sysconfdir}/pki/java \
|
|
|
9bf359 |
%{_jvmdir}/%{jredir}/lib/security)
|
|
|
9bf359 |
ln -sf $RELATIVE/cacerts .
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install extension symlinks.
|
|
|
9bf359 |
install -d -m 755 $RPM_BUILD_ROOT%{jvmjardir}
|
|
|
9bf359 |
pushd $RPM_BUILD_ROOT%{jvmjardir}
|
|
|
9bf359 |
RELATIVE=$(%{abs2rel} %{_jvmdir}/%{jredir}/lib %{jvmjardir})
|
|
|
9bf359 |
ln -sf $RELATIVE/jsse.jar jsse-%{version}.jar
|
|
|
9bf359 |
ln -sf $RELATIVE/jce.jar jce-%{version}.jar
|
|
|
9bf359 |
ln -sf $RELATIVE/rt.jar jndi-%{version}.jar
|
|
|
9bf359 |
ln -sf $RELATIVE/rt.jar jndi-ldap-%{version}.jar
|
|
|
9bf359 |
ln -sf $RELATIVE/rt.jar jndi-cos-%{version}.jar
|
|
|
9bf359 |
ln -sf $RELATIVE/rt.jar jndi-rmi-%{version}.jar
|
|
|
9bf359 |
ln -sf $RELATIVE/rt.jar jaas-%{version}.jar
|
|
|
9bf359 |
ln -sf $RELATIVE/rt.jar jdbc-stdext-%{version}.jar
|
|
|
9bf359 |
ln -sf jdbc-stdext-%{version}.jar jdbc-stdext-3.0.jar
|
|
|
9bf359 |
ln -sf $RELATIVE/rt.jar sasl-%{version}.jar
|
|
|
9bf359 |
for jar in *-%{version}.jar
|
|
|
9bf359 |
do
|
|
|
9bf359 |
if [ x%{version} != x%{javaver} ]
|
|
|
9bf359 |
then
|
|
|
9bf359 |
ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|-%{javaver}.jar|g")
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|.jar|g")
|
|
|
9bf359 |
done
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install JCE policy symlinks.
|
|
|
9bf359 |
install -d -m 755 $RPM_BUILD_ROOT%{_jvmprivdir}/%{uniquesuffix}/jce/vanilla
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install versioned symlinks.
|
|
|
9bf359 |
pushd $RPM_BUILD_ROOT%{_jvmdir}
|
|
|
9bf359 |
ln -sf %{jredir} %{jrelnk}
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
|
|
|
9bf359 |
pushd $RPM_BUILD_ROOT%{_jvmjardir}
|
|
|
9bf359 |
ln -sf %{sdkdir} %{jrelnk}
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
|
|
|
9bf359 |
# Remove javaws man page
|
|
|
9bf359 |
rm -f man/man1/javaws*
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install man pages.
|
|
|
9bf359 |
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
9bf359 |
for manpage in man/man1/*
|
|
|
9bf359 |
do
|
|
|
9bf359 |
# Convert man pages to UTF8 encoding.
|
|
|
9bf359 |
iconv -f ISO_8859-1 -t UTF8 $manpage -o $manpage.tmp
|
|
|
9bf359 |
mv -f $manpage.tmp $manpage
|
|
|
9bf359 |
install -m 644 -p $manpage $RPM_BUILD_ROOT%{_mandir}/man1/$(basename \
|
|
|
9bf359 |
$manpage .1)-%{uniquesuffix}.1
|
|
|
9bf359 |
done
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install demos and samples.
|
|
|
9bf359 |
cp -a demo $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
|
|
|
9bf359 |
mkdir -p sample/rmi
|
|
|
9bf359 |
mv bin/java-rmi.cgi sample/rmi
|
|
|
9bf359 |
cp -a sample $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
|
|
|
9bf359 |
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install Javadoc documentation.
|
|
|
9bf359 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}
|
|
|
9bf359 |
cp -a %{buildoutputdir}/docs $RPM_BUILD_ROOT%{_javadocdir}/%{uniquejavadocdir}
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install icons and menu entries.
|
|
|
9bf359 |
for s in 16 24 32 48 ; do
|
|
|
9bf359 |
install -D -p -m 644 \
|
|
|
c2cb23 |
openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \
|
|
|
9bf359 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/java-%{javaver}.png
|
|
|
9bf359 |
done
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install desktop files.
|
|
|
9bf359 |
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}
|
|
|
9bf359 |
for e in jconsole policytool ; do
|
|
|
9bf359 |
desktop-file-install --vendor=%{uniquesuffix} --mode=644 \
|
|
|
9bf359 |
--dir=$RPM_BUILD_ROOT%{_datadir}/applications $e.desktop
|
|
|
9bf359 |
done
|
|
|
9bf359 |
|
|
|
9bf359 |
# Install /etc/.java/.systemPrefs/ directory
|
|
|
9bf359 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=741821
|
|
|
9bf359 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/.java/.systemPrefs
|
|
|
9bf359 |
|
|
|
9bf359 |
# Find JRE directories.
|
|
|
9bf359 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type d \
|
|
|
9bf359 |
| grep -v jre/lib/security \
|
|
|
9bf359 |
| sed 's|'$RPM_BUILD_ROOT'|%dir |' \
|
|
|
9bf359 |
> %{name}.files-headless
|
|
|
9bf359 |
# Find JRE files.
|
|
|
9bf359 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type f -o -type l \
|
|
|
9bf359 |
| grep -v jre/lib/security \
|
|
|
9bf359 |
| sed 's|'$RPM_BUILD_ROOT'||' \
|
|
|
9bf359 |
> %{name}.files.all
|
|
|
9bf359 |
#split %%{name}.files to %%{name}.files-headless and %%{name}.files
|
|
|
9bf359 |
#see https://bugzilla.redhat.com/show_bug.cgi?id=875408
|
|
|
9bf359 |
NOT_HEADLESS=\
|
|
|
9bf359 |
"%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libjsoundalsa.so
|
|
|
9bf359 |
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libpulse-java.so
|
|
|
9bf359 |
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libsplashscreen.so
|
|
|
9bf359 |
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libawt_xawt.so
|
|
|
9bf359 |
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libjawt.so
|
|
|
9bf359 |
%{_jvmdir}/%{uniquesuffix}/jre/bin/policytool"
|
|
|
9bf359 |
#filter %%{name}.files from %%{name}.files.all to %%{name}.files-headless
|
|
|
9bf359 |
ALL=`cat %{name}.files.all`
|
|
|
9bf359 |
for file in $ALL ; do
|
|
|
9bf359 |
INLCUDE="NO" ;
|
|
|
9bf359 |
for blacklist in $NOT_HEADLESS ; do
|
|
|
9bf359 |
#we can not match normally, because rpmbuild will evaluate !0 result as script failure
|
|
|
9bf359 |
q=`expr match "$file" "$blacklist"` || :
|
|
|
9bf359 |
l=`expr length "$blacklist"` || :
|
|
|
9bf359 |
if [ $q -eq $l ]; then
|
|
|
9bf359 |
INLCUDE="YES" ;
|
|
|
9bf359 |
fi;
|
|
|
9bf359 |
done
|
|
|
9bf359 |
if [ "x$INLCUDE" = "xNO" ]; then
|
|
|
9bf359 |
echo "$file" >> %{name}.files-headless
|
|
|
9bf359 |
else
|
|
|
9bf359 |
echo "$file" >> %{name}.files
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
done
|
|
|
9bf359 |
# Find demo directories.
|
|
|
9bf359 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
|
|
|
9bf359 |
$RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample -type d \
|
|
|
9bf359 |
| sed 's|'$RPM_BUILD_ROOT'|%dir |' \
|
|
|
9bf359 |
> %{name}-demo.files
|
|
|
9bf359 |
|
|
|
9bf359 |
# FIXME: remove SONAME entries from demo DSOs. See
|
|
|
9bf359 |
# https://bugzilla.redhat.com/show_bug.cgi?id=436497
|
|
|
9bf359 |
|
|
|
9bf359 |
# Find non-documentation demo files.
|
|
|
9bf359 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
|
|
|
9bf359 |
$RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
|
|
|
9bf359 |
-type f -o -type l | sort \
|
|
|
9bf359 |
| grep -v README \
|
|
|
9bf359 |
| sed 's|'$RPM_BUILD_ROOT'||' \
|
|
|
9bf359 |
>> %{name}-demo.files
|
|
|
9bf359 |
# Find documentation demo files.
|
|
|
9bf359 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
|
|
|
9bf359 |
$RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
|
|
|
9bf359 |
-type f -o -type l | sort \
|
|
|
9bf359 |
| grep README \
|
|
|
9bf359 |
| sed 's|'$RPM_BUILD_ROOT'||' \
|
|
|
9bf359 |
| sed 's|^|%doc |' \
|
|
|
9bf359 |
>> %{name}-demo.files
|
|
|
9bf359 |
|
|
|
9bf359 |
# intentionally after the files generation, as it goes to separate package
|
|
|
9bf359 |
# Create links which leads to separately installed java-atk-bridge and allow configuration
|
|
|
9bf359 |
# links points to java-atk-wrapper - an dependence
|
|
|
9bf359 |
pushd $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir}/lib/%{archinstall}
|
|
|
9bf359 |
ln -s %{_libdir}/java-atk-wrapper/libatk-wrapper.so.0 libatk-wrapper.so
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
pushd $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir}/lib/ext
|
|
|
9bf359 |
ln -s %{_libdir}/java-atk-wrapper/java-atk-wrapper.jar java-atk-wrapper.jar
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
pushd $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir}/lib/
|
|
|
9bf359 |
echo "#Config file to enable java-atk-wrapper" > accessibility.properties
|
|
|
9bf359 |
echo "" >> accessibility.properties
|
|
|
9bf359 |
echo "assistive_technologies=org.GNOME.Accessibility.AtkWrapper" >> accessibility.properties
|
|
|
9bf359 |
echo "" >> accessibility.properties
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
|
|
|
9e49de |
bash %{SOURCE20} $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir $suffix} %{javaver}
|
|
|
9e49de |
|
|
|
9bf359 |
%pretrans headless -p <lua>
|
|
|
9bf359 |
-- see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue
|
|
|
9bf359 |
|
|
|
9bf359 |
local posix = require "posix"
|
|
|
9bf359 |
|
|
|
9bf359 |
local currentjvm = "%{uniquesuffix}"
|
|
|
9bf359 |
local jvmdir = "%{_jvmdir}"
|
|
|
9bf359 |
local jvmDestdir = jvmdir
|
|
|
9bf359 |
local origname = "%{name}"
|
|
|
9bf359 |
local origjavaver = "%{javaver}"
|
|
|
9bf359 |
--trasnform substitute names to lua patterns
|
|
|
9bf359 |
--all percentages must be doubled for case of RPM escapingg
|
|
|
9bf359 |
local name = string.gsub(string.gsub(origname, "%%-", "%%%%-"), "%%.", "%%%%.")
|
|
|
9bf359 |
local javaver = string.gsub(origjavaver, "%%.", "%%%%.")
|
|
|
9bf359 |
local arch ="%{_arch}"
|
|
|
9bf359 |
local debug = false;
|
|
|
9bf359 |
|
|
|
9bf359 |
local jvms = { }
|
|
|
9bf359 |
|
|
|
9bf359 |
local caredFiles = {"jre/lib/calendars.properties",
|
|
|
9bf359 |
"jre/lib/content-types.properties",
|
|
|
9bf359 |
"jre/lib/flavormap.properties",
|
|
|
9bf359 |
"jre/lib/logging.properties",
|
|
|
9bf359 |
"jre/lib/net.properties",
|
|
|
9bf359 |
"jre/lib/psfontj2d.properties",
|
|
|
9bf359 |
"jre/lib/sound.properties",
|
|
|
9bf359 |
"jre/lib/tz.properties",
|
|
|
9bf359 |
"jre/lib/deployment.properties",
|
|
|
9bf359 |
"jre/lib/deployment.config",
|
|
|
9bf359 |
"jre/lib/security/US_export_policy.jar",
|
|
|
9bf359 |
"jre/lib/security/java.policy",
|
|
|
9bf359 |
"jre/lib/security/java.security",
|
|
|
9bf359 |
"jre/lib/security/local_policy.jar",
|
|
|
9bf359 |
"jre/lib/security/nss.cfg,",
|
|
|
9bf359 |
"jre/lib/ext"}
|
|
|
9bf359 |
|
|
|
9bf359 |
function splitToTable(source, pattern)
|
|
|
9bf359 |
local i1 = string.gmatch(source, pattern)
|
|
|
9bf359 |
local l1 = {}
|
|
|
9bf359 |
for i in i1 do
|
|
|
9bf359 |
table.insert(l1, i)
|
|
|
9bf359 |
end
|
|
|
9bf359 |
return l1
|
|
|
9bf359 |
end
|
|
|
9bf359 |
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("started")
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
|
|
|
9bf359 |
foundJvms = posix.dir(jvmdir);
|
|
|
9bf359 |
if (foundJvms == nil) then
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("no, or nothing in "..jvmdir.." exit")
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
return
|
|
|
9bf359 |
end
|
|
|
9bf359 |
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("found "..#foundJvms.."jvms")
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
|
|
|
9bf359 |
for i,p in pairs(foundJvms) do
|
|
|
9bf359 |
-- regex similar to %{_jvmdir}/%{name}-%{javaver}*%{_arch} bash command
|
|
|
9bf359 |
--all percentages must be doubled for case of RPM escapingg
|
|
|
9bf359 |
if (string.find(p, name.."%%-"..javaver..".*"..arch) ~= nil ) then
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("matched: "..p)
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
if (currentjvm == p) then
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("this jdk is already installed. exiting lua script")
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
return
|
|
|
9bf359 |
end ;
|
|
|
9bf359 |
table.insert(jvms, p)
|
|
|
9bf359 |
else
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("NOT matched: "..p)
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
end
|
|
|
9bf359 |
end
|
|
|
9bf359 |
|
|
|
9bf359 |
if (#jvms <=0) then
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("no matching jdk in "..jvmdir.." exit")
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
return
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("matched "..#jvms.." jdk in "..jvmdir)
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
|
|
|
9bf359 |
--full names are like java-1.7.0-openjdk-1.7.0.60-2.4.5.1.fc20.x86_64
|
|
|
9bf359 |
table.sort(jvms , function(a,b)
|
|
|
9bf359 |
-- version-sort
|
|
|
9bf359 |
-- split on non word: . -
|
|
|
9bf359 |
local l1 = splitToTable(a, "[^%.-]+")
|
|
|
9bf359 |
local l2 = splitToTable(b, "[^%.-]+")
|
|
|
9bf359 |
for x = 1, math.min(#l1, #l2) do
|
|
|
9bf359 |
local l1x = tonumber(l1[x])
|
|
|
9bf359 |
local l2x = tonumber(l2[x])
|
|
|
9bf359 |
if (l1x ~= nil and l2x ~= nil)then
|
|
|
9bf359 |
--if hunks are numbers, go with them
|
|
|
9bf359 |
if (l1x < l2x) then return true; end
|
|
|
9bf359 |
if (l1x > l2x) then return false; end
|
|
|
9bf359 |
else
|
|
|
9bf359 |
if (l1[x] < l2[x]) then return true; end
|
|
|
9bf359 |
if (l1[x] > l2[x]) then return false; end
|
|
|
9bf359 |
end
|
|
|
9bf359 |
-- if hunks are equals then move to another pair of hunks
|
|
|
9bf359 |
end
|
|
|
9bf359 |
return a
|
|
|
9bf359 |
|
|
|
9bf359 |
end)
|
|
|
9bf359 |
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("sorted lsit of jvms")
|
|
|
9bf359 |
for i,file in pairs(jvms) do
|
|
|
9bf359 |
print(file)
|
|
|
9bf359 |
end
|
|
|
9bf359 |
end
|
|
|
9bf359 |
|
|
|
9bf359 |
latestjvm = jvms[#jvms]
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
for i,file in pairs(caredFiles) do
|
|
|
9bf359 |
local SOURCE=jvmdir.."/"..latestjvm.."/"..file
|
|
|
9bf359 |
local DEST=jvmDestdir.."/"..currentjvm.."/"..file
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("going to copy "..SOURCE)
|
|
|
9bf359 |
print("to "..DEST)
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
local stat1 = posix.stat(SOURCE, "type");
|
|
|
9bf359 |
if (stat1 ~= nil) then
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print(SOURCE.." exists")
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
local s = ""
|
|
|
9bf359 |
local dirs = splitToTable(DEST, "[^/]+")
|
|
|
9bf359 |
for i,d in pairs(dirs) do
|
|
|
9bf359 |
if (i == #dirs) then
|
|
|
9bf359 |
break
|
|
|
9bf359 |
end
|
|
|
9bf359 |
s = s.."/"..d
|
|
|
9bf359 |
local stat2 = posix.stat(s, "type");
|
|
|
9bf359 |
if (stat2 == nil) then
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print(s.." does not exists, creating")
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
posix.mkdir(s)
|
|
|
9bf359 |
else
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print(s.." exists,not creating")
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
end
|
|
|
9bf359 |
end
|
|
|
9bf359 |
-- Copy with -a to keep everything intact
|
|
|
9bf359 |
local exe = "cp".." -ar "..SOURCE.." "..DEST
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print("executing "..exe)
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
os.execute(exe)
|
|
|
9bf359 |
else
|
|
|
9bf359 |
if (debug) then
|
|
|
9bf359 |
print(SOURCE.." does not exists")
|
|
|
9bf359 |
end;
|
|
|
9bf359 |
end
|
|
|
9bf359 |
end
|
|
|
9bf359 |
|
|
|
9bf359 |
%post
|
|
|
9bf359 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
|
9bf359 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9bf359 |
exit 0
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
# FIXME: identical binaries are copied, not linked. This needs to be
|
|
|
9bf359 |
# fixed upstream.
|
|
|
9bf359 |
%post headless
|
|
|
9bf359 |
# The pretrans lua scriptlet prevents an unmodified java.security
|
|
|
9bf359 |
# from being replaced via an update. It gets created as
|
|
|
9bf359 |
# java.security.rpmnew instead. This invalidates the patch of
|
|
|
c2cb23 |
# JDK-8061210 of the January 2015 CPU or JDk-8043201 of the
|
|
|
c2cb23 |
# July 2015 CPU. We fix this via a post scriptlet which runs on updates.
|
|
|
9bf359 |
if [ "$1" -gt 1 ]; then
|
|
|
9bf359 |
javasecurity="%{_jvmdir}/%{uniquesuffix}/jre/lib/security/java.security"
|
|
|
9bf359 |
sum=$(md5sum "${javasecurity}" | cut -d' ' -f1)
|
|
|
9bf359 |
# This is the md5sum of an unmodified java.security file
|
|
|
c2cb23 |
if [ "${sum}" = '1690ac33955594f71dc952c9e83fd396' -o \
|
|
|
5338de |
"${sum}" = 'b138695d0c0ea947e64a21a627d973ba' -o \
|
|
|
a9a030 |
"${sum}" = 'd17958676bdb9f9d941c8a59655311fb' -o \
|
|
|
a9a030 |
"${sum}" = '5463aef7dbf0bbcfe79e0336a7f92701' -o \
|
|
|
a9a030 |
"${sum}" = '400cc64d4dd31f36dc0cc2c701d603db' ]; then
|
|
|
9bf359 |
if [ -f "${javasecurity}.rpmnew" ]; then
|
|
|
9bf359 |
mv -f "${javasecurity}.rpmnew" "${javasecurity}"
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
|
|
|
9bf359 |
%ifarch %{jit_arches}
|
|
|
9bf359 |
%ifnarch %{ppc64}
|
|
|
9bf359 |
#see https://bugzilla.redhat.com/show_bug.cgi?id=513605
|
|
|
9bf359 |
%{jrebindir}/java -Xshare:dump >/dev/null 2>/dev/null
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
ext=.gz
|
|
|
9bf359 |
alternatives \
|
|
|
9bf359 |
--install %{_bindir}/java java %{jrebindir}/java %{priority} \
|
|
|
9bf359 |
--slave %{_jvmdir}/jre jre %{_jvmdir}/%{jredir} \
|
|
|
9bf359 |
--slave %{_jvmjardir}/jre jre_exports %{_jvmjardir}/%{jrelnk} \
|
|
|
9bf359 |
--slave %{_bindir}/jjs jjs %{jrebindir}/jjs \
|
|
|
9bf359 |
--slave %{_bindir}/keytool keytool %{jrebindir}/keytool \
|
|
|
9bf359 |
--slave %{_bindir}/orbd orbd %{jrebindir}/orbd \
|
|
|
9bf359 |
--slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \
|
|
|
9bf359 |
--slave %{_bindir}/rmid rmid %{jrebindir}/rmid \
|
|
|
9bf359 |
--slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \
|
|
|
9bf359 |
--slave %{_bindir}/servertool servertool %{jrebindir}/servertool \
|
|
|
9bf359 |
--slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \
|
|
|
9bf359 |
--slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \
|
|
|
9bf359 |
--slave %{_mandir}/man1/java.1$ext java.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/java-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jjs.1$ext jjs.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jjs-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_bindir}/policytool policytool %{jrebindir}/policytool \
|
|
|
9bf359 |
--slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/keytool-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/orbd.1$ext orbd.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/orbd-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/pack200-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/rmid-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/rmiregistry-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/servertool.1$ext servertool.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/servertool-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/tnameserv.1$ext tnameserv.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/tnameserv-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/unpack200-%{uniquesuffix}.1$ext
|
|
|
9bf359 |
|
|
|
9bf359 |
for X in %{origin} %{javaver} ; do
|
|
|
9bf359 |
alternatives \
|
|
|
9bf359 |
--install %{_jvmdir}/jre-"$X" \
|
|
|
9bf359 |
jre_"$X" %{_jvmdir}/%{jredir} %{priority} \
|
|
|
9bf359 |
--slave %{_jvmjardir}/jre-"$X" \
|
|
|
9bf359 |
jre_"$X"_exports %{_jvmjardir}/%{jredir}
|
|
|
9bf359 |
done
|
|
|
9bf359 |
|
|
|
9bf359 |
update-alternatives --install %{_jvmdir}/jre-%{javaver}-%{origin} jre_%{javaver}_%{origin} %{_jvmdir}/%{jrelnk} %{priority} \
|
|
|
9bf359 |
--slave %{_jvmjardir}/jre-%{javaver} jre_%{javaver}_%{origin}_exports %{jvmjardir}
|
|
|
9bf359 |
|
|
|
9bf359 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
|
9bf359 |
|
|
|
9bf359 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9bf359 |
|
|
|
9bf359 |
exit 0
|
|
|
9bf359 |
|
|
|
9bf359 |
%postun
|
|
|
9bf359 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
|
9bf359 |
|
|
|
9bf359 |
if [ $1 -eq 0 ] ; then
|
|
|
9bf359 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
9bf359 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
|
|
|
9bf359 |
exit 0
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
%postun headless
|
|
|
9bf359 |
alternatives --remove java %{jrebindir}/java
|
|
|
9bf359 |
alternatives --remove jre_%{origin} %{_jvmdir}/%{jredir}
|
|
|
9bf359 |
alternatives --remove jre_%{javaver} %{_jvmdir}/%{jredir}
|
|
|
9bf359 |
alternatives --remove jre_%{javaver}_%{origin} %{_jvmdir}/%{jrelnk}
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
%posttrans
|
|
|
9bf359 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9bf359 |
|
|
|
9bf359 |
%post devel
|
|
|
9bf359 |
ext=.gz
|
|
|
9bf359 |
alternatives \
|
|
|
9bf359 |
--install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \
|
|
|
9bf359 |
--slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdkdir} \
|
|
|
9bf359 |
--slave %{_jvmjardir}/java java_sdk_exports %{_jvmjardir}/%{sdkdir} \
|
|
|
9bf359 |
--slave %{_bindir}/appletviewer appletviewer %{sdkbindir}/appletviewer \
|
|
|
9bf359 |
--slave %{_bindir}/extcheck extcheck %{sdkbindir}/extcheck \
|
|
|
9bf359 |
--slave %{_bindir}/idlj idlj %{sdkbindir}/idlj \
|
|
|
9bf359 |
--slave %{_bindir}/jar jar %{sdkbindir}/jar \
|
|
|
9bf359 |
--slave %{_bindir}/jarsigner jarsigner %{sdkbindir}/jarsigner \
|
|
|
9bf359 |
--slave %{_bindir}/javadoc javadoc %{sdkbindir}/javadoc \
|
|
|
9bf359 |
--slave %{_bindir}/javah javah %{sdkbindir}/javah \
|
|
|
9bf359 |
--slave %{_bindir}/javap javap %{sdkbindir}/javap \
|
|
|
9bf359 |
--slave %{_bindir}/jcmd jcmd %{sdkbindir}/jcmd \
|
|
|
9bf359 |
--slave %{_bindir}/jconsole jconsole %{sdkbindir}/jconsole \
|
|
|
9bf359 |
--slave %{_bindir}/jdb jdb %{sdkbindir}/jdb \
|
|
|
9bf359 |
--slave %{_bindir}/jdeps jdeps %{sdkbindir}/jdeps \
|
|
|
9bf359 |
--slave %{_bindir}/jhat jhat %{sdkbindir}/jhat \
|
|
|
9bf359 |
--slave %{_bindir}/jinfo jinfo %{sdkbindir}/jinfo \
|
|
|
9bf359 |
--slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \
|
|
|
9bf359 |
--slave %{_bindir}/jps jps %{sdkbindir}/jps \
|
|
|
9bf359 |
--slave %{_bindir}/jrunscript jrunscript %{sdkbindir}/jrunscript \
|
|
|
9bf359 |
--slave %{_bindir}/jsadebugd jsadebugd %{sdkbindir}/jsadebugd \
|
|
|
9bf359 |
--slave %{_bindir}/jstack jstack %{sdkbindir}/jstack \
|
|
|
9bf359 |
--slave %{_bindir}/jstat jstat %{sdkbindir}/jstat \
|
|
|
9bf359 |
--slave %{_bindir}/jstatd jstatd %{sdkbindir}/jstatd \
|
|
|
9bf359 |
--slave %{_bindir}/native2ascii native2ascii %{sdkbindir}/native2ascii \
|
|
|
9bf359 |
--slave %{_bindir}/rmic rmic %{sdkbindir}/rmic \
|
|
|
9bf359 |
--slave %{_bindir}/schemagen schemagen %{sdkbindir}/schemagen \
|
|
|
9bf359 |
--slave %{_bindir}/serialver serialver %{sdkbindir}/serialver \
|
|
|
9bf359 |
--slave %{_bindir}/wsgen wsgen %{sdkbindir}/wsgen \
|
|
|
9bf359 |
--slave %{_bindir}/wsimport wsimport %{sdkbindir}/wsimport \
|
|
|
9bf359 |
--slave %{_bindir}/xjc xjc %{sdkbindir}/xjc \
|
|
|
9bf359 |
--slave %{_mandir}/man1/appletviewer.1$ext appletviewer.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/appletviewer-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/extcheck.1$ext extcheck.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/extcheck-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/idlj.1$ext idlj.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/idlj-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jar.1$ext jar.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jar-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jarsigner-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/javac.1$ext javac.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/javac-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/javadoc.1$ext javadoc.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/javadoc-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/javah.1$ext javah.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/javah-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/javap.1$ext javap.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/javap-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jcmd.1$ext jcmd.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jcmd-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jconsole.1$ext jconsole.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jconsole-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jdb.1$ext jdb.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jdb-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jdeps.1$ext jdeps.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jdeps-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jhat.1$ext jhat.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jhat-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jinfo.1$ext jinfo.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jinfo-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jmap.1$ext jmap.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jmap-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jps.1$ext jps.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jps-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jrunscript.1$ext jrunscript.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jrunscript-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jsadebugd.1$ext jsadebugd.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jsadebugd-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jstack.1$ext jstack.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jstack-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jstat.1$ext jstat.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jstat-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/jstatd.1$ext jstatd.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/jstatd-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/native2ascii.1$ext native2ascii.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/native2ascii-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/policytool.1$ext policytool.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/policytool-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/rmic-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/schemagen.1$ext schemagen.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/schemagen-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/serialver-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/wsgen.1$ext wsgen.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/wsgen-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/wsimport.1$ext wsimport.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/wsimport-%{uniquesuffix}.1$ext \
|
|
|
9bf359 |
--slave %{_mandir}/man1/xjc.1$ext xjc.1$ext \
|
|
|
9bf359 |
%{_mandir}/man1/xjc-%{uniquesuffix}.1$ext
|
|
|
9bf359 |
|
|
|
9bf359 |
for X in %{origin} %{javaver} ; do
|
|
|
9bf359 |
alternatives \
|
|
|
9bf359 |
--install %{_jvmdir}/java-"$X" \
|
|
|
9bf359 |
java_sdk_"$X" %{_jvmdir}/%{sdkdir} %{priority} \
|
|
|
9bf359 |
--slave %{_jvmjardir}/java-"$X" \
|
|
|
9bf359 |
java_sdk_"$X"_exports %{_jvmjardir}/%{sdkdir}
|
|
|
9bf359 |
done
|
|
|
9bf359 |
|
|
|
9bf359 |
update-alternatives --install %{_jvmdir}/java-%{javaver}-%{origin} java_sdk_%{javaver}_%{origin} %{_jvmdir}/%{sdkdir} %{priority} \
|
|
|
9bf359 |
--slave %{_jvmjardir}/java-%{javaver}-%{origin} java_sdk_%{javaver}_%{origin}_exports %{_jvmjardir}/%{sdkdir}
|
|
|
9bf359 |
|
|
|
9bf359 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
|
9bf359 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9bf359 |
|
|
|
9bf359 |
exit 0
|
|
|
9bf359 |
|
|
|
9bf359 |
%postun devel
|
|
|
9bf359 |
alternatives --remove javac %{sdkbindir}/javac
|
|
|
9bf359 |
alternatives --remove java_sdk_%{origin} %{_jvmdir}/%{sdkdir}
|
|
|
9bf359 |
alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdkdir}
|
|
|
9bf359 |
alternatives --remove java_sdk_%{javaver}_%{origin} %{_jvmdir}/%{sdkdir}
|
|
|
9bf359 |
|
|
|
9bf359 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
|
9bf359 |
|
|
|
9bf359 |
if [ $1 -eq 0 ] ; then
|
|
|
9bf359 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
9bf359 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9bf359 |
fi
|
|
|
9bf359 |
|
|
|
9bf359 |
exit 0
|
|
|
9bf359 |
|
|
|
9bf359 |
%posttrans devel
|
|
|
9bf359 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
%post javadoc
|
|
|
9bf359 |
alternatives \
|
|
|
9bf359 |
--install %{_javadocdir}/java javadocdir %{_javadocdir}/%{uniquejavadocdir}/api \
|
|
|
9bf359 |
%{priority}
|
|
|
9bf359 |
|
|
|
9bf359 |
exit 0
|
|
|
9bf359 |
|
|
|
9bf359 |
%postun javadoc
|
|
|
9bf359 |
alternatives --remove javadocdir %{_javadocdir}/%{uniquejavadocdir}/api
|
|
|
9bf359 |
|
|
|
9bf359 |
exit 0
|
|
|
9bf359 |
|
|
|
9bf359 |
|
|
|
9bf359 |
%files -f %{name}.files
|
|
|
9bf359 |
%{_datadir}/icons/hicolor/*x*/apps/java-%{javaver}.png
|
|
|
9bf359 |
%{_datadir}/applications/*policytool.desktop
|
|
|
9bf359 |
|
|
|
9bf359 |
# important note, see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue
|
|
|
9bf359 |
# all config/norepalce files (and more) have to be declared in pretrans. See pretrans
|
|
|
9bf359 |
%files headless -f %{name}.files-headless
|
|
|
9bf359 |
%defattr(-,root,root,-)
|
|
|
9bf359 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/ASSEMBLY_EXCEPTION
|
|
|
9bf359 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE
|
|
|
9bf359 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/THIRD_PARTY_README
|
|
|
9bf359 |
%dir %{_jvmdir}/%{sdkdir}
|
|
|
9bf359 |
%{_jvmdir}/%{jrelnk}
|
|
|
9bf359 |
%{_jvmjardir}/%{jrelnk}
|
|
|
9bf359 |
%{_jvmprivdir}/*
|
|
|
9bf359 |
%{jvmjardir}
|
|
|
9bf359 |
%dir %{_jvmdir}/%{jredir}/lib/security
|
|
|
9bf359 |
%{_jvmdir}/%{jredir}/lib/security/cacerts
|
|
|
9bf359 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/US_export_policy.jar
|
|
|
9bf359 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/local_policy.jar
|
|
|
9bf359 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy
|
|
|
9bf359 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security
|
|
|
9bf359 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklisted.certs
|
|
|
9bf359 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/logging.properties
|
|
|
9bf359 |
%{_mandir}/man1/java-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jjs-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/keytool-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/orbd-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/pack200-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/rmid-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/rmiregistry-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/servertool-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/tnameserv-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/unpack200-%{uniquesuffix}.1*
|
|
|
9bf359 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/nss.cfg
|
|
|
a9a030 |
# removed %%{_jvmdir}/%%{jredir}/lib/audio/
|
|
|
a9a030 |
# see soundfont in %%install
|
|
|
9bf359 |
%ifarch %{jit_arches}
|
|
|
d934b5 |
%ifnarch %{ppc64}
|
|
|
9bf359 |
%attr(664, root, root) %ghost %{_jvmdir}/%{jredir}/lib/%{archinstall}/server/classes.jsa
|
|
|
9bf359 |
%attr(664, root, root) %ghost %{_jvmdir}/%{jredir}/lib/%{archinstall}/client/classes.jsa
|
|
|
9bf359 |
%endif
|
|
|
d934b5 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
%{_jvmdir}/%{jredir}/lib/%{archinstall}/server/
|
|
|
9bf359 |
%{_jvmdir}/%{jredir}/lib/%{archinstall}/client/
|
|
|
9bf359 |
|
|
|
9bf359 |
%files devel
|
|
|
9bf359 |
%defattr(-,root,root,-)
|
|
|
9bf359 |
%doc %{buildoutputdir}/images/j2sdk-image/ASSEMBLY_EXCEPTION
|
|
|
9bf359 |
%doc %{buildoutputdir}/images/j2sdk-image/LICENSE
|
|
|
9bf359 |
%doc %{buildoutputdir}/images/j2sdk-image/THIRD_PARTY_README
|
|
|
9bf359 |
%dir %{_jvmdir}/%{sdkdir}/bin
|
|
|
9bf359 |
%dir %{_jvmdir}/%{sdkdir}/include
|
|
|
9bf359 |
%dir %{_jvmdir}/%{sdkdir}/lib
|
|
|
9bf359 |
%if %{with_systemtap}
|
|
|
9bf359 |
%dir %{_jvmdir}/%{sdkdir}/tapset
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%{_jvmdir}/%{sdkdir}/bin/*
|
|
|
9bf359 |
%{_jvmdir}/%{sdkdir}/include/*
|
|
|
9bf359 |
%{_jvmdir}/%{sdkdir}/lib/*
|
|
|
9bf359 |
%if %{with_systemtap}
|
|
|
9bf359 |
%{_jvmdir}/%{sdkdir}/tapset/*.stp
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
%{_jvmjardir}/%{sdkdir}
|
|
|
9bf359 |
%{_datadir}/applications/*jconsole.desktop
|
|
|
9bf359 |
%{_mandir}/man1/appletviewer-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/extcheck-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/idlj-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jar-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jarsigner-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/javac-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/javadoc-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/javah-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/javap-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jconsole-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jcmd-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jdb-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jdeps-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jhat-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jinfo-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jmap-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jps-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jrunscript-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jsadebugd-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jstack-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jstat-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/jstatd-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/native2ascii-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/policytool-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/rmic-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/schemagen-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/serialver-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/wsgen-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/wsimport-%{uniquesuffix}.1*
|
|
|
9bf359 |
%{_mandir}/man1/xjc-%{uniquesuffix}.1*
|
|
|
9bf359 |
%if %{with_systemtap}
|
|
|
9bf359 |
%{tapsetroot}
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
%files demo -f %{name}-demo.files
|
|
|
9bf359 |
%defattr(-,root,root,-)
|
|
|
9bf359 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE
|
|
|
9bf359 |
|
|
|
9bf359 |
%files src
|
|
|
9bf359 |
%defattr(-,root,root,-)
|
|
|
9bf359 |
%doc README.src
|
|
|
9bf359 |
%{_jvmdir}/%{sdkdir}/src.zip
|
|
|
9bf359 |
|
|
|
9bf359 |
%files javadoc
|
|
|
9bf359 |
%defattr(-,root,root,-)
|
|
|
9bf359 |
%doc %{_javadocdir}/%{uniquejavadocdir}
|
|
|
9bf359 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE
|
|
|
9bf359 |
|
|
|
9bf359 |
%files accessibility
|
|
|
9bf359 |
%{_jvmdir}/%{jredir}/lib/%{archinstall}/libatk-wrapper.so
|
|
|
9bf359 |
%{_jvmdir}/%{jredir}/lib/ext/java-atk-wrapper.jar
|
|
|
9bf359 |
%{_jvmdir}/%{jredir}/lib/accessibility.properties
|
|
|
9bf359 |
|
|
|
9bf359 |
%changelog
|
|
|
a9a030 |
* Mon Oct 19 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.65-2.b17
|
|
|
a9a030 |
- fixd dual \\ to single \
|
|
|
a9a030 |
- Resolves: rhbz#1257656
|
|
|
a9a030 |
|
|
|
a9a030 |
* Fri Oct 16 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.65-1.b17
|
|
|
a9a030 |
- moved to bundled lcms
|
|
|
a9a030 |
- Resolves: rhbz#1257656
|
|
|
a9a030 |
|
|
|
a9a030 |
* Thu Oct 15 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.65-0.b17
|
|
|
a9a030 |
- October 2015 security update to u65b17.
|
|
|
a9a030 |
- Add script for generating OpenJDK tarballs from a local Mercurial tree.
|
|
|
a9a030 |
- Update RH1191652 patch to build against current AArch64 tree.
|
|
|
a9a030 |
- Use appropriate source ID to avoid unpacking both tarballs on AArch64.
|
|
|
a9a030 |
- Add MD5 checksums for java.security from 8u51 and 8u60 RPMs.
|
|
|
a9a030 |
- Resolves: rhbz#1257656
|
|
|
a9a030 |
|
|
|
a9a030 |
* Wed Oct 14 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.60-3.b27
|
|
|
a9a030 |
- removed link to soundfont. Unused in rhel7 and will be fixed upstream
|
|
|
a9a030 |
- Resolves: rhbz#1257653
|
|
|
a9a030 |
|
|
|
a9a030 |
* Tue Sep 08 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.60-2.b27
|
|
|
5338de |
- removed double slash forgotten when sciplet mved out of macro
|
|
|
5338de |
- Resolves: rhbz#1260077
|
|
|
5338de |
|
|
|
5338de |
* Fri Sep 04 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.60-1.b27
|
|
|
5338de |
- updated to u60
|
|
|
5338de |
- Resolves: rhbz#1260077
|
|
|
5338de |
|
|
|
c2cb23 |
* Thu Jul 02 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.51-1.b16
|
|
|
c2cb23 |
- Add md5sum for January 2015 java.security update so it gets updated this time.
|
|
|
c2cb23 |
- Resolves: rhbz#1235162
|
|
|
c2cb23 |
|
|
|
c2cb23 |
* Thu Jul 02 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.51-0.b16
|
|
|
c2cb23 |
- July 2015 security update to u51b16.
|
|
|
c2cb23 |
- Add script for generating OpenJDK tarballs from a local Mercurial tree.
|
|
|
c2cb23 |
- Add %%{name} prefix to patches to avoid conflicts with OpenJDK 7 versions.
|
|
|
c2cb23 |
- Add patches for RH issues fixed in IcedTea 2.x and/or the upcoming u60.
|
|
|
c2cb23 |
- Use 'openjdk' as directory prefix to allow patch interchange with IcedTea.
|
|
|
c2cb23 |
- Re-generate EC disablement patch following CPU DH changes.
|
|
|
c2cb23 |
- Resolves: rhbz#1235162
|
|
|
c2cb23 |
|
|
|
9e49de |
* Fri Apr 10 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.45-30.b13
|
|
|
9e49de |
- repacked sources
|
|
|
9e49de |
- Resolves: RHBZ#1209076
|
|
|
9e49de |
|
|
|
9e49de |
* Wed Apr 08 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.45-7.b13
|
|
|
9e49de |
- Re-add %%{name} prefix to patches to avoid conflicts with OpenJDK 7 versions.
|
|
|
9e49de |
- Remove ppc64le test case now fix has been verified.
|
|
|
9e49de |
- Resolves: rhbz#1194378
|
|
|
9e49de |
|
|
|
9e49de |
* Tue Apr 07 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.45-27.b13
|
|
|
9e49de |
- updated to security u45
|
|
|
9e49de |
- minor sync with 7.2
|
|
|
9e49de |
- generate_source_tarball.sh
|
|
|
9e49de |
- adapted java-1.8.0-openjdk-s390-java-opts.patch and java-1.8.0-openjdk-size_t.patch
|
|
|
9e49de |
- reworked (synced) zero patches (removed 103,11 added 204, 400-403)
|
|
|
9e49de |
- family of 5XX patches renamed to 6XX
|
|
|
9e49de |
- added upstreamed patch 501 and 505
|
|
|
9e49de |
- included removeSunEcProvider-RH1154143.patch
|
|
|
9e49de |
- returned java (jre only) provides
|
|
|
9e49de |
- repacked policies (source20)
|
|
|
9e49de |
- removed duplicated NVR provides
|
|
|
9e49de |
- added automated test for priority (length7)
|
|
|
9e49de |
- Resolves: RHBZ#1209076
|
|
|
9e49de |
|
|
|
d934b5 |
* Wed Mar 18 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-7.b13
|
|
|
d934b5 |
- Set archinstall to ppc64le on that platform.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Wed Mar 04 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-6.b13
|
|
|
d934b5 |
- Adjust ppc64le HotSpot patch for OpenJDK 8.
|
|
|
d934b5 |
- Enable AArch64 configure/JDK patch on all archs to minimise patching issues.
|
|
|
d934b5 |
- Adjust ppc64le patches to apply after the enableAArch64 patch.
|
|
|
d934b5 |
- Add %%{name} prefix to patches to avoid conflicts with OpenJDK 7 versions.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Tue Mar 03 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-5.b13
|
|
|
d934b5 |
- Provide AArch64 version of RH1191652 HotSpot patch.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Wed Feb 18 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-4.b13
|
|
|
d934b5 |
- Actually add test case Java file.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Wed Feb 18 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-4.b13
|
|
|
d934b5 |
- Override ppc64le as ppc64 only in hotspot-spec.gmk so as not to disrupt JDK build.
|
|
|
d934b5 |
- Add property test case from java-1.7.0-openjdk build.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Wed Feb 18 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-4.b13
|
|
|
d934b5 |
- Set OPENJDK_TARGET_CPU_LEGACY to ppc64 so as not to mess up HotSpot build.
|
|
|
d934b5 |
- Add -DABI_ELFv2 to CFLAGS on ppc64le to match OpenJDK 7.
|
|
|
d934b5 |
- Print contents of hotspot-spec.gmk
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Wed Feb 18 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-4.b13
|
|
|
d934b5 |
- Fix path to spec.gmk.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Tue Feb 17 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-4.b13
|
|
|
d934b5 |
- Print contents of spec.gmk to see what is being passed to the HotSpot build.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Tue Feb 17 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-4.b13
|
|
|
d934b5 |
- Remove patch to generated-configure.sh as RPM re-generates it.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Tue Feb 17 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-4.b13
|
|
|
d934b5 |
- Fix configure script to use ppc64le, not ppc64.
|
|
|
d934b5 |
- Add ppc64le support to LIBJSOUND_CFLAGS.
|
|
|
d934b5 |
- Add a jvm.cfg for ppc64le
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Tue Feb 17 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-4.b13
|
|
|
d934b5 |
- Report ppc64le as the architecture on ppc64le, not ppc64.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
d934b5 |
* Tue Jan 27 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.31-3.b13
|
|
|
d934b5 |
- Depend on java-1.7.0-openjdk to build instead.
|
|
|
d934b5 |
- Resolves: rhbz#1194378
|
|
|
d934b5 |
|
|
|
9bf359 |
* Fri Jan 16 2015 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.8.0.31-2.b13
|
|
|
9bf359 |
- Replace unmodified java.security file via headless post scriptlet.
|
|
|
9bf359 |
- Resolves: RHBZ#1180301
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Jan 09 2015 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.8.0.31-1.b13
|
|
|
9bf359 |
- Update to January CPU patch update.
|
|
|
9bf359 |
- Resolves: RHBZ#1180301
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Dec 17 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.25-5.b17
|
|
|
9bf359 |
- epoch synced to 1
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Oct 24 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.25-4.b17
|
|
|
9bf359 |
- updated aarch64 sources
|
|
|
9bf359 |
- all ppcs excluded from classes dump(1156151)
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Oct 24 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.25-3.b17
|
|
|
9bf359 |
- added patch12,removeSunEcProvider-RH1154143
|
|
|
9bf359 |
- xdump excluded from ppc64le (rh1156151)
|
|
|
9bf359 |
- Add check for src.zip completeness. See RH1130490 (by sgehwolf@redhat.com)
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Oct 22 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.25-3.b17
|
|
|
9bf359 |
- Do not provide JPackage java-* provides. (see RH1155783)
|
|
|
9bf359 |
- Resolves: rhbz#1155786
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Oct 20 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.25-2.b17
|
|
|
9bf359 |
- ec/impl removed from source tarball
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Oct 06 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.8.0.25-1.b17
|
|
|
9bf359 |
- Update to October CPU patch update.
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Sep 25 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.20-11.b26
|
|
|
9bf359 |
- Fix rpmlint warnings about vectoriesed ppcs
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Sep 25 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.20-10.b26
|
|
|
9bf359 |
- Remove LIBDIR and funny definition of _libdir.
|
|
|
9bf359 |
- Fix rpmlint warnings about macros in comments.
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Sep 22 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.8.0.20-10.b26
|
|
|
9bf359 |
- BR changed to java-1.8.0-openjdk in order to verify build by itself.
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Sep 22 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.8.0.20-9.b26
|
|
|
9bf359 |
- Add hotspot compiler flag -fno-tree-vectorize which fixes the segfault in
|
|
|
9bf359 |
the bytecode verifier on ppc/ppc64.
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Sep 19 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.8.0.20-8.b26
|
|
|
9bf359 |
- Add patches for PPC zero build.
|
|
|
9bf359 |
- Fixes stack overflow problem. See RHBZ#1015432.
|
|
|
9bf359 |
- Fixes missing memory barrier in Atomic::xchg*
|
|
|
9bf359 |
- Fixes missing PPC32/PPC64 defines for Zero builds on power.
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Sep 17 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.8.0.20-7.b26
|
|
|
9bf359 |
- Remove ppc/64 patches.
|
|
|
9bf359 |
- Build with java-1.7.0-openjdk.
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Sep 10 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.20-6.b26
|
|
|
9bf359 |
- Revert to building against java-1.8.0-openjdk
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Sep 10 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.20-5.b26
|
|
|
9bf359 |
- Update aarch64 hotspot to latest upstream version
|
|
|
9bf359 |
- Depend on java-1.7.0-openjdk to work around self-building issues
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Sep 08 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.20-4.b26
|
|
|
9bf359 |
- forcing build by itself (jdk8 by jdk8)
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Sep 05 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.20-3.b26
|
|
|
9bf359 |
- Update aarch64 hotspot to latest version
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Sep 05 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.20-2.b26
|
|
|
9bf359 |
- Enable jit for all ppc64 variants
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Sep 05 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.20-2.b26
|
|
|
9bf359 |
- moving all ppc64 to jit arches
|
|
|
9bf359 |
- using cpp interpreter for ppc64le
|
|
|
9bf359 |
- removing requirement on datadir/javazi-1.8/tzdb.dat
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Sep 05 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.20-1.b26
|
|
|
9bf359 |
- Switch back to 8u20
|
|
|
9bf359 |
- Build using java-1.7.0-openjdk
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Sep 04 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.40-5.b26
|
|
|
9bf359 |
- Update aarch64 hotspot to jdk7u40-b02 to match the rest of the JDK
|
|
|
9bf359 |
- Do not obsolete java-1.7.0-openjdk
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Sep 03 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.20-4.b26
|
|
|
9bf359 |
- forcing build by itself (jdk8 by jdk8)
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Sep 03 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.20-3.b26
|
|
|
9bf359 |
- fixed RH1136544, orriginal issue, state of pc64le jit remians mistery
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Aug 28 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.40-1.b02
|
|
|
9bf359 |
- adapted aarch64 patch
|
|
|
9bf359 |
- removed upstreamed patch 0001-PPC64LE-arch-support-in-openjdk-1.8.patch
|
|
|
9bf359 |
- added patch666 stackoverflow-ppc32_64-20140828.patch
|
|
|
9bf359 |
- commented out patch2 1015432.patch (does nearly the same as new patch666)
|
|
|
9bf359 |
- Resolves: rhbz#1125260
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Aug 27 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.40-1.b02
|
|
|
9bf359 |
- updated to u40-b02
|
|
|
9bf359 |
- adapted aarch64 patches
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Aug 27 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.40-1.b01
|
|
|
9bf359 |
- updated to u40-b01
|
|
|
9bf359 |
- adapted java-1.8.0-openjdk-accessible-toolkit.patch
|
|
|
9bf359 |
- adapted system-lcms.patch
|
|
|
9bf359 |
- removed patch8 set-active-window.patch
|
|
|
9bf359 |
- removed patch9 javadoc-error-jdk-8029145.patch
|
|
|
9bf359 |
- removed patch10 javadoc-error-jdk-8037484.patch
|
|
|
9bf359 |
- removed patch99 applet-hole.patch - itw 1.5.1 is able to ive without it
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Aug 19 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-19.b12
|
|
|
9bf359 |
- fixed desktop icons
|
|
|
9bf359 |
- Icon set to java-1.8.0
|
|
|
9bf359 |
- Development removed from policy tool
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Aug 18 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-18.b12
|
|
|
9bf359 |
- fixed jstack
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Aug 18 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-17.b12
|
|
|
9bf359 |
- added build requires and requires for headles _datadir/javazi-1.8/tzdb.dat
|
|
|
9bf359 |
- restriction of tzdata provider, so we will be aware of another possible failure
|
|
|
9bf359 |
|
|
|
9bf359 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
9bf359 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Aug 14 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-15.b12
|
|
|
9bf359 |
- fixed provides/obsolates
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Aug 12 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-14.b12
|
|
|
9bf359 |
- forced to build in fully versioned dir
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Aug 12 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-13.b12
|
|
|
9bf359 |
- fixing tapset to support multipleinstalls
|
|
|
9bf359 |
- added more config/norepalce
|
|
|
9bf359 |
- policitool moved to jre
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Aug 12 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-12.b12
|
|
|
9bf359 |
- bumped release to build by previous release.
|
|
|
9bf359 |
- forcing rebuild by jdk8
|
|
|
9bf359 |
- uncommenting forgotten comment on tzdb link
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Aug 12 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-11.b12
|
|
|
9bf359 |
- backporting old fixes:
|
|
|
9bf359 |
- get rid of jre-abrt, uniquesuffix, parallel install, jsa files,
|
|
|
9bf359 |
config(norepalce) bug, -fstack-protector-strong, OrderWithRequires,
|
|
|
9bf359 |
nss config, multilib arches, provides/requires excludes
|
|
|
9bf359 |
- some additional cosmetic changes
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Jul 22 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.11-8.b12
|
|
|
9bf359 |
- Modify aarch64-specific jvm.cfg to list server vm first
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Jul 21 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-7.b12
|
|
|
9bf359 |
- removed legacy aarch64 switches
|
|
|
9bf359 |
- --with-jvm-variants=client and --disable-precompiled-headers
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Jul 15 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-6.b12
|
|
|
9bf359 |
- added patch patch9999 enableArm64.patch to enable new hotspot
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Jul 15 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-5.b12
|
|
|
9bf359 |
- Attempt to update aarch64 *jdk* to u11b12, by resticting aarch64 sources to hotpot only
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Jul 15 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.11-1.b12
|
|
|
9bf359 |
- updated to security u11b12
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Jun 24 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-13.b13
|
|
|
9bf359 |
- Obsolete java-1.7.0-openjdk
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Jun 18 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-12.b13
|
|
|
9bf359 |
- Use system tzdata from tzdata-java
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Jun 12 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-11.b13
|
|
|
9bf359 |
- Add patch from IcedTea to handle -j and -I correctly
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Jun 11 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-11.b13
|
|
|
9bf359 |
- Backport javadoc fixes from upstream
|
|
|
9bf359 |
- Related: rhbz#1107273
|
|
|
9bf359 |
|
|
|
9bf359 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.8.0.5-10.b13
|
|
|
9bf359 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Jun 02 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-9.b13
|
|
|
9bf359 |
- Build with OpenJDK 8
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed May 28 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-8.b13
|
|
|
9bf359 |
- Backport fix for JDK-8012224
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed May 28 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-7.b13
|
|
|
9bf359 |
- Require fontconfig and minimal fonts (xorg-x11-fonts-Type1) explicitly
|
|
|
9bf359 |
- Resolves rhbz#1101394
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri May 23 2014 Dan Horák <dan[at]danny.cz> - 1:1.8.0.5-6.b13
|
|
|
9bf359 |
- Enable build on s390/s390x
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue May 20 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-5.b13
|
|
|
9bf359 |
- Only check for debug symbols in libjvm if it exists.
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri May 16 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-4.b13
|
|
|
9bf359 |
- Include all sources in src.zip
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Apr 28 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-4.b13
|
|
|
9bf359 |
- Check for debug symbols in libjvm.so
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Apr 24 2014 Brent Baude <baude@us.ibm.com> - 1:1.8.0.5-3.b13
|
|
|
9bf359 |
- Add ppc64le support, bz# 1088344
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Apr 23 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-2.b13
|
|
|
9bf359 |
- Build with -fno-devirtualize
|
|
|
9bf359 |
- Don't strip debuginfo from files
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Apr 16 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-1.b13
|
|
|
9bf359 |
- Instrument build with various sanitizers.
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Apr 15 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-1.b13
|
|
|
9bf359 |
- Update to the latest security release: OpenJDK8 u5 b13
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Mar 28 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-2.b132
|
|
|
9bf359 |
- Include version information in desktop files
|
|
|
9bf359 |
- Move desktop files from tarball to top level source
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Mar 25 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-1.0.b132
|
|
|
9bf359 |
- Switch from java8- style provides to java- style
|
|
|
9bf359 |
- Bump priority to reflect java version
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Mar 21 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.35.b132
|
|
|
9bf359 |
- Disable doclint for compatiblity
|
|
|
9bf359 |
- Patch contributed by Andrew John Hughes
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Mar 11 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.34.b132
|
|
|
9bf359 |
- Include jdeps and jjs for aarch64. These are present in b128.
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Mar 10 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.33.b132
|
|
|
9bf359 |
- Update aarch64 tarball to the latest upstream release
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Mar 07 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.32.b132
|
|
|
9bf359 |
- Fix `java -version` output
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Mar 07 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.0-0.31.b132
|
|
|
9bf359 |
- updated to rc4 aarch64 tarball
|
|
|
9bf359 |
- outdated removed: patch2031 system-lcmsAARCH64.patch patch2011 system-libjpeg-aarch64.patch
|
|
|
9bf359 |
patch2021 system-libpng-aarch64.patch
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Mar 06 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.30.b132
|
|
|
9bf359 |
- Update to b132
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Mar 06 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.29.b129
|
|
|
9bf359 |
- Fix typo in STRIP_POLICY
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Mar 03 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.28.b129
|
|
|
9bf359 |
- Remove redundant debuginfo files
|
|
|
9bf359 |
- Generate complete debug information for libjvm
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Feb 25 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.27.b129
|
|
|
9bf359 |
- Fix non-headless libraries
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Feb 25 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.0-0.26.b129
|
|
|
9bf359 |
- Fix incorrect Requires
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Feb 13 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.26.b129
|
|
|
9bf359 |
- Add -headless subpackage based on java-1.7.0-openjdk
|
|
|
9bf359 |
- Add abrt connector support
|
|
|
9bf359 |
- Add -accessibility subpackage
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Feb 13 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.26.b129
|
|
|
9bf359 |
- Update to b129.
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Feb 07 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.25.b126
|
|
|
9bf359 |
- Update to candidate Reference Implementation release.
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Jan 31 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.24.b123
|
|
|
9bf359 |
- Forward port more patches from java-1.7.0-openjdk
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Jan 20 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.23.b123
|
|
|
9bf359 |
- Update to jdk8-b123
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Nov 14 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.22.b115
|
|
|
9bf359 |
- Update to jdk8-b115
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Oct 30 2013 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.0-0.21.b106
|
|
|
9bf359 |
- added jre/lib/security/blacklisted.certs for aarch64
|
|
|
9bf359 |
- updated to preview_rc2 aarch64 tarball
|
|
|
9bf359 |
|
|
|
9bf359 |
* Sun Oct 06 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.20.b106
|
|
|
9bf359 |
- Fix paths in tapsets to work on non-x86_64
|
|
|
9bf359 |
- Use system libjpeg
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Sep 05 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.19.b106
|
|
|
9bf359 |
- Fix with_systemtap conditionals
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Sep 05 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.18.b106
|
|
|
9bf359 |
- Update to jdk8-b106
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Aug 13 2013 Deepak Bhole <dbhole@redhat.com> - 1:1.8.0.0-0.17.b89x
|
|
|
9bf359 |
- Updated aarch64 to latest head
|
|
|
9bf359 |
- Dropped upstreamed patches
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Aug 07 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.16.b89x
|
|
|
9bf359 |
- The zero fix only applies on b89 tarball
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Aug 06 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.16.b89x
|
|
|
9bf359 |
- Add patch to fix zero on 32-bit build
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Aug 05 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.16.b89x
|
|
|
9bf359 |
- Added additional build fixes for aarch64
|
|
|
9bf359 |
|
|
|
9bf359 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.8.0.0-0.16.b89x
|
|
|
9bf359 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Aug 02 2013 Deepak Bhole <dbhole@redhat.com> - 1:1.8.0.0-0.15.b89
|
|
|
9bf359 |
- Added a missing includes patch (#302/%%{name}-arm64-missing-includes.patch)
|
|
|
9bf359 |
- Added --disable-precompiled-headers for arm64 build
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Jul 29 2013 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.0-0.14.b89
|
|
|
9bf359 |
- added patch 301 - removeMswitchesFromx11.patch
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri Jul 26 2013 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.0-0.13.b89
|
|
|
9bf359 |
- added new aarch64 tarball
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Jul 25 2013 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.0-0.12.b89
|
|
|
9bf359 |
- ifarchaarch64 then --with-jvm-variants=client
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Jul 23 2013 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.0-0.11.b89
|
|
|
9bf359 |
- prelink dependence excluded also for aaech64
|
|
|
9bf359 |
- arm64 added to jitarches
|
|
|
9bf359 |
- added source100 config.guess to repalce the outdated one in-tree
|
|
|
9bf359 |
- added source101 config.sub to repalce the outdated one in-tree
|
|
|
9bf359 |
- added patch2011 system-libjpegAARCH64.patch (as aarch64-port is little bit diferent)
|
|
|
9bf359 |
- added patch2031 system-lcmsAARCH64.patch (as aarch64-port is little bit diferent)
|
|
|
9bf359 |
- added gcc-c++ build depndece so builddep will result to better situation
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Jul 23 2013 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.0-0.10.b89
|
|
|
9bf359 |
- moved to latest working osurces
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Jul 23 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.10.b89
|
|
|
9bf359 |
- Moved to hg clone for generating sources.
|
|
|
9bf359 |
|
|
|
9bf359 |
* Sun Jul 21 2013 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.0-0.9.b89
|
|
|
9bf359 |
- added aarch 64 tarball, proposed usage of clone instead of tarballs
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Jul 15 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.9.b89
|
|
|
9bf359 |
- Switch to xz for compression
|
|
|
9bf359 |
- Fixes RHBZ#979823
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Jul 15 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.9.b89
|
|
|
9bf359 |
- Priority should be 0 until openjdk8 is released by upstream
|
|
|
9bf359 |
- Fixes RHBZ#964409
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon Jun 3 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.8.b89
|
|
|
9bf359 |
- Fix incorrect permissions on ct.sym
|
|
|
9bf359 |
|
|
|
9bf359 |
* Mon May 20 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.7.b89
|
|
|
9bf359 |
- Fix incorrect permissions on jars
|
|
|
9bf359 |
|
|
|
9bf359 |
* Fri May 10 2013 Adam Williamson <awilliam@redhat.com>
|
|
|
9bf359 |
- update scriptlets to follow current guidelines for updating icon cache
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Apr 30 2013 Omair Majid <omajid@redhat.com> 1:1.8.0.0-0.5.b87
|
|
|
9bf359 |
- Update to b87
|
|
|
9bf359 |
- Remove all rhino support; use nashorn instead
|
|
|
9bf359 |
- Remove upstreamed/unapplied patches
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Apr 23 2013 Karsten Hopp <karsten@redhat.com> 1:1.8.0.0-0.4.b79
|
|
|
9bf359 |
- update java-1.8.0-openjdk-ppc-zero-hotspot patch
|
|
|
9bf359 |
- use power64 macro
|
|
|
9bf359 |
|
|
|
9bf359 |
* Thu Mar 28 2013 Omair Majid <omajid@redhat.com> 1:1.8.0.0-0.3.b79
|
|
|
9bf359 |
- Add build fix for zero
|
|
|
9bf359 |
- Drop gstabs fixes; enable full debug info instead
|
|
|
9bf359 |
|
|
|
9bf359 |
* Wed Mar 13 2013 Omair Majid <omajid@redhat.com> 1:1.8.0.0-0.2.b79
|
|
|
9bf359 |
- Fix alternatives priority
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Mar 12 2013 Omair Majid <omajid@redhat.com> 1:1.8.0.0-0.1.b79.f19
|
|
|
9bf359 |
- Update to jdk8-b79
|
|
|
9bf359 |
- Initial version for Fedora 19
|
|
|
9bf359 |
|
|
|
9bf359 |
* Tue Sep 04 2012 Andrew John Hughes <gnu.andrew@redhat.com> - 1:1.8.0.0-b53.1
|
|
|
9bf359 |
- Initial build from java-1.7.0-openjdk RPM
|