|
|
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 |
|
|
|
9bf359 |
#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
|
|
|
9bf359 |
%ifarch %{power64}
|
|
|
9bf359 |
%global archinstall ppc64
|
|
|
9bf359 |
%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 |
|
|
|
9bf359 |
%global buildoutputdir jdk8/build/jdk8.build
|
|
|
9bf359 |
|
|
|
9bf359 |
%ifarch %{jit_arches}
|
|
|
9bf359 |
%global with_systemtap 1
|
|
|
9bf359 |
%else
|
|
|
9bf359 |
%global with_systemtap 0
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
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
|
|
|
9bf359 |
%global updatever 31
|
|
|
9bf359 |
%global buildver b13
|
|
|
9bf359 |
%global aarch64_updatever 40
|
|
|
9bf359 |
%global aarch64_buildver b12
|
|
|
9bf359 |
%global aarch64_changesetid aarch64-hs3135441ed942
|
|
|
9bf359 |
# priority must be 6 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}
|
|
|
9bf359 |
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 |
|
|
|
9bf359 |
# Source from upstrem OpenJDK8 project. To regenerate, use
|
|
|
9bf359 |
# ./generate_source_tarball.sh jdk8u jdk8u jdk8u%%{updatever}-%%{buildver}
|
|
|
9bf359 |
# ./generate_source_tarball.sh aarch64-port jdk8 %%{aarch64_hg_tag}
|
|
|
9bf359 |
Source0: jdk8u-jdk8u%{updatever}-%{buildver}.tar.xz
|
|
|
9bf359 |
Source1: jdk8-jdk8u%{aarch64_updatever}-%{aarch64_buildver}-%{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
|
|
|
9bf359 |
Source12: remove-intree-libraries.sh
|
|
|
9bf359 |
|
|
|
9bf359 |
# Ensure we aren't using the limited crypto policy
|
|
|
9bf359 |
Source13: TestCryptoLevel.java
|
|
|
9bf359 |
|
|
|
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
|
|
|
9bf359 |
Patch4: 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 |
Patch11: hotspot-build-j-directive.patch
|
|
|
9bf359 |
Patch12: removeSunEcProvider-RH1154143.patch
|
|
|
9bf359 |
|
|
|
9bf359 |
#
|
|
|
9bf359 |
# OpenJDK specific patches
|
|
|
9bf359 |
#
|
|
|
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 |
|
|
|
9bf359 |
# Fixed in upstream 9. See upstream bug:
|
|
|
9bf359 |
# https://bugs.openjdk.java.net/browse/JDK-8064815
|
|
|
9bf359 |
Patch400: ppc_stack_overflow_fix.patch
|
|
|
9bf359 |
# Fixed in upstream 9. See upstream bug:
|
|
|
9bf359 |
# https://bugs.openjdk.java.net/browse/JDK-8067330
|
|
|
9bf359 |
Patch401: fix_ZERO_ARCHDEF_ppc.patch
|
|
|
9bf359 |
# Fixed in upstream 9. See upstream bug:
|
|
|
9bf359 |
# https://bugs.openjdk.java.net/browse/JDK-8067331
|
|
|
9bf359 |
Patch402: atomic_linux_zero.inline.hpp.patch
|
|
|
9bf359 |
|
|
|
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
|
|
|
9bf359 |
BuildRequires: java-1.8.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.
|
|
|
9bf359 |
#Provides: jre-%{javaver}-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: jre-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: jre-%{javaver} = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: java-%{javaver} = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: jre = %{javaver}
|
|
|
9bf359 |
#Provides: java-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: java = %{epoch}:%{javaver}
|
|
|
9bf359 |
# Standard JPackage extensions provides.
|
|
|
9bf359 |
#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.
|
|
|
9bf359 |
#Provides: jre-%{javaver}-%{origin}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: jre-%{origin}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: jre-%{javaver}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: java-%{javaver}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: jre-headless = %{epoch}:%{javaver}
|
|
|
9bf359 |
#Provides: java-%{origin}-headless = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#Provides: java-headless = %{epoch}:%{javaver}
|
|
|
9bf359 |
# Standard JPackage extensions provides.
|
|
|
9bf359 |
#Provides: jndi = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: jndi-ldap = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: jndi-cos = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: jndi-rmi = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: jndi-dns = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: jaas = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: jsse = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: jce = %{epoch}:%{version}
|
|
|
9bf359 |
#Provides: jdbc-stdext = 4.1
|
|
|
9bf359 |
#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 |
|
|
|
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.
|
|
|
9bf359 |
#Provides: java-javadoc = %{epoch}:%{version}-%{release}
|
|
|
9bf359 |
#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
|
|
|
9bf359 |
%setup -q -c -n %{uniquesuffix} -T -a 0
|
|
|
9bf359 |
%ifarch %{aarch64}
|
|
|
9bf359 |
pushd jdk8
|
|
|
9bf359 |
rm -r hotspot
|
|
|
9bf359 |
tar xf %{SOURCE1}
|
|
|
9bf359 |
popd
|
|
|
9bf359 |
%endif
|
|
|
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
|
|
|
9bf359 |
cp %{SOURCE100} jdk8/common/autoconf/build-aux/
|
|
|
9bf359 |
cp %{SOURCE101} jdk8/common/autoconf/build-aux/
|
|
|
9bf359 |
|
|
|
9bf359 |
# OpenJDK patches
|
|
|
9bf359 |
|
|
|
9bf359 |
# Remove libraries that are linked
|
|
|
9bf359 |
sh %{SOURCE12}
|
|
|
9bf359 |
|
|
|
9bf359 |
%ifarch %{aarch64}
|
|
|
9bf359 |
%patch9999
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
%patch201
|
|
|
9bf359 |
%patch202
|
|
|
9bf359 |
%patch203
|
|
|
9bf359 |
|
|
|
9bf359 |
%patch1
|
|
|
9bf359 |
%patch3
|
|
|
9bf359 |
%patch4
|
|
|
9bf359 |
%patch5
|
|
|
9bf359 |
%patch7
|
|
|
9bf359 |
%patch11
|
|
|
9bf359 |
%patch12
|
|
|
9bf359 |
|
|
|
9bf359 |
# s390 build fixes
|
|
|
9bf359 |
%ifarch s390
|
|
|
9bf359 |
%patch100
|
|
|
9bf359 |
%patch102
|
|
|
9bf359 |
%endif
|
|
|
9bf359 |
|
|
|
9bf359 |
# Zero PPC fixes.
|
|
|
9bf359 |
# TODO: propose them upstream
|
|
|
9bf359 |
%patch400
|
|
|
9bf359 |
%patch401
|
|
|
9bf359 |
%patch402
|
|
|
9bf359 |
|
|
|
9bf359 |
# Extract systemtap tapsets
|
|
|
9bf359 |
%if %{with_systemtap}
|
|
|
9bf359 |
|
|
|
9bf359 |
tar xzf %{SOURCE8}
|
|
|
9bf359 |
|
|
|
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
|
|
|
9bf359 |
|
|
|
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 |
|
|
|
9bf359 |
(cd jdk8/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 |
%ifarch %{ppc64le}
|
|
|
9bf359 |
--with-jvm-interpreter=cpp \
|
|
|
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
|
|
|
9bf359 |
--with-boot-jdk=/usr/lib/jvm/java-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 \
|
|
|
9bf359 |
--with-lcms=system \
|
|
|
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 |
|
|
|
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 \
|
|
|
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 |
|
|
|
9bf359 |
# Install symlink to default soundfont
|
|
|
9bf359 |
install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/audio
|
|
|
9bf359 |
pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/audio
|
|
|
9bf359 |
ln -s %{_datadir}/soundfonts/default.sf2
|
|
|
9bf359 |
popd
|
|
|
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 \
|
|
|
9bf359 |
jdk8/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 |
|
|
|
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 |
|
|
|
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
|
|
|
9bf359 |
# JDK-8061210 of the January 2015 CPU. We fix this via a
|
|
|
9bf359 |
# 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
|
|
|
9bf359 |
if [ "${sum}" = '1690ac33955594f71dc952c9e83fd396' ]; 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
|
|
|
9bf359 |
%{_jvmdir}/%{jredir}/lib/audio/
|
|
|
9bf359 |
%ifarch %{jit_arches}
|
|
|
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
|
|
|
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
|
|
|
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
|