Blame SPECS/java-1.7.0-openjdk.spec

295329
# If debug is 1, OpenJDK is built with all debug info present.
295329
%global debug 0
295329
295329
# If hsbootstrap is 1, build HotSpot alone first and use that in the bootstrap JDK
295329
# This avoids issues where HotSpot is broken in the bootstrap JDK
295329
%ifarch ppc
295329
%global hsbootstrap 1
295329
%else
295329
%global hsbootstrap 0
295329
%endif
295329
295329
# we remove the build id notes explicitly to avoid generating (potentially
295329
# conflicting) files in the -debuginfo package
295329
%undefine _missing_build_ids_terminate_build
295329
295329
%global icedtea_version 2.5.4
295329
%global hg_tag icedtea-{icedtea_version}
295329
295329
%global aarch64_rev 4d25046abb67
295329
%global aarch64_tag icedtea-2.6pre17
295329
295329
%global aarch64			aarch64 arm64 armv8
295329
#sometimes we need to distinguish big and little endian PPC64
295329
%global ppc64le			ppc64le
295329
%global ppc64be			ppc64 ppc64p7
295329
%global multilib_arches %{power64} sparc64 x86_64 
295329
%global jit_arches		%{ix86} x86_64 sparcv9 sparc64 %{ppc64be} %{ppc64le} %{aarch64}
295329
295329
# With diabled nss is NSS deactivated, so in NSS_LIBDIR can be wrong path
295329
# the initialisation must be here. LAter the pkg-connfig have bugy behaviour
295329
#looks liekopenjdk RPM specific bug
295329
# Always set this so the nss.cfg file is not broken
295329
%global NSS_LIBDIR %(pkg-config --variable=libdir nss)
295329
295329
%ifarch x86_64
295329
%global archbuild amd64
295329
%global archinstall amd64
295329
%endif
295329
%ifarch ppc
295329
%global archbuild ppc
295329
%global archinstall ppc
295329
%global archdef PPC
295329
%endif
295329
%ifarch %{ppc64be}
295329
%global archbuild ppc64
295329
%global archinstall ppc64
295329
%global archdef PPC
295329
%endif
295329
%ifarch %{ppc64le}
295329
%global archbuild ppc64
295329
%global archinstall ppc64
295329
%global archdef PPC64
295329
%endif
295329
%ifarch %{ix86}
295329
%global archbuild i586
295329
%global archinstall i386
295329
%endif
295329
%ifarch ia64
295329
%global archbuild ia64
295329
%global archinstall ia64
295329
%endif
295329
%ifarch s390
295329
%global archbuild s390
295329
%global archinstall s390
295329
%global archdef S390
295329
%endif
295329
%ifarch s390x
295329
%global archbuild s390x
295329
%global archinstall s390x
295329
%global archdef S390
295329
%endif
295329
%ifarch %{arm}
295329
%global archbuild arm
295329
%global archinstall arm
295329
%global archdef ARM
295329
%endif
295329
%ifarch %{aarch64}
295329
%global archbuild aarch64
295329
%global archinstall aarch64
295329
%global archdef AARCH64
295329
%endif
295329
# 32 bit sparc, optimized for v9
295329
%ifarch sparcv9
295329
%global archbuild sparc
295329
%global archinstall sparc
295329
%endif
295329
# 64 bit sparc
295329
%ifarch sparc64
295329
%global archbuild sparcv9
295329
%global archinstall sparcv9
295329
%endif
295329
%ifnarch %{jit_arches}
295329
%global archbuild %{_arch}
295329
%global archinstall %{_arch}
295329
%endif
295329
295329
%if %{debug}
295329
%global debugbuild debug_build
295329
%else
295329
%global debugbuild %{nil}
295329
%endif
295329
295329
%if %{debug}
295329
%global buildoutputdir openjdk/build/linux-%{archbuild}-debug
295329
%else
295329
%global buildoutputdir openjdk/build/linux-%{archbuild}
295329
%endif
295329
%ifnarch %{ppc64le}
295329
%global with_pulseaudio 1
295329
%else
295329
%global with_pulseaudio 0
295329
%endif
295329
295329
%ifarch %{jit_arches}
295329
%global with_systemtap 1
295329
%else
295329
%global with_systemtap 0
295329
%endif
295329
295329
# Convert an absolute path to a relative path.  Each symbolic link is
295329
# specified relative to the directory in which it is installed so that
295329
# it will resolve properly within chrooted installations.
295329
%global script 'use File::Spec; print File::Spec->abs2rel($ARGV[0], $ARGV[1])'
295329
%global abs2rel %{__perl} -e %{script}
295329
295329
# Hard-code libdir on 64-bit architectures to make the 64-bit JDK
295329
# simply be another alternative.
295329
%global LIBDIR       %{_libdir}
295329
#backuped original one
295329
%ifarch %{multilib_arches}
295329
%global syslibdir       %{_prefix}/lib64
295329
%global _libdir         %{_prefix}/lib
295329
%else
295329
%global syslibdir       %{_libdir}
295329
%endif
295329
295329
# Standard JPackage naming and versioning defines.
295329
%global origin          openjdk
295329
%global updatever       75
295329
%global buildver        13
295329
# Keep priority on 6digits in case updatever>9
295329
%global priority        1700%{updatever}
295329
%global javaver         1.7.0
295329
295329
%global sdkdir          %{uniquesuffix}
295329
%global jrelnk          jre-%{javaver}-%{origin}-%{version}-%{release}.%{_arch}
295329
295329
%global jredir          %{sdkdir}/jre
295329
%global sdkbindir       %{_jvmdir}/%{sdkdir}/bin
295329
%global jrebindir       %{_jvmdir}/%{jredir}/bin
295329
%global jvmjardir       %{_jvmjardir}/%{uniquesuffix}
295329
295329
%global fullversion     %{name}-%{version}-%{release}
295329
295329
%global uniquesuffix          %{fullversion}.%{_arch}
295329
#we can copy the javadoc to not arched dir, or made it not noarch
295329
%global uniquejavadocdir       %{fullversion}
295329
295329
%ifarch %{jit_arches}
295329
# Where to install systemtap tapset (links)
295329
# We would like these to be in a package specific subdir,
295329
# but currently systemtap doesn't support that, so we have to
295329
# use the root tapset dir for now. To distinquish between 64
295329
# and 32 bit architectures we place the tapsets under the arch
295329
# specific dir (note that systemtap will only pickup the tapset
295329
# for the primary arch for now). Systemtap uses the machine name
295329
# aka build_cpu as architecture specific directory name.
295329
%global tapsetroot /usr/share/systemtap
295329
  %ifarch %{ix86}
295329
    %global tapsetdir %{tapsetroot}/tapset/i386
295329
  %else
295329
    %global tapsetdir %{tapsetroot}/tapset/%{_build_cpu}
295329
  %endif
295329
%endif
295329
295329
# Prevent brp-java-repack-jars from being run.
295329
%global __jar_repack 0
295329
295329
Name:    java-%{javaver}-%{origin}
295329
Version: %{javaver}.%{updatever}
295329
Release: %{icedtea_version}.3%{?dist}
295329
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons,
295329
# and this change was brought into RHEL-4.  java-1.5.0-ibm packages
295329
# also included the epoch in their virtual provides.  This created a
295329
# situation where in-the-wild java-1.5.0-ibm packages provided "java =
295329
# 1:1.5.0".  In RPM terms, "1.6.0 < 1:1.5.0" since 1.6.0 is
295329
# interpreted as 0:1.6.0.  So the "java >= 1.6.0" requirement would be
295329
# satisfied by the 1:1.5.0 packages.  Thus we need to set the epoch in
295329
# JDK package >= 1.6.0 to 1, and packages referring to JDK virtual
295329
# provides >= 1.6.0 must specify the epoch, "java >= 1:1.6.0".
295329
Epoch:   1
295329
Summary: OpenJDK Runtime Environment
295329
Group:   Development/Languages
295329
295329
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
295329
URL:      http://openjdk.java.net/
295329
295329
#head
295329
#REPO=http://icedtea.classpath.org/hg/icedtea7-forest
295329
#current release
295329
#REPO=http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5
295329
# hg clone $REPO/ openjdk -r %{hg_tag}
295329
# hg clone $REPO/corba/ openjdk/corba -r %{hg_tag}
295329
# hg clone $REPO/hotspot/ openjdk/hotspot -r %{hg_tag}
295329
# hg clone $REPO/jaxp/ openjdk/jaxp -r %{hg_tag}
295329
# hg clone $REPO/jaxws/ openjdk/jaxws -r %{hg_tag}
295329
# hg clone $REPO/jdk/ openjdk/jdk -r %{hg_tag}
295329
# hg clone $REPO/langtools/ openjdk/langtools -r %{hg_tag}
295329
# find openjdk -name ".hg" -exec rm -rf '{}' \;
295329
# sh /git/java-1.7.0-openjdk/rhel-7.0/fsg.sh
295329
# tar cJf openjdk-icedtea-%{icedtea_version}.tar.xz openjdk
295329
Source0:  openjdk-icedtea-%{icedtea_version}.tar.xz
295329
# wget -v -O %{aarch64_tag}.tar.bz2 http://hg.openjdk.java.net/aarch64-port/jdk7u/hotspot/archive/%{aarch64_rev}.tar.bz2
295329
Source1:  http://icedtea.classpath.org/hg/icedtea7-forest/hotspot/archive/%{aarch64_rev}.tar.bz2#/aarch64-%{aarch64_tag}.tar.bz2
295329
295329
# README file
295329
# This source is under maintainer's/java-team's control
295329
Source2:  README.src
295329
295329
# Sources 6-12 are taken from hg clone http://icedtea.classpath.org/hg/icedtea7
295329
# Unless said differently, there is directory with required sources which should be enough to pack/rename
295329
295329
# Class rewrite to rewrite rhino hierarchy
295329
Source5: class-rewriter.tar.gz
295329
295329
# Systemtap tapsets. Zipped up to keep it small.
295329
# last update from http://icedtea.classpath.org/hg/icedtea7/file/8599fdfc398d/tapset
295329
Source6: systemtap-tapset-2014-03-19.tar.xz
295329
295329
# .desktop files. 
295329
Source7:  policytool.desktop
295329
Source77: jconsole.desktop
295329
295329
# nss configuration file
295329
Source8: nss.cfg
295329
295329
# FIXME: Taken from IcedTea snapshot 877ad5f00f69, but needs to be moved out
295329
# hg clone -r 877ad5f00f69 http://icedtea.classpath.org/hg/icedtea7
295329
Source9: pulseaudio.tar.gz
295329
295329
# Removed libraries that we link instead
295329
Source10: remove-intree-libraries.sh
295329
295329
#http://icedtea.classpath.org/hg/icedtea7/file/933d082ec889/fsg.sh
295329
# file to clean tarball, should be ketp updated as possible
295329
Source1111: fsg.sh
295329
295329
# Remove build ids from binaries
295329
Source11: remove-buildids.sh
295329
295329
# Ensure we aren't using the limited crypto policy
295329
Source12: TestCryptoLevel.java
295329
295329
Source13: java-abrt-luncher
295329
295329
# RPM/distribution specific patches
295329
295329
# Allow TCK to pass with access bridge wired in
295329
Patch1:   java-1.7.0-openjdk-java-access-bridge-tck.patch
295329
295329
# Disable access to access-bridge packages by untrusted apps
295329
Patch3:   java-1.7.0-openjdk-java-access-bridge-security.patch
295329
295329
# Ignore AWTError when assistive technologies are loaded 
295329
Patch4:   java-1.7.0-openjdk-accessible-toolkit.patch
295329
295329
# Build docs even in debug
295329
Patch5:   java-1.7.0-openjdk-debugdocs.patch
295329
295329
# Add debuginfo where missing
295329
Patch6:   %{name}-debuginfo.patch
295329
295329
#
295329
# OpenJDK specific patches
295329
#
295329
295329
# Add rhino support
295329
Patch100: rhino.patch
295329
295329
Patch106: %{name}-freetype-check-fix.patch
295329
295329
# allow to create hs_pid.log in tmp (in 700 permissions) if working directory is unwritable
295329
Patch200: abrt_friendly_hs_log_jdk7.patch
295329
295329
#
295329
# Optional component packages
295329
#
295329
295329
# Make the ALSA based mixer the default when building with the pulseaudio based
295329
# mixer
295329
Patch300: pulse-soundproperties.patch
295329
295329
# Make the curves reported by Java's SSL implementation match those of NSS
295329
Patch400: rh1022017.patch
295329
295329
# Temporary patches
295329
295329
#Workaround RH902004
295329
Patch403: PStack-808293.patch
295329
# End of tmp patches
295329
295329
BuildRequires: autoconf
295329
BuildRequires: automake
295329
BuildRequires: gcc-c++
295329
BuildRequires: alsa-lib-devel
295329
BuildRequires: cups-devel
295329
BuildRequires: desktop-file-utils
295329
BuildRequires: giflib-devel
295329
BuildRequires: lcms2-devel >= 2.5
295329
BuildRequires: libX11-devel
295329
BuildRequires: libXi-devel
295329
BuildRequires: libXp-devel
295329
BuildRequires: libXt-devel
295329
BuildRequires: libXtst-devel
295329
BuildRequires: libjpeg-devel
295329
BuildRequires: libpng-devel
295329
BuildRequires: wget
295329
BuildRequires: libxslt
295329
BuildRequires: xorg-x11-proto-devel
295329
BuildRequires: ant
295329
BuildRequires: libXinerama-devel
295329
BuildRequires: rhino
295329
BuildRequires: redhat-lsb
295329
BuildRequires: zip
295329
BuildRequires: fontconfig
295329
BuildRequires: xorg-x11-fonts-Type1
295329
BuildRequires: zlib > 1.2.3-6
295329
BuildRequires: java-1.7.0-openjdk-devel
295329
BuildRequires: fontconfig
295329
BuildRequires: at-spi-devel
295329
BuildRequires: gawk
295329
BuildRequires: pkgconfig >= 0.9.0
295329
BuildRequires: xorg-x11-utils
295329
# Requirements for setting up the nss.cfg
295329
BuildRequires: nss-devel
295329
# Required for NIO2
295329
BuildRequires: libattr-devel
295329
# Build requirements for SunEC system NSS support
295329
#BuildRequires: nss-softokn-freebl-devel >= 3.16.1
295329
BuildRequires: python
295329
# PulseAudio build requirements.
295329
%if %{with_pulseaudio}
295329
BuildRequires: pulseaudio-libs-devel >= 0.9.11
295329
%endif
295329
# Zero-assembler build requirement.
295329
%ifnarch %{jit_arches}
295329
BuildRequires: libffi-devel >= 3.0.10
295329
%endif
295329
295329
# cacerts build requirement.
295329
BuildRequires: openssl
295329
# execstack build requirement.
295329
# no prelink on ARM yet
295329
%ifnarch %{arm} %{aarch64} %{ppc64le}
295329
BuildRequires: prelink
295329
%endif
295329
%ifarch %{jit_arches}
295329
#systemtap build requirement.
295329
BuildRequires: systemtap-sdt-devel
295329
%endif
295329
295329
Requires: fontconfig
295329
Requires: xorg-x11-fonts-Type1
295329
#requires rest of java
295329
Requires: %{name}-headless = %{epoch}:%{version}-%{release}
295329
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
295329
295329
295329
# Standard JPackage base provides.
295329
Provides: jre-%{javaver}-%{origin} = %{epoch}:%{version}-%{release}
295329
Provides: jre-%{origin} = %{epoch}:%{version}-%{release}
295329
Provides: jre-%{javaver} = %{epoch}:%{version}-%{release}
295329
Provides: java-%{javaver} = %{epoch}:%{version}-%{release}
295329
Provides: jre = %{javaver}
295329
Provides: java-%{origin} = %{epoch}:%{version}-%{release}
295329
Provides: java = %{epoch}:%{javaver}
295329
# Standard JPackage extensions provides.
295329
Provides: java-fonts = %{epoch}:%{version}
295329
295329
# Obsolete older 1.6 packages as it cannot use the new bytecode
295329
# Obsoletes: java-1.6.0-openjdk
295329
# Obsoletes: java-1.6.0-openjdk-demo
295329
# Obsoletes: java-1.6.0-openjdk-devel
295329
# Obsoletes: java-1.6.0-openjdk-javadoc
295329
# Obsoletes: java-1.6.0-openjdk-src
295329
295329
%description
295329
The OpenJDK runtime environment.
295329
295329
%package headless
295329
Summary: The OpenJDK runtime environment without audio and video support
295329
Group:   Development/Languages
295329
295329
Requires: lcms2 >= 2.5
295329
Requires: libjpeg = 6b
295329
# Require /etc/pki/java/cacerts.
295329
Requires: ca-certificates
295329
# Require jpackage-utils for ant.
295329
Requires: jpackage-utils >= 1.7.3-1jpp.2
295329
# Require zoneinfo data provided by tzdata-java subpackage.
295329
Requires: tzdata-java
295329
# Post requires alternatives to install tool alternatives.
295329
Requires(post):   %{_sbindir}/alternatives
295329
# Postun requires alternatives to uninstall tool alternatives.
295329
Requires(postun): %{_sbindir}/alternatives
295329
295329
Provides: jre-%{javaver}-%{origin}-headless = %{epoch}:%{version}-%{release}
295329
Provides: jre-%{origin}-headless = %{epoch}:%{version}-%{release}
295329
Provides: jre-%{javaver}-headless = %{epoch}:%{version}-%{release}
295329
Provides: java-%{javaver}-headless = %{epoch}:%{version}-%{release}
295329
Provides: jre-headless = %{epoch}:%{javaver}
295329
Provides: java-%{origin}-headless = %{epoch}:%{version}-%{release}
295329
Provides: java-headless = %{epoch}:%{javaver}
295329
# Standard JPackage extensions provides.
295329
Provides: jndi = %{epoch}:%{version}
295329
Provides: jndi-ldap = %{epoch}:%{version}
295329
Provides: jndi-cos = %{epoch}:%{version}
295329
Provides: jndi-rmi = %{epoch}:%{version}
295329
Provides: jndi-dns = %{epoch}:%{version}
295329
Provides: jaas = %{epoch}:%{version}
295329
Provides: jsse = %{epoch}:%{version}
295329
Provides: jce = %{epoch}:%{version}
295329
Provides: jdbc-stdext = 4.1
295329
Provides: java-sasl = %{epoch}:%{version}
295329
295329
%description headless
295329
The OpenJDK runtime environment without audio and video 
295329
295329
%package devel
295329
Summary: OpenJDK Development Environment
295329
Group:   Development/Tools
295329
295329
# Require base package.
295329
Requires:         %{name} = %{epoch}:%{version}-%{release}
295329
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
295329
# Post requires alternatives to install tool alternatives.
295329
Requires(post):   %{_sbindir}/alternatives
295329
# Postun requires alternatives to uninstall tool alternatives.
295329
Requires(postun): %{_sbindir}/alternatives
295329
295329
# Standard JPackage devel provides.
295329
Provides: java-sdk-%{javaver}-%{origin} = %{epoch}:%{version}
295329
Provides: java-sdk-%{javaver} = %{epoch}:%{version}
295329
Provides: java-sdk-%{origin} = %{epoch}:%{version}
295329
Provides: java-sdk = %{epoch}:%{javaver}
295329
Provides: java-%{javaver}-devel = %{epoch}:%{version}
295329
Provides: java-devel-%{origin} = %{epoch}:%{version}
295329
Provides: java-devel = %{epoch}:%{javaver}
295329
295329
295329
%description devel
295329
The OpenJDK development tools.
295329
295329
%package demo
295329
Summary: OpenJDK Demos
295329
Group:   Development/Languages
295329
295329
Requires: %{name} = %{epoch}:%{version}-%{release}
295329
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
295329
295329
%description demo
295329
The OpenJDK demos.
295329
295329
%package src
295329
Summary: OpenJDK Source Bundle
295329
Group:   Development/Languages
295329
295329
Requires: %{name} = %{epoch}:%{version}-%{release}
295329
295329
%description src
295329
The OpenJDK source bundle.
295329
295329
%package javadoc
295329
Summary: OpenJDK API Documentation
295329
Group:   Documentation
295329
Requires: jpackage-utils
295329
BuildArch: noarch
295329
295329
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
295329
# Post requires alternatives to install javadoc alternative.
295329
Requires(post):   %{_sbindir}/alternatives
295329
# Postun requires alternatives to uninstall javadoc alternative.
295329
Requires(postun): %{_sbindir}/alternatives
295329
295329
# Standard JPackage javadoc provides.
295329
Provides: java-javadoc = %{epoch}:%{version}-%{release}
295329
Provides: java-%{javaver}-javadoc = %{epoch}:%{version}-%{release}
295329
295329
%description javadoc
295329
The OpenJDK API documentation.
295329
295329
%package accessibility
295329
Summary: OpenJDK accessibility connector
295329
Requires: java-atk-wrapper
295329
Requires: %{name} = %{epoch}:%{version}-%{release}
295329
OrderWithRequires: %{name}-headless = %{epoch}:%{version}-%{release}
295329
295329
%description accessibility
295329
Enables accessibility support in OpenJDK by using java-at-wrapper. This allows compatible at-spi2 based accessibility programs to work for AWT and Swing-based programs.
295329
Please note, the java-atk-wrapper is still in beta, and also OpenJDK itself is still in phase of tuning to be working with accessibility features.
295329
Although working pretty fine, there are known issues with accessibility on, so do not rather install this package unless you really need.
295329
295329
%prep
295329
%setup -q -c -n %{uniquesuffix} -T -a 0
295329
cp %{SOURCE2} .
295329
295329
%ifarch %{aarch64}
295329
pushd openjdk
295329
rm -r hotspot
295329
tar xf %{SOURCE1}
295329
mv hotspot-%{aarch64_rev} hotspot
295329
popd
295329
%endif
295329
295329
# OpenJDK patches
295329
%patch100
295329
295329
# pulseaudio support
295329
%if %{with_pulseaudio}
295329
%patch300
295329
%endif
295329
295329
# ECC fix
295329
%patch400
295329
295329
# Add systemtap patches if enabled
295329
%if %{with_systemtap}
295329
%endif
295329
295329
# Remove libraries that are linked
295329
sh %{SOURCE10}
295329
295329
# Extract the rewriter (to rewrite rhino classes)
295329
tar xzf %{SOURCE5}
295329
295329
# Extract systemtap tapsets
295329
%if %{with_systemtap}
295329
295329
tar xf %{SOURCE6}
295329
295329
for file in tapset/*.in; do
295329
295329
    OUTPUT_FILE=`echo $file | sed -e s:%{javaver}\.stp\.in$:%{version}-%{release}.stp:g`
295329
    sed -e s:@ABS_SERVER_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/server/libjvm.so:g $file > $file.1
295329
# FIXME this should really be %if %{has_client_jvm}
295329
%ifarch %{ix86}
295329
    sed -e s:@ABS_CLIENT_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/client/libjvm.so:g $file.1 > $OUTPUT_FILE
295329
%else
295329
    sed -e '/@ABS_CLIENT_LIBJVM_SO@/d' $file.1 > $OUTPUT_FILE
295329
%endif
295329
    sed -i -e s:@ABS_JAVA_HOME_DIR@:%{_jvmdir}/%{sdkdir}:g $OUTPUT_FILE
295329
    sed -i -e s:@INSTALL_ARCH_DIR@:%{archinstall}:g $OUTPUT_FILE
295329
295329
done
295329
295329
%endif
295329
295329
# Pulseaudio
295329
%if %{with_pulseaudio}
295329
tar xzf %{SOURCE9}
295329
%endif
295329
295329
295329
%patch3
295329
%patch4
295329
295329
%if %{debug}
295329
%patch5
295329
%patch6
295329
%endif
295329
295329
%patch106
295329
%patch200
295329
295329
%patch403
295329
295329
%build
295329
# How many cpu's do we have?
295329
export NUM_PROC=`/usr/bin/getconf _NPROCESSORS_ONLN 2> /dev/null || :`
295329
export NUM_PROC=${NUM_PROC:-1}
295329
295329
# Build IcedTea and OpenJDK.
295329
%ifarch s390x sparc64 alpha %{power64} %{aarch64}
295329
export ARCH_DATA_MODEL=64
295329
%endif
295329
%ifarch alpha
295329
export CFLAGS="$CFLAGS -mieee"
295329
%endif
295329
295329
CFLAGS="$CFLAGS -fstack-protector-strong"
295329
export CFLAGS
295329
295329
# Build the re-written rhino jar
295329
mkdir -p rhino/{old,new}
295329
295329
# Compile the rewriter
295329
(cd rewriter 
295329
 javac com/redhat/rewriter/ClassRewriter.java
295329
)
295329
295329
# Extract rhino.jar contents and rewrite
295329
(cd rhino/old 
295329
 jar xf /usr/share/java/rhino.jar
295329
)
295329
295329
java -cp rewriter com.redhat.rewriter.ClassRewriter \
295329
    $PWD/rhino/old \
295329
    $PWD/rhino/new \
295329
    org.mozilla \
295329
    sun.org.mozilla
295329
295329
(cd rhino/old
295329
 for file in `find -type f -not -name '*.class'` ; do
295329
     new_file=../new/`echo $file | sed -e 's#org#sun/org#'`
295329
     mkdir -pv `dirname $new_file`
295329
     cp -v $file $new_file
295329
     sed -ie 's#org\.mozilla#sun.org.mozilla#g' $new_file
295329
 done
295329
)
295329
295329
(cd rhino/new
295329
   jar cfm ../rhino.jar META-INF/MANIFEST.MF sun
295329
)
295329
295329
export SYSTEM_JDK_DIR=/usr/lib/jvm/java-1.7.0-openjdk
295329
295329
# Temporary workaround for ppc64le ; RH1125557
295329
# Need to work around the jre arch directory being
295329
# ppc64le instead of the expected ppc64
295329
# Taken from IcedTea7 bootstrap-directory-stage1 & PR1765
295329
%ifarch %{ppc64le}
295329
STAGE1_BOOT_RUNTIME=jdk/jre/lib/rt.jar
295329
mkdir -p jdk/bin
295329
ln -sfv ${SYSTEM_JDK_DIR}/bin/java jdk/bin/java
295329
ln -sfv ${SYSTEM_JDK_DIR}/bin/javah jdk/bin/javah
295329
ln -sfv ${SYSTEM_JDK_DIR}/bin/rmic jdk/bin/rmic
295329
ln -sfv ${SYSTEM_JDK_DIR}/bin/jar jdk/bin/jar
295329
ln -sfv ${SYSTEM_JDK_DIR}/bin/native2ascii jdk/bin/native2ascii
295329
ln -sfv ${SYSTEM_JDK_DIR}/bin/javac jdk/bin/javac
295329
ln -sfv ${SYSTEM_JDK_DIR}/bin/javap jdk/bin/javap
295329
ln -sfv ${SYSTEM_JDK_DIR}/bin/idlj jdk/bin/idlj
295329
mkdir -p jdk/lib/modules
295329
mkdir -p jdk/jre/lib && \
295329
cp ${SYSTEM_JDK_DIR}/jre/lib/rt.jar ${STAGE1_BOOT_RUNTIME} && \
295329
chmod u+w ${STAGE1_BOOT_RUNTIME}
295329
mkdir -p jdk/lib && \
295329
ln -sfv ${SYSTEM_JDK_DIR}/lib/tools.jar jdk/lib/tools.jar ; \
295329
# Workaround some older ppc64le builds installing to 'ppc64le' rather than 'ppc64'
295329
if test -d ${SYSTEM_JDK_DIR}/jre/lib/ppc64le ; then \
295329
  ln -sfv ${SYSTEM_JDK_DIR}/jre/lib/ppc64le \
295329
    jdk/jre/lib/%{archbuild} ; \
295329
else \
295329
  ln -sfv ${SYSTEM_JDK_DIR}/jre/lib/%{archbuild} \
295329
    jdk/jre/lib/ ; \
295329
fi
295329
if ! test -d jdk/jre/lib/%{archinstall}; \
295329
  then \
295329
  ln -sfv ./%{archbuild} \
295329
    jdk/jre/lib/%{archinstall}; \
295329
fi
295329
mkdir -p jdk/include && \
295329
for i in ${SYSTEM_JDK_DIR}/include/*; do \
295329
  test -r ${i} | continue; \
295329
  i=`basename ${i}`; \
295329
  rm -f jdk/include/${i}; \
295329
  ln -sv ${SYSTEM_JDK_DIR}/include/${i} jdk/include/${i}; \
295329
done;
295329
export JDK_TO_BUILD_WITH=${PWD}/jdk
295329
%else
295329
export JDK_TO_BUILD_WITH=${SYSTEM_JDK_DIR}
295329
%endif
295329
295329
295329
pushd openjdk >& /dev/null
295329
295329
export ALT_BOOTDIR="$JDK_TO_BUILD_WITH"
295329
295329
# Save old umask as jdk_generic_profile overwrites it
295329
oldumask=`umask`
295329
295329
# Set generic profile
295329
%ifnarch %{jit_arches}
295329
export ZERO_BUILD=true
295329
%endif
295329
source jdk/make/jdk_generic_profile.sh
295329
295329
# Restore old umask
295329
umask $oldumask
295329
295329
%if %{hsbootstrap}
295329
295329
mkdir bootstrap
295329
295329
make \
295329
  DISABLE_INTREE_EC=true \
295329
  UNLIMITED_CRYPTO=true \
295329
  ANT="/usr/bin/ant" \
295329
  DISTRO_NAME="Red Hat Enterprise Linux 7" \
295329
  DISTRO_PACKAGE_VERSION="rhel-%{release}-%{_arch} u%{updatever}-b%{buildver}" \
295329
  JDK_UPDATE_VERSION=`printf "%02d" %{updatever}` \
295329
  JDK_BUILD_NUMBER=b`printf "%02d" %{buildver}` \
295329
  JRE_RELEASE_VERSION=%{javaver}_`printf "%02d" %{updatever}`-b`printf "%02d" %{buildver}` \
295329
  MILESTONE="fcs" \
295329
  ALT_PARALLEL_COMPILE_JOBS="$NUM_PROC" \
295329
  HOTSPOT_BUILD_JOBS="$NUM_PROC" \
295329
  STATIC_CXX="false" \
295329
  RHINO_JAR="$PWD/../rhino/rhino.jar" \
295329
  GENSRCDIR="$PWD/generated.build" \
295329
  FT2_CFLAGS="`pkg-config --cflags freetype2` " \
295329
  FT2_LIBS="`pkg-config --libs freetype2` " \
295329
  DEBUG_CLASSFILES="true" \
295329
  DEBUG_BINARIES="true" \
295329
  STRIP_POLICY="no_strip" \
295329
  JAVAC_WARNINGS_FATAL="false" \
295329
  INSTALL_LOCATION=%{_jvmdir}/%{sdkdir} \
295329
  BUILD_JAXP=false BUILD_JAXWS=false BUILD_LANGTOOLS=false BUILD_JDK=false BUILD_CORBA=false \
295329
  ALT_JDK_IMPORT_PATH=${JDK_TO_BUILD_WITH} ALT_OUTPUTDIR=${PWD}/bootstrap \
295329
  %{debugbuild}
295329
295329
cp -dR ${JDK_TO_BUILD_WITH}-* bootstrap-vm
295329
rm -vf bootstrap-vm/jre/lib/%{archinstall}/server/libjvm.so
295329
cp -av bootstrap/hotspot/outputdir/linux_%{archinstall}*/product/libjvm.so bootstrap-vm/jre/lib/%{archinstall}/server
295329
295329
export ALT_BOOTDIR=${PWD}/bootstrap-vm
295329
  
295329
%endif
295329
295329
# ENABLE_FULL_DEBUG_SYMBOLS=0 is the internal HotSpot option
295329
# to turn off the stripping of debuginfo. FULL_DEBUG_SYMBOLS
295329
# does the same for product builds, but is ignored on non-product builds.
295329
make \
295329
  DISABLE_INTREE_EC=true \
295329
  UNLIMITED_CRYPTO=true \
295329
  ANT="/usr/bin/ant" \
295329
  DISTRO_NAME="Red Hat Enterprise Linux 7" \
295329
  DISTRO_PACKAGE_VERSION="rhel-%{release}-%{_arch} u%{updatever}-b%{buildver}" \
295329
  JDK_UPDATE_VERSION=`printf "%02d" %{updatever}` \
295329
  JDK_BUILD_NUMBER=b`printf "%02d" %{buildver}` \
295329
  JRE_RELEASE_VERSION=%{javaver}_`printf "%02d" %{updatever}`-b`printf "%02d" %{buildver}` \
295329
  MILESTONE="fcs" \
295329
  ALT_PARALLEL_COMPILE_JOBS="$NUM_PROC" \
295329
  HOTSPOT_BUILD_JOBS="$NUM_PROC" \
295329
  STATIC_CXX="false" \
295329
  RHINO_JAR="$PWD/../rhino/rhino.jar" \
295329
  GENSRCDIR="$PWD/generated.build" \
295329
  FT2_CFLAGS="`pkg-config --cflags freetype2` " \
295329
  FT2_LIBS="`pkg-config --libs freetype2` " \
295329
  DEBUG_CLASSFILES="true" \
295329
  DEBUG_BINARIES="true" \
295329
  STRIP_POLICY="no_strip" \
295329
  JAVAC_WARNINGS_FATAL="false" \
295329
  INSTALL_LOCATION=%{_jvmdir}/%{sdkdir} \
295329
  %{debugbuild}
295329
295329
popd >& /dev/null
295329
295329
if [ -e $(pwd)/%{buildoutputdir}/j2sdk-image/lib/sa-jdi.jar ]; then 
295329
  chmod 644 $(pwd)/%{buildoutputdir}/j2sdk-image/lib/sa-jdi.jar;
295329
fi
295329
295329
export JAVA_HOME=$(pwd)/%{buildoutputdir}/j2sdk-image
295329
295329
# Install java-abrt-luncher
295329
mkdir  $JAVA_HOME/jre-abrt
295329
mkdir  $JAVA_HOME/jre-abrt/bin
295329
mv  $JAVA_HOME/jre/bin/java $JAVA_HOME/jre-abrt/bin/java
295329
ln -s %{_jvmdir}/%{sdkdir}/jre/lib $JAVA_HOME/jre-abrt/lib
295329
cat %{SOURCE13} | sed -e s:@JAVA_PATH@:%{_jvmdir}/%{sdkdir}/jre-abrt/bin/java:g -e s:@LIB_DIR@:%{LIBDIR}/libabrt-java-connector.so:g >  $JAVA_HOME/jre/bin/java
295329
chmod 755 $JAVA_HOME/jre/bin/java
295329
295329
# Install nss.cfg right away as we will be using the JRE above
295329
cp -a %{SOURCE8} $JAVA_HOME/jre/lib/security/
295329
sed -i -e s:@NSS_LIBDIR@:%{NSS_LIBDIR}:g $JAVA_HOME/jre/lib/security/nss.cfg
295329
295329
# Build pulseaudio and install it to JDK build location
295329
%if %{with_pulseaudio}
295329
pushd pulseaudio
295329
make JAVA_HOME=$JAVA_HOME -f Makefile.pulseaudio
295329
cp -pPRf build/native/libpulse-java.so $JAVA_HOME/jre/lib/%{archinstall}/
295329
cp -pPRf build/pulse-java.jar $JAVA_HOME/jre/lib/ext/
295329
popd
295329
%endif
295329
295329
# Copy tz.properties
295329
echo "sun.zoneinfo.dir=/usr/share/javazi" >> $JAVA_HOME/jre/lib/tz.properties
295329
295329
#remove all fontconfig files. This change should be usptreamed soon
295329
rm -f %{buildoutputdir}/j2re-image/lib/fontconfig*.properties.src
295329
rm -f %{buildoutputdir}/j2re-image/lib/fontconfig*.bfc
295329
rm -f %{buildoutputdir}/j2sdk-image/jre/lib/fontconfig*.properties.src
295329
rm -f %{buildoutputdir}/j2sdk-image/jre/lib/fontconfig*.bfc
295329
rm -f %{buildoutputdir}/lib/fontconfig*.properties.src
295329
rm -f %{buildoutputdir}/lib/fontconfig*.bfc
295329
295329
# Check unlimited policy has been used
295329
$JAVA_HOME/bin/javac -d . %{SOURCE12}
295329
$JAVA_HOME/bin/java TestCryptoLevel
295329
295329
sh %{SOURCE11} ${JAVA_HOME}
295329
295329
%install
295329
rm -rf $RPM_BUILD_ROOT
295329
STRIP_KEEP_SYMTAB=libjvm*
295329
295329
# Install symlink to default soundfont
295329
install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/audio
295329
pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/audio
295329
ln -s %{_datadir}/soundfonts/default.sf2
295329
popd
295329
295329
pushd %{buildoutputdir}/j2sdk-image
295329
295329
#install jsa directories so we can owe them
295329
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{archinstall}/server/
295329
mkdir -p $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{archinstall}/client/
295329
295329
  # Install main files.
295329
  install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
295329
  cp -a jre-abrt bin include lib src.zip $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
295329
  install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
295329
  cp -a jre/bin jre/lib $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
295329
  cp -a ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
295329
295329
%ifarch %{jit_arches}
295329
  # Install systemtap support files.
295329
  install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset
295329
  cp -a $RPM_BUILD_DIR/%{uniquesuffix}/tapset/*.stp $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset/
295329
  install -d -m 755 $RPM_BUILD_ROOT%{tapsetdir}
295329
  pushd $RPM_BUILD_ROOT%{tapsetdir}
295329
    RELATIVE=$(%{abs2rel} %{_jvmdir}/%{sdkdir}/tapset %{tapsetdir})
295329
    ln -sf $RELATIVE/*.stp .
295329
  popd
295329
%endif
295329
295329
  # Install cacerts symlink.
295329
  rm -f $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security/cacerts
295329
  pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security
295329
    RELATIVE=$(%{abs2rel} %{_sysconfdir}/pki/java \
295329
      %{_jvmdir}/%{jredir}/lib/security)
295329
    ln -sf $RELATIVE/cacerts .
295329
  popd
295329
295329
  # Install extension symlinks.
295329
  install -d -m 755 $RPM_BUILD_ROOT%{jvmjardir}
295329
  pushd $RPM_BUILD_ROOT%{jvmjardir}
295329
    RELATIVE=$(%{abs2rel} %{_jvmdir}/%{jredir}/lib %{jvmjardir})
295329
    ln -sf $RELATIVE/jsse.jar jsse-%{version}.jar
295329
    ln -sf $RELATIVE/jce.jar jce-%{version}.jar
295329
    ln -sf $RELATIVE/rt.jar jndi-%{version}.jar
295329
    ln -sf $RELATIVE/rt.jar jndi-ldap-%{version}.jar
295329
    ln -sf $RELATIVE/rt.jar jndi-cos-%{version}.jar
295329
    ln -sf $RELATIVE/rt.jar jndi-rmi-%{version}.jar
295329
    ln -sf $RELATIVE/rt.jar jaas-%{version}.jar
295329
    ln -sf $RELATIVE/rt.jar jdbc-stdext-%{version}.jar
295329
    ln -sf jdbc-stdext-%{version}.jar jdbc-stdext-3.0.jar
295329
    ln -sf $RELATIVE/rt.jar sasl-%{version}.jar
295329
    for jar in *-%{version}.jar
295329
    do
295329
      if [ x%{version} != x%{javaver} ]
295329
      then
295329
        ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|-%{javaver}.jar|g")
295329
      fi
295329
      ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|.jar|g")
295329
    done
295329
  popd
295329
295329
  # Install JCE policy symlinks.
295329
  install -d -m 755 $RPM_BUILD_ROOT%{_jvmprivdir}/%{uniquesuffix}/jce/vanilla
295329
295329
  # Install versioned symlinks.
295329
  pushd $RPM_BUILD_ROOT%{_jvmdir}
295329
    ln -sf %{jredir} %{jrelnk}
295329
  popd
295329
295329
  pushd $RPM_BUILD_ROOT%{_jvmjardir}
295329
    ln -sf %{sdkdir} %{jrelnk}
295329
  popd
295329
295329
  # Remove javaws man page
295329
  rm -f man/man1/javaws*
295329
295329
  # Install man pages.
295329
  install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
295329
  for manpage in man/man1/*
295329
  do
295329
    # Convert man pages to UTF8 encoding.
295329
    iconv -f ISO_8859-1 -t UTF8 $manpage -o $manpage.tmp
295329
    mv -f $manpage.tmp $manpage
295329
    install -m 644 -p $manpage $RPM_BUILD_ROOT%{_mandir}/man1/$(basename \
295329
      $manpage .1)-%{uniquesuffix}.1
295329
  done
295329
295329
  # Install demos and samples.
295329
  cp -a demo $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
295329
  mkdir -p sample/rmi
295329
  mv bin/java-rmi.cgi sample/rmi
295329
  cp -a sample $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
295329
295329
popd
295329
295329
295329
# Install Javadoc documentation.
295329
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}
295329
cp -a %{buildoutputdir}/docs $RPM_BUILD_ROOT%{_javadocdir}/%{uniquejavadocdir}
295329
295329
# Install icons and menu entries.
295329
for s in 16 24 32 48 ; do
295329
  install -D -p -m 644 \
295329
    openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \
295329
    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/java-%{javaver}.png
295329
done
295329
295329
# Install desktop files.
295329
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}
295329
for e in %{SOURCE7} %{SOURCE77} ; do
295329
    sed -i "s/#ARCH#/%{_arch}-%{release}/g" $e
295329
    sed -i "s|/usr/bin|%{sdkbindir}/|g" $e
295329
    desktop-file-install --vendor=%{uniquesuffix} --mode=644 \
295329
        --dir=$RPM_BUILD_ROOT%{_datadir}/applications $e
295329
done
295329
295329
# Install /etc/.java/.systemPrefs/ directory
295329
# See https://bugzilla.redhat.com/show_bug.cgi?id=741821
295329
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/.java/.systemPrefs
295329
295329
# Find JRE directories.
295329
find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type d \
295329
  | grep -v jre/lib/security \
295329
  | sed 's|'$RPM_BUILD_ROOT'|%dir |' \
295329
  > %{name}.files-headless
295329
# Find JRE files.
295329
find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type f -o -type l \
295329
  | grep -v jre/lib/security \
295329
  | sed 's|'$RPM_BUILD_ROOT'||' \
295329
  > %{name}.files.all
295329
#split %{name}.files to %{name}.files-headless and %{name}.files
295329
#see https://bugzilla.redhat.com/show_bug.cgi?id=875408
295329
NOT_HEADLESS=\
295329
"%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libjsoundalsa.so 
295329
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libpulse-java.so 
295329
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/libsplashscreen.so 
295329
%{_jvmdir}/%{uniquesuffix}/jre/lib/%{archinstall}/xawt/libmawt.so
295329
%{_jvmdir}/%{uniquesuffix}/jre-abrt/lib/%{archinstall}/libjsoundalsa.so 
295329
%{_jvmdir}/%{uniquesuffix}/jre-abrt/lib/%{archinstall}/libpulse-java.so 
295329
%{_jvmdir}/%{uniquesuffix}/jre-abrt/lib/%{archinstall}/libsplashscreen.so 
295329
%{_jvmdir}/%{uniquesuffix}/jre-abrt/lib/%{archinstall}/xawt/libmawt.so"
295329
#filter  %{name}.files from  %{name}.files.all to  %{name}.files-headless
295329
ALL=`cat %{name}.files.all`
295329
for file in $ALL ; do 
295329
  INLCUDE="NO" ; 
295329
  for blacklist in $NOT_HEADLESS ; do
295329
#we can not match normally, because rpmbuild will evaluate !0 result as script failure
295329
    q=`expr match "$file" "$blacklist"` || :
295329
    l=`expr length  "$blacklist"` || :
295329
    if [ $q -eq $l  ]; then 
295329
      INLCUDE="YES" ; 
295329
    fi;
295329
  done
295329
    if [ "x$INLCUDE" = "xNO"  ]; then 
295329
      echo "$file" >> %{name}.files-headless
295329
    else
295329
      echo "$file" >> %{name}.files
295329
    fi
295329
done
295329
# Find demo directories.
295329
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
295329
  $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample -type d \
295329
  | sed 's|'$RPM_BUILD_ROOT'|%dir |' \
295329
  > %{name}-demo.files
295329
295329
# FIXME: remove SONAME entries from demo DSOs.  See
295329
# https://bugzilla.redhat.com/show_bug.cgi?id=436497
295329
295329
# Find non-documentation demo files.
295329
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
295329
  $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
295329
  -type f -o -type l | sort \
295329
  | grep -v README \
295329
  | sed 's|'$RPM_BUILD_ROOT'||' \
295329
  >> %{name}-demo.files
295329
# Find documentation demo files.
295329
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
295329
  $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
295329
  -type f -o -type l | sort \
295329
  | grep README \
295329
  | sed 's|'$RPM_BUILD_ROOT'||' \
295329
  | sed 's|^|%doc |' \
295329
  >> %{name}-demo.files
295329
295329
# intentionally after the files generation, as it goes to separate package
295329
# Create links which leads to separately installed java-atk-bridge and allow configuration
295329
# links points to java-atk-wrapper - an dependence
295329
  pushd $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir}/lib/%{archinstall}
295329
    ln -s %{syslibdir}/java-atk-wrapper/libatk-wrapper.so.0 libatk-wrapper.so
295329
  popd
295329
  pushd $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir}/lib/ext
295329
     ln -s %{syslibdir}/java-atk-wrapper/java-atk-wrapper.jar  java-atk-wrapper.jar
295329
  popd
295329
  pushd $RPM_BUILD_ROOT/%{_jvmdir}/%{jredir}/lib/
295329
    echo "#Config file to  enable java-atk-wrapper" > accessibility.properties
295329
    echo "" >> accessibility.properties
295329
    echo "assistive_technologies=org.GNOME.Accessibility.AtkWrapper" >> accessibility.properties
295329
    echo "" >> accessibility.properties
295329
  popd
295329
295329
%pretrans headless -p <lua>
295329
-- see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue 
295329
295329
local posix = require "posix"
295329
295329
local currentjvm = "%{uniquesuffix}"
295329
local jvmdir = "%{_jvmdir}"
295329
local jvmDestdir = jvmdir
295329
local origname = "%{name}"
295329
local origjavaver = "%{javaver}"
295329
--trasnform substitute names to lua patterns
295329
--all percentages must be doubled for case of RPM escapingg
295329
local name = string.gsub(string.gsub(origname, "%%-", "%%%%-"), "%%.", "%%%%.")
295329
local javaver = string.gsub(origjavaver, "%%.", "%%%%.")
295329
local arch ="%{_arch}"
295329
local  debug = false;
295329
295329
local jvms = { }
295329
295329
local caredFiles = {"jre/lib/calendars.properties",
295329
              "jre/lib/content-types.properties",
295329
              "jre/lib/flavormap.properties",
295329
              "jre/lib/logging.properties",
295329
              "jre/lib/net.properties",
295329
              "jre/lib/psfontj2d.properties",
295329
              "jre/lib/sound.properties",
295329
              "jre/lib/tz.properties",
295329
              "jre/lib/deployment.properties",
295329
              "jre/lib/deployment.config",
295329
              "jre/lib/security/US_export_policy.jar",
295329
              "jre/lib/security/java.policy",
295329
              "jre/lib/security/java.security",
295329
              "jre/lib/security/local_policy.jar",
295329
              "jre/lib/security/nss.cfg,",
295329
              "jre/lib/ext"}
295329
295329
function splitToTable(source, pattern)
295329
  local i1 = string.gmatch(source, pattern) 
295329
  local l1 = {}
295329
  for i in i1 do
295329
    table.insert(l1, i)
295329
  end
295329
  return l1
295329
end
295329
295329
if (debug) then
295329
  print("started")
295329
end;
295329
295329
foundJvms = posix.dir(jvmdir);
295329
if (foundJvms == nil) then
295329
  if (debug) then
295329
    print("no, or nothing in "..jvmdir.." exit")
295329
  end;
295329
  return
295329
end
295329
295329
if (debug) then
295329
  print("found "..#foundJvms.."jvms")
295329
end;
295329
295329
for i,p in pairs(foundJvms) do
295329
-- regex similar to %{_jvmdir}/%{name}-%{javaver}*%{_arch} bash command
295329
--all percentages must be doubled for case of RPM escapingg
295329
  if (string.find(p, name.."%%-"..javaver..".*"..arch) ~= nil ) then
295329
    if (debug) then
295329
      print("matched:  "..p)
295329
    end;
295329
    if (currentjvm ==  p) then
295329
      if (debug) then
295329
        print("this jdk is already installed. exiting lua script")
295329
      end;
295329
      return
295329
    end ;
295329
    table.insert(jvms, p)
295329
  else
295329
    if (debug) then
295329
      print("NOT matched:  "..p)
295329
    end;
295329
  end
295329
end
295329
295329
if (#jvms <=0) then 
295329
  if (debug) then
295329
    print("no matching jdk in "..jvmdir.." exit")
295329
  end;
295329
  return
295329
end;
295329
295329
if (debug) then
295329
  print("matched "..#jvms.." jdk in "..jvmdir)
295329
end;
295329
295329
--full names are like java-1.7.0-openjdk-1.7.0.60-2.4.5.1.fc20.x86_64
295329
table.sort(jvms , function(a,b) 
295329
-- version-sort
295329
-- split on non word: . - 
295329
  local l1 = splitToTable(a, "[^%.-]+") 
295329
  local l2 = splitToTable(b, "[^%.-]+") 
295329
  for x = 1, math.min(#l1, #l2) do
295329
    local l1x = tonumber(l1[x])
295329
    local l2x = tonumber(l2[x])
295329
    if (l1x ~= nil and l2x ~= nil)then
295329
--if hunks are numbers, go with them 
295329
      if (l1x < l2x) then return true; end
295329
      if (l1x > l2x) then return false; end
295329
    else
295329
      if (l1[x] < l2[x]) then return true; end
295329
      if (l1[x] > l2[x]) then return false; end
295329
    end
295329
-- if hunks are equals then move to another pair of hunks
295329
  end
295329
return a
295329
295329
end)
295329
295329
if (debug) then
295329
  print("sorted lsit of jvms")
295329
  for i,file in pairs(jvms) do
295329
    print(file)
295329
  end
295329
end
295329
295329
latestjvm = jvms[#jvms]
295329
295329
295329
for i,file in pairs(caredFiles) do
295329
  local SOURCE=jvmdir.."/"..latestjvm.."/"..file
295329
  local DEST=jvmDestdir.."/"..currentjvm.."/"..file
295329
  if (debug) then
295329
    print("going to copy "..SOURCE)
295329
    print("to  "..DEST)
295329
  end;
295329
  local stat1 = posix.stat(SOURCE, "type");
295329
  if (stat1 ~= nil) then
295329
  if (debug) then
295329
    print(SOURCE.." exists")
295329
  end;
295329
  local s = ""
295329
  local dirs = splitToTable(DEST, "[^/]+") 
295329
  for i,d in pairs(dirs) do
295329
    if (i == #dirs) then
295329
      break
295329
    end
295329
    s = s.."/"..d
295329
    local stat2 = posix.stat(s, "type");
295329
    if (stat2 == nil) then
295329
      if (debug) then
295329
        print(s.." does not exists, creating")
295329
      end;
295329
      posix.mkdir(s)
295329
    else
295329
      if (debug) then
295329
        print(s.." exists,not creating")
295329
      end;
295329
    end
295329
  end
295329
-- Copy with -a to keep everything intact
295329
    local exe = "cp".." -ar "..SOURCE.." "..DEST
295329
    if (debug) then
295329
      print("executing "..exe)
295329
    end;    
295329
    os.execute(exe)
295329
  else
295329
    if (debug) then
295329
      print(SOURCE.." does not exists")
295329
    end;
295329
  end
295329
end
295329
295329
295329
%post 
295329
update-desktop-database %{_datadir}/applications &> /dev/null || :
295329
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
295329
exit 0
295329
295329
295329
# FIXME: identical binaries are copied, not linked. This needs to be
295329
# fixed upstream.
295329
%post headless
295329
# The pretrans lua scriptlet prevents an unmodified java.security
295329
# from being replaced via an update. It gets created as
295329
# java.security.rpmnew instead. This invalidates the patch of
295329
# JDK-8061210 of the January 2015 CPU. We fix this via a
295329
# post scriptlet which runs on updates.
295329
if [ "$1" -gt 1 ]; then
295329
  javasecurity="%{_jvmdir}/%{uniquesuffix}/jre/lib/security/java.security"
295329
  sum=$(md5sum "${javasecurity}" | cut -d' ' -f1)
295329
  # This is the md5sum of an unmodified java.security file
295329
  if [ "${sum}" = '567d9244d9ef1ac0e557d05eb0892413' ]; then
295329
    if [ -f "${javasecurity}.rpmnew" ]; then
295329
      mv -f "${javasecurity}.rpmnew" "${javasecurity}"
295329
    fi
295329
  fi
295329
fi
295329
295329
%ifarch %{jit_arches}
295329
#see https://bugzilla.redhat.com/show_bug.cgi?id=513605
295329
%{jrebindir}/java -Xshare:dump >/dev/null 2>/dev/null
295329
%endif
295329
295329
ext=.gz
295329
alternatives \
295329
  --install %{_bindir}/java java %{jrebindir}/java %{priority} \
295329
  --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jredir} \
295329
  --slave %{_jvmjardir}/jre jre_exports %{jvmjardir} \
295329
  --slave %{_bindir}/keytool keytool %{jrebindir}/keytool \
295329
  --slave %{_bindir}/orbd orbd %{jrebindir}/orbd \
295329
  --slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \
295329
  --slave %{_bindir}/rmid rmid %{jrebindir}/rmid \
295329
  --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \
295329
  --slave %{_bindir}/servertool servertool %{jrebindir}/servertool \
295329
  --slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \
295329
  --slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \
295329
  --slave %{_mandir}/man1/java.1$ext java.1$ext \
295329
  %{_mandir}/man1/java-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \
295329
  %{_mandir}/man1/keytool-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/orbd.1$ext orbd.1$ext \
295329
  %{_mandir}/man1/orbd-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \
295329
  %{_mandir}/man1/pack200-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \
295329
  %{_mandir}/man1/rmid-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \
295329
  %{_mandir}/man1/rmiregistry-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/servertool.1$ext servertool.1$ext \
295329
  %{_mandir}/man1/servertool-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/tnameserv.1$ext tnameserv.1$ext \
295329
  %{_mandir}/man1/tnameserv-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \
295329
  %{_mandir}/man1/unpack200-%{uniquesuffix}.1$ext
295329
295329
for X in %{origin} %{javaver} ; do
295329
  alternatives \
295329
    --install %{_jvmdir}/jre-"$X" \
295329
    jre_"$X" %{_jvmdir}/%{jredir} %{priority} \
295329
    --slave %{_jvmjardir}/jre-"$X" \
295329
    jre_"$X"_exports %{jvmjardir}
295329
done
295329
295329
update-alternatives --install %{_jvmdir}/jre-%{javaver}-%{origin} jre_%{javaver}_%{origin} %{_jvmdir}/%{jrelnk} %{priority} \
295329
--slave %{_jvmjardir}/jre-%{javaver}       jre_%{javaver}_%{origin}_exports      %{jvmjardir}
295329
295329
update-desktop-database %{_datadir}/applications &> /dev/null || :
295329
295329
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
295329
295329
exit 0
295329
295329
%postun
295329
update-desktop-database %{_datadir}/applications &> /dev/null || :
295329
295329
if [ $1 -eq 0 ] ; then
295329
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
295329
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
295329
fi
295329
295329
exit 0
295329
295329
295329
%postun headless
295329
  alternatives --remove java %{jrebindir}/java
295329
  alternatives --remove jre_%{origin} %{_jvmdir}/%{jredir}
295329
  alternatives --remove jre_%{javaver} %{_jvmdir}/%{jredir}
295329
  alternatives --remove jre_%{javaver}_%{origin} %{_jvmdir}/%{jrelnk}
295329
295329
  # avoid unnecessary failure
295329
  if [ -e %{_jvmdir}/%{uniquesuffix} ]  ; then 
295329
    # as lua copied all necessary config files, we do not wont the double rpmnew and rpm.save
295329
    rm -rf %{_jvmdir}/%{uniquesuffix}  
295329
  fi
295329
exit 0
295329
295329
%posttrans
295329
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
295329
295329
295329
295329
%post devel
295329
ext=.gz
295329
alternatives \
295329
  --install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \
295329
  --slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdkdir} \
295329
  --slave %{_jvmjardir}/java java_sdk_exports %{_jvmjardir}/%{sdkdir} \
295329
  --slave %{_bindir}/appletviewer appletviewer %{sdkbindir}/appletviewer \
295329
  --slave %{_bindir}/apt apt %{sdkbindir}/apt \
295329
  --slave %{_bindir}/extcheck extcheck %{sdkbindir}/extcheck \
295329
  --slave %{_bindir}/idlj idlj %{sdkbindir}/idlj \
295329
  --slave %{_bindir}/jar jar %{sdkbindir}/jar \
295329
  --slave %{_bindir}/jarsigner jarsigner %{sdkbindir}/jarsigner \
295329
  --slave %{_bindir}/javadoc javadoc %{sdkbindir}/javadoc \
295329
  --slave %{_bindir}/javah javah %{sdkbindir}/javah \
295329
  --slave %{_bindir}/javap javap %{sdkbindir}/javap \
295329
  --slave %{_bindir}/jcmd jcmd %{sdkbindir}/jcmd \
295329
  --slave %{_bindir}/jconsole jconsole %{sdkbindir}/jconsole \
295329
  --slave %{_bindir}/jdb jdb %{sdkbindir}/jdb \
295329
  --slave %{_bindir}/jhat jhat %{sdkbindir}/jhat \
295329
  --slave %{_bindir}/jinfo jinfo %{sdkbindir}/jinfo \
295329
  --slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \
295329
  --slave %{_bindir}/jps jps %{sdkbindir}/jps \
295329
  --slave %{_bindir}/jrunscript jrunscript %{sdkbindir}/jrunscript \
295329
  --slave %{_bindir}/jsadebugd jsadebugd %{sdkbindir}/jsadebugd \
295329
  --slave %{_bindir}/jstack jstack %{sdkbindir}/jstack \
295329
  --slave %{_bindir}/jstat jstat %{sdkbindir}/jstat \
295329
  --slave %{_bindir}/jstatd jstatd %{sdkbindir}/jstatd \
295329
  --slave %{_bindir}/native2ascii native2ascii %{sdkbindir}/native2ascii \
295329
  --slave %{_bindir}/policytool policytool %{sdkbindir}/policytool \
295329
  --slave %{_bindir}/rmic rmic %{sdkbindir}/rmic \
295329
  --slave %{_bindir}/schemagen schemagen %{sdkbindir}/schemagen \
295329
  --slave %{_bindir}/serialver serialver %{sdkbindir}/serialver \
295329
  --slave %{_bindir}/wsgen wsgen %{sdkbindir}/wsgen \
295329
  --slave %{_bindir}/wsimport wsimport %{sdkbindir}/wsimport \
295329
  --slave %{_bindir}/xjc xjc %{sdkbindir}/xjc \
295329
  --slave %{_mandir}/man1/appletviewer.1$ext appletviewer.1$ext \
295329
  %{_mandir}/man1/appletviewer-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/apt.1$ext apt.1$ext \
295329
  %{_mandir}/man1/apt-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/extcheck.1$ext extcheck.1$ext \
295329
  %{_mandir}/man1/extcheck-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jar.1$ext jar.1$ext \
295329
  %{_mandir}/man1/jar-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \
295329
  %{_mandir}/man1/jarsigner-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/javac.1$ext javac.1$ext \
295329
  %{_mandir}/man1/javac-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/javadoc.1$ext javadoc.1$ext \
295329
  %{_mandir}/man1/javadoc-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/javah.1$ext javah.1$ext \
295329
  %{_mandir}/man1/javah-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/javap.1$ext javap.1$ext \
295329
  %{_mandir}/man1/javap-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jconsole.1$ext jconsole.1$ext \
295329
  %{_mandir}/man1/jconsole-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jdb.1$ext jdb.1$ext \
295329
  %{_mandir}/man1/jdb-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jhat.1$ext jhat.1$ext \
295329
  %{_mandir}/man1/jhat-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jinfo.1$ext jinfo.1$ext \
295329
  %{_mandir}/man1/jinfo-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jmap.1$ext jmap.1$ext \
295329
  %{_mandir}/man1/jmap-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jps.1$ext jps.1$ext \
295329
  %{_mandir}/man1/jps-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jrunscript.1$ext jrunscript.1$ext \
295329
  %{_mandir}/man1/jrunscript-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jsadebugd.1$ext jsadebugd.1$ext \
295329
  %{_mandir}/man1/jsadebugd-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jstack.1$ext jstack.1$ext \
295329
  %{_mandir}/man1/jstack-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jstat.1$ext jstat.1$ext \
295329
  %{_mandir}/man1/jstat-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/jstatd.1$ext jstatd.1$ext \
295329
  %{_mandir}/man1/jstatd-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/native2ascii.1$ext native2ascii.1$ext \
295329
  %{_mandir}/man1/native2ascii-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/policytool.1$ext policytool.1$ext \
295329
  %{_mandir}/man1/policytool-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \
295329
  %{_mandir}/man1/rmic-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/schemagen.1$ext schemagen.1$ext \
295329
  %{_mandir}/man1/schemagen-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \
295329
  %{_mandir}/man1/serialver-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/wsgen.1$ext wsgen.1$ext \
295329
  %{_mandir}/man1/wsgen-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/wsimport.1$ext wsimport.1$ext \
295329
  %{_mandir}/man1/wsimport-%{uniquesuffix}.1$ext \
295329
  --slave %{_mandir}/man1/xjc.1$ext xjc.1$ext \
295329
  %{_mandir}/man1/xjc-%{uniquesuffix}.1$ext
295329
295329
for X in %{origin} %{javaver} ; do
295329
  alternatives \
295329
    --install %{_jvmdir}/java-"$X" \
295329
    java_sdk_"$X" %{_jvmdir}/%{sdkdir} %{priority} \
295329
    --slave %{_jvmjardir}/java-"$X" \
295329
    java_sdk_"$X"_exports %{_jvmjardir}/%{sdkdir}
295329
done
295329
295329
update-alternatives --install %{_jvmdir}/java-%{javaver}-%{origin} java_sdk_%{javaver}_%{origin} %{_jvmdir}/%{sdkdir} %{priority} \
295329
--slave %{_jvmjardir}/java-%{javaver}-%{origin}       java_sdk_%{javaver}_%{origin}_exports      %{_jvmjardir}/%{sdkdir}
295329
295329
update-desktop-database %{_datadir}/applications &> /dev/null || :
295329
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
295329
295329
exit 0
295329
295329
%postun devel
295329
  alternatives --remove javac %{sdkbindir}/javac
295329
  alternatives --remove java_sdk_%{origin} %{_jvmdir}/%{sdkdir}
295329
  alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdkdir}
295329
  alternatives --remove java_sdk_%{javaver}_%{origin} %{_jvmdir}/%{sdkdir}
295329
295329
update-desktop-database %{_datadir}/applications &> /dev/null || :
295329
295329
if [ $1 -eq 0 ] ; then
295329
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
295329
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
295329
fi
295329
295329
exit 0
295329
295329
%posttrans  devel
295329
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
295329
295329
295329
%post javadoc
295329
alternatives \
295329
  --install %{_javadocdir}/java javadocdir %{_javadocdir}/%{uniquejavadocdir}/api \
295329
  %{priority}
295329
295329
exit 0
295329
295329
%postun javadoc
295329
  alternatives --remove javadocdir %{_javadocdir}/%{uniquejavadocdir}/api
295329
295329
exit 0
295329
295329
295329
%files -f %{name}.files
295329
%{_datadir}/icons/hicolor/*x*/apps/java-%{javaver}.png
295329
295329
# important note, see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue 
295329
# all config/norepalce files (and more) have to be declared in pretrans. See pretrans
295329
%files headless  -f %{name}.files-headless
295329
%defattr(-,root,root,-)
295329
%doc %{_jvmdir}/%{sdkdir}/ASSEMBLY_EXCEPTION
295329
%doc %{_jvmdir}/%{sdkdir}/LICENSE
295329
%doc %{_jvmdir}/%{sdkdir}/THIRD_PARTY_README
295329
%dir %{_jvmdir}/%{sdkdir}
295329
%dir %{_jvmdir}/%{sdkdir}/jre/lib/
295329
%dir %{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}
295329
%ifarch x86_64
295329
%dir %{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/xawt
295329
%endif
295329
%{_jvmdir}/%{jrelnk}
295329
%{_jvmjardir}/%{jrelnk}
295329
%{_jvmprivdir}/*
295329
%{jvmjardir}
295329
%dir %{_jvmdir}/%{jredir}/lib/security
295329
%{_jvmdir}/%{jredir}/lib/security/cacerts
295329
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/US_export_policy.jar
295329
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/local_policy.jar
295329
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy
295329
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security
295329
%config(noreplace) %{_jvmdir}/%{jredir}/lib/logging.properties
295329
%{_mandir}/man1/java-%{uniquesuffix}.1*
295329
%{_mandir}/man1/keytool-%{uniquesuffix}.1*
295329
%{_mandir}/man1/orbd-%{uniquesuffix}.1*
295329
%{_mandir}/man1/pack200-%{uniquesuffix}.1*
295329
%{_mandir}/man1/rmid-%{uniquesuffix}.1*
295329
%{_mandir}/man1/rmiregistry-%{uniquesuffix}.1*
295329
%{_mandir}/man1/servertool-%{uniquesuffix}.1*
295329
%{_mandir}/man1/tnameserv-%{uniquesuffix}.1*
295329
%{_mandir}/man1/unpack200-%{uniquesuffix}.1*
295329
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/nss.cfg
295329
%{_jvmdir}/%{jredir}/lib/audio/
295329
%ifarch %{jit_arches}
295329
%attr(664, root, root) %ghost %{_jvmdir}/%{jredir}/lib/%{archinstall}/server/classes.jsa
295329
%attr(664, root, root) %ghost %{_jvmdir}/%{jredir}/lib/%{archinstall}/client/classes.jsa
295329
%endif
295329
%{_jvmdir}/%{jredir}/lib/%{archinstall}/server/
295329
%{_jvmdir}/%{jredir}/lib/%{archinstall}/client/
295329
%{_sysconfdir}/.java/
295329
%{_sysconfdir}/.java/.systemPrefs
295329
%{_jvmdir}/%{sdkdir}/jre-abrt
295329
295329
295329
%files devel
295329
%defattr(-,root,root,-)
295329
%doc %{_jvmdir}/%{sdkdir}/ASSEMBLY_EXCEPTION
295329
%doc %{_jvmdir}/%{sdkdir}/LICENSE
295329
%doc %{_jvmdir}/%{sdkdir}/THIRD_PARTY_README
295329
%dir %{_jvmdir}/%{sdkdir}/bin
295329
%dir %{_jvmdir}/%{sdkdir}/include
295329
%dir %{_jvmdir}/%{sdkdir}/lib
295329
%ifarch %{jit_arches}
295329
%dir %{_jvmdir}/%{sdkdir}/tapset
295329
%endif
295329
%{_jvmdir}/%{sdkdir}/bin/*
295329
%{_jvmdir}/%{sdkdir}/include/*
295329
%{_jvmdir}/%{sdkdir}/lib/*
295329
%ifarch %{jit_arches}
295329
%{_jvmdir}/%{sdkdir}/tapset/*.stp
295329
%endif
295329
%{_jvmjardir}/%{sdkdir}
295329
%{_datadir}/applications/*jconsole.desktop
295329
%{_datadir}/applications/*policytool.desktop
295329
%{_mandir}/man1/appletviewer-%{uniquesuffix}.1*
295329
%{_mandir}/man1/apt-%{uniquesuffix}.1*
295329
%{_mandir}/man1/extcheck-%{uniquesuffix}.1*
295329
%{_mandir}/man1/idlj-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jar-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jarsigner-%{uniquesuffix}.1*
295329
%{_mandir}/man1/javac-%{uniquesuffix}.1*
295329
%{_mandir}/man1/javadoc-%{uniquesuffix}.1*
295329
%{_mandir}/man1/javah-%{uniquesuffix}.1*
295329
%{_mandir}/man1/javap-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jconsole-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jcmd-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jdb-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jhat-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jinfo-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jmap-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jps-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jrunscript-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jsadebugd-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jstack-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jstat-%{uniquesuffix}.1*
295329
%{_mandir}/man1/jstatd-%{uniquesuffix}.1*
295329
%{_mandir}/man1/native2ascii-%{uniquesuffix}.1*
295329
%{_mandir}/man1/policytool-%{uniquesuffix}.1*
295329
%{_mandir}/man1/rmic-%{uniquesuffix}.1*
295329
%{_mandir}/man1/schemagen-%{uniquesuffix}.1*
295329
%{_mandir}/man1/serialver-%{uniquesuffix}.1*
295329
%{_mandir}/man1/wsgen-%{uniquesuffix}.1*
295329
%{_mandir}/man1/wsimport-%{uniquesuffix}.1*
295329
%{_mandir}/man1/xjc-%{uniquesuffix}.1*
295329
%ifarch %{jit_arches}
295329
%{tapsetroot}
295329
%endif
295329
295329
%files demo -f %{name}-demo.files
295329
%defattr(-,root,root,-)
295329
%doc %{_jvmdir}/%{sdkdir}/LICENSE
295329
295329
%files src
295329
%defattr(-,root,root,-)
295329
%doc README.src
295329
%{_jvmdir}/%{sdkdir}/src.zip
295329
295329
%files javadoc
295329
%defattr(-,root,root,-)
295329
%doc %{_javadocdir}/%{uniquejavadocdir}
295329
%doc %{buildoutputdir}/j2sdk-image/jre/LICENSE
295329
295329
%files accessibility
295329
%{_jvmdir}/%{jredir}/lib/%{archinstall}/libatk-wrapper.so
295329
%{_jvmdir}/%{jredir}/lib/ext/java-atk-wrapper.jar
295329
%{_jvmdir}/%{jredir}/lib/accessibility.properties
295329
295329
%changelog
295329
* Tue Jan 27 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.75-2.5.4.3
295329
- removed source14 remove-origin-from-rpaths (1169097)
295329
- removed build requirement for chrpath
295329
- Resolves: rhbz#1180298
295329
295329
* Fri Jan 16 2015 Severin Gehwolf <sgehwolf@redhat.com> - 1:1.7.0.75-2.5.4.2
295329
- Replace unmodified java.security file via headless post scriptlet.
295329
- Resolves: rhbz#1180298
295329
295329
* Sun Jan 11 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.1
295329
- Fix macro expansion in changelog
295329
- Resolves: rhbz#1180298
295329
295329
* Fri Jan 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.1
295329
- Fix elliptic curve list as part of fsg.sh
295329
- Resolves: rhbz#1180298
295329
295329
* Fri Jan 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.1
295329
- Bump release so that the RHEL 7.1 version is built on AArch64.
295329
- Resolves: rhbz#1180298
295329
295329
* Fri Jan 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.0
295329
- Bump to 2.5.4 using OpenJDK 7u75 b13.
295329
- Bump AArch64 port to 2.6.0pre17.
295329
- Fix abrt_friendly_hs_log_jdk7.patch to apply again and enable on all archs.
295329
- Remove OpenJDK 8 / AArch64 version of PStack patch as this is no longer needed.
295329
- Resolves: rhbz#1180298
295329
295329
* Tue Dec 16 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.71-2.5.3.4
295329
- aarch64 sources updated to most recent stable tag
295329
- adapted patch4030 PStack-808293-aarch64.patch
295329
- removed upstreamed CPU patches (patch500-509, 20141014*)
295329
- Resolves: rhbz#1125260
295329
295329
* Mon Oct 06 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.71-2.5.3.3
295329
- Set ENABLE_FULL_DEBUG_SYMBOLS=0 for aarch64 to retain debuginfo in files.
295329
- Resolves: rhbz#1148894
295329
295329
* Sat Oct 04 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.71-2.5.3.2
295329
- Add HS security patches for aarch64.
295329
- Resolves: rhbz#1148894
295329
295329
* Fri Oct 03 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.71-2.5.3.1
295329
- Bump to 2.5.3 for latest security fixes.
295329
- Remove obsolete patches and CFLAGS which are now upstream.
295329
- Add hsbootstrap option to pre-build HotSpot when required.
295329
- Resolves: rhbz#1148894
295329
295329
* Thu Oct 02 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1.7.0.65-2.5.1.12
295329
- Bump release for self-build.
295329
- Resolves: RHBZ#1125557.
295329
295329
* Tue Sep 23 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1.7.0.65-2.5.1.11
295329
- Add hotspot compiler flag -fno-tree-vectorize which fixes the segfault in
295329
  the bytecode verifier on ppc/ppc64.
295329
295329
* Tue Sep 23 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1.7.0.65-2.5.1.10
295329
- Add patches for PPC zero build.
295329
- Fixes stack overflow problem. See RHBZ#1015432.
295329
- Fixes missing memory barrier in Atomic::xchg*
295329
- Fixes missing PPC32/PPC64 defines for Zero builds on power.
295329
295329
* Mon Sep 22 2014 Severin Gehwolf <sgehwolf@redhat.com> - 1.7.0.65-2.5.1.9
295329
- Remove obsolete PPC/PPC64 patches.
295329
295329
* Thu Sep 11 2014 Omair Majid <omajid@redhat.com> - 1.7.0.65-2.5.1.8
295329
- Update aarch64 port to jdk7u60_b04_aarch64_834
295329
- Resolves: rhbz#1082779
295329
295329
* Tue Aug 19 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.7
295329
- added and applied patch666 stackoverflow-ppc32_64-20140828.patch
295329
- returned ppc (rebuild in brew must be done by 2.4.x)
295329
- Resolves: rhbz#1125557
295329
295329
* Tue Aug 19 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.6
295329
- added ExcludeArch: ppc
295329
- Resolves: rhbz#1125557
295329
295329
* Mon Aug 04 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.65-2.5.1.5
295329
- Add workaround to build on ppc64le where arch directory is still ppc64le, not ppc64
295329
- Resolves: rhbz#1125557
295329
295329
* Wed Jul 30 2014 Omair Majid <omajid@redhat.com> - 1.7.0.65-2.5.1.4
295329
- Bump release to build package on aarch64
295329
- Resolves: rhbz#1082779
295329
295329
* Wed Jul 30 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.3
295329
- Update aarch64 to latest version
295329
- Resolves: rhbz#1082779
295329
295329
* Mon Jul 14 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.2
295329
- added and applied fix for samrtcard io patch405, pr1864_smartcardIO.patch
295329
- Resolves: rhbz#1115877
295329
295329
* Mon Jul 07 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.65-2.5.1.1
295329
- updated to security patched icedtea7-forest-2.5.1
295329
- Resolves: rhbz#1115877
295329
295329
* Wed Jul 02 2014 Jiri Vanek  <jvanek@redhat.com> - 1.7.0.60-2.5.0.3
295329
- updated to icedtea7-forest-2.5.0 (rh1114934)
295329
- Resolves: rhbz#1099566
295329
295329
* Fri May 30 2014 Andrew John Hughes <gnu.andrew@redhat.com> - 1.7.0.55-2.4.7.2
295329
- Remove NSS patches. Issues with PKCS11 provider mean it shouldn't be enabled.
295329
- Always setup nss.cfg and depend on nss-devel at build-time to do so.
295329
- This allows users who wish to use PKCS11+NSS to just add it to java.security.
295329
- Patches to PKCS11 provider will be included upstream in 2.4.8 (ETA July 2014)
295329
- Resolves: rhbz#1099565
295329
295329
* Tue May 20 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.55-2.4.7.0.el7
295329
- bumped to future icedtea-forest 2.4.7
295329
- updatever set to 55, buildver se to 13, release reset to 0
295329
- removed upstreamed patch402 gstackbounds.patch
295329
- removed Requires: rhino, BuildRequires is enough
295329
- ppc64 repalced by power64 macro
295329
- patch111 applied as dry-run (6.6 forward port)
295329
- nss enabled, but notused as default (6.6 forward port)
295329
- Resolves: rhbz#1099565
295329
295329
* Fri Apr 04 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.5.el7
295329
- added OrderWithRequires on headless where possible
295329
- Resolves: rhbz#1038092
295329
295329
* Thu Mar 27 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.3.el7
295329
- synced lua script from fedora.
295329
- Resolves: rhbz#1038092
295329
295329
* Fri Mar 14 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.2.el7
295329
- added fstack-protector-strong to CFLAGS
295329
- Resolves: rhbz#1070816
295329
295329
* Thu Mar 06 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.1.el7
295329
- diabled NSS. Missuisng 1038092 for it as it is in hurry.
295329
- Related: rhbz#1038092
295329
295329
* Thu Jan 30 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.5.0.el7
295329
- updated to icedtea 2.4.5 + sync with f21
295329
 - http://blog.fuseyism.com/index.php/2014/01/29/icedtea-2-4-5-released/
295329
- removed buildRequires: pulseaudio >= 0.9.11, as not neccessary
295329
 -  but kept libs-devel)
295329
- removed upstreamed or unwonted patches (thanx to gnu_andrew to pointing them out)
295329
 - patch410 1015432.patch (upstreamed)
295329
 - patch411 1029588.patch
295329
 - patch412 zero-x32.diff
295329
 - patch104 java-1.7.0-ppc-zero-jdk.patch
295329
 - patch105 java-1.7.0-ppc-zero-hotspot.patch
295329
- patch402 gstackbounds.patch and patch403 PStack-808293.patch applied always
295329
 (again thanx to gnu_andrew)
295329
- merged other gnu_andrew's changes
295329
 - FT2_CFLAGS and FT2_LIBS hardoced values replaced by correct pkg-config calls 
295329
 - buildver bumbed to 31
295329
- added build requires  nss-devel
295329
- removed build requires mercurial
295329
- added JRE_RELEASE_VERSION and ALT_PARALLEL_COMPILE_JOBS into make call
295329
- Related: rhbz1038092
295329
295329
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 1.7.0.51-2.4.4.1
295329
- Mass rebuild 2014-01-24
295329
295329
* Fri Jan 10 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.4.0.el7
295329
- updated to security icedtea 2.4.4
295329
 - icedtea_version set to 2.4.4
295329
 - updatever bumped to       51
295329
 - release reset to 0
295329
- sync with fedora
295329
 - added and applied patch411 1029588.patch (rh 1029588)
295329
 - added aand applied patch410, 1015432 (rh 1015432)
295329
 - and so removed patch121 FixPPC64StackOverflow.patch
295329
- added patch412 zero-x32.diff to try to fix zero builds build
295329
- Resolves: rhbz#1053280
295329
295329
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.7.0.45-2.4.3.5.el7 
295329
- Mass rebuild 2013-12-27
295329
295329
* Thu Oct 31 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.4.fel7
295329
- Removed obsoletes for java-1.6.0-openjdk* ,  until decided its presence in el7
295329
- Resolves:rhbz#1018680
295329
295329
* Thu Oct 31 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.3.fel7
295329
- just bumped release, need to confirm, that   patch121, FixPPC64StackOverflow.patch
295329
  really works
295329
- Resolves:rhbz#1018680
295329
295329
* Wed Oct 16 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.2.fel7
295329
- added and applied patch121, FixPPC64StackOverflow.patch
295329
- all redundant ppc64 strings replaced by power64 macro
295329
- Resolves:rhbz#1018680
295329
295329
* Wed Oct 16 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.1.fel7
295329
- updated to new  CPU sources 2.4.3
295329
- Resolves:rhbz#1018680
295329
295329
* Mon Oct 14 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.3.0.fel7
295329
- updated to latest CPU sources 2.4.3
295329
- Resolves:rhbz#1018680
295329
295329
* Mon Oct 14 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.12.fel7
295329
- jdk splitted to headless and rest
295329
- Resolves:rhbz#875408
295329
295329
* Fri Oct 04 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.11.fel7
295329
- another tapset fix 
295329
- Resolves:rhbz#875408
295329
295329
* Fri Oct 04 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.10.fel7
295329
- abrt changed to soft dependece
295329
- Resolves:rhbz#875408
295329
295329
* Thu Oct 03 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.9.el7
295329
- renamed tapset source to be "versioned"
295329
- improved agent placement
295329
- Resolves:rhbz#875408
295329
295329
* Wed Oct 02 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.8.el7
295329
- updated tapset to current head (825824)
295329
- Resolves:rhbz#875408
295329
295329
* Tue Oct 01 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.7.el7
295329
- fixed incorrect  _jvmdir/jre-javaver_origin to  _jvmdir/jre-javaver-origin link
295329
- Resolves:rhbz#875408
295329
295329
* Tue Oct 01 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.6.el7
295329
- syncing with f20 - abrt connector
295329
- Resolves:rhbz#875408
295329
295329
* Tue Oct 01 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.40-2.4.2.3.el7
295329
- syncing with f19/rhel-6.5
295329
- Resolves:rhbz#875408
295329
295329
295329
* Wed Aug 07 2013 Deepak Bhole <dbhole@redhat.com> - 1.7.0.25-2.3.12.3.el7
295329
- Removed obsoletes for java-1.6.0-openjdk*
295329
295329
* Fri Jul 26 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.12.2.el7
295329
- refreshed icedtea7-forest 2.3.12
295329
- fix broken jre_exports alternatives links (thanx to orion bug #979128)
295329
295329
* Thu Jul 25 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.11.0.el7
295329
- added new alternatives jre-1.7.0-openjdk and java-1.7.0-openjdk 
295329
- finally merged arm and main source tarballs
295329
- updated to icedtea 2.3.11
295329
 - http://blog.fuseyism.com/index.php/2013/07/25/icedtea-2-3-11-released/
295329
- added removal of new jre-1.7.0-openjdk and java-1.7.0-openjdk alternatives
295329
- removed patch 400, rhino for 2.1 and other 2.1 conditional stuff
295329
- removed patch 103 arm-fixes.patch
295329
- removed "dir" from files which was duplicating jre in sdk
295329
295329
* Fri Jul 19 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.6.el7
295329
- jrelnk is now just lnk, everything is pointing through jredir
295329
295329
* Thu Jul 18 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.6.el7
295329
- minor cleaning
295329
- sdklnk removed, and substitued by  sdkdir
295329
295329
* Wed Jul 03 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.5.fel7
295329
- moved to xz compression of sources
295329
- updated 2.1 tarball
295329
295329
* Thu Jun 27 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.4.el7
295329
- Sync with upstream IcedTea7-forest 2.3.10 tag
295329
- Fixes regressions as introduced with 1.7.0.25-2.3.10.3.el6:
295329
  rhbz#978005, rhbz#977979, rhbz#976693, IcedTeaBZ#1487.
295329
- all patch commands repalced by patch macro
295329
  - updated java-1.7.0-openjdk-ppc-zero-hotspot.patch to pass without loose patching
295329
295329
* Wed Jun 19 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.3.el7
295329
- update of IcedTea7-forest 2.3.10 tarball
295329
- removed patch1000 MBeanFix.patch to fix regressions caused by security patches
295329
295329
295329
* Thu Jun 13 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.2.el7
295329
- added patch1000 MBeanFix.patch to fix regressions caused by security patches
295329
295329
* Thu Jun 13 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.3.10.1.el7
295329
- arm tarball updated to 2.1.9
295329
- build bumped to 25
295329
295329
* Wed Jun 12 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.19-2.3.10.0.el7
295329
- fixed RH972717 by enabling patch110 java-1.7.0-openjdk-nss-icedtea-e9c857dcb964.patch
295329
- temporarly swithced to intree lcms as it have security fixes (patch 500)
295329
 - added  GENSRCDIR="$PWD/generated.build" to be able to
295329
 - removed (build)requires  lcms2(-devel)
295329
- Updated to latest IcedTea7-forest 2.3.10
295329
295329
* Wed Jun 05 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.19-2.3.9.14.fc19
295329
- Added client/server directories so they can be owned
295329
- Renamed patch 107 to 200
295329
- Added nss support from 6.5
295329
- Added fix for RH857717, owned /etc/.java/ and /etc/.java/.systemPrefs
295329
- Removed ant-nodeps, should not be needed
295329
295329
* Tue May 28 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.19-2.3.9.13.el7
295329
- javadoc put into fully versioned directory, but without arch (to be kept noarch)
295329
 - uniquejavadocdir
295329
- updated to latest 2.3.9 tarball - fixing the rhbz#967436
295329
295329
* Mon May 27 2013 Omair Majid <omajid@redhat.com> - 1.7.0.19-2.3.9.12.el7
295329
- Allowed multiple OpenJDKs to be installed in parallel
295329
- Removed archname
295329
- Added arch to all, not only multilib arches
295329
- uniquesuffix is now holding fully versioned name
295329
- Intorduced source11 remove-buildids.sh
295329
295329
* Fri May 17 2013 Omair Majid <omajid@redhat.com> - 1.7.0.19-2.3.9.12.el7
295329
- Replace %%{name} with %%{uniquesuffix} where it's used as a unique suffix.
295329
295329
* Thu May 16 2013 Jiri Vanek <jvanek@redhat.com>
295329
- added variable arm_arches as restriction to some cases of not jit_arches
295329
295329
* Tue May 14 2013 Jiri Vanek <jvanek@redhat.com>
295329
- patch402 gstackbounds.patch applied only to jit arches
295329
- patch403 PStack-808293.patch likewise
295329
295329
* Mon May 13 2013 Jiri Vanek <jvanek@redhat.com>
295329
- initial, not buildable, sync with f19