# If debug is 1, OpenJDK is built with all debug info present. %global debug 0 %global icedtea_version 2.6.7 %global hg_tag icedtea-{icedtea_version} %global accessmajorver 1.23 %global accessminorver 0 %global accessver %{accessmajorver}.%{accessminorver} %global accessurl http://ftp.gnome.org/pub/GNOME/sources/java-access-bridge/ %global aarch64 aarch64 arm64 armv8 #sometimes we need to distinguish big and little endian PPC64 %global ppc64le ppc64le %global ppc64be ppc64 ppc64p7 %global multilib_arches %{power64} sparc64 x86_64 %global jit_arches %{ix86} x86_64 sparcv9 sparc64 %{ppc64be} %{ppc64le} %{aarch64} # With diabled nss is NSS deactivated, so in NSS_LIBDIR can be wrong path # the initialisation must be here. LAter the pkg-connfig have bugy behaviour #looks liekopenjdk RPM specific bug # Always set this so the nss.cfg file is not broken %global NSS_LIBDIR %(pkg-config --variable=libdir nss) %ifarch x86_64 %global archbuild amd64 %global archinstall amd64 %endif %ifarch ppc %global archbuild ppc %global archinstall ppc %global archdef PPC %endif %ifarch %{ppc64be} %global archbuild ppc64 %global archinstall ppc64 %global archdef PPC %endif %ifarch %{ppc64le} %global archbuild ppc64le %global archinstall ppc64le %global archdef PPC64 %endif %ifarch %{ix86} %global archbuild i586 %global archinstall i386 %endif %ifarch ia64 %global archbuild ia64 %global archinstall ia64 %endif %ifarch s390 %global archbuild s390 %global archinstall s390 %global archdef S390 %endif %ifarch s390x %global archbuild s390x %global archinstall s390x %global archdef S390 %endif %ifarch %{arm} %global archbuild arm %global archinstall arm %global archdef ARM %endif %ifarch %{aarch64} %global archbuild aarch64 %global archinstall aarch64 %global archdef AARCH64 %endif # 32 bit sparc, optimized for v9 %ifarch sparcv9 %global archbuild sparc %global archinstall sparc %endif # 64 bit sparc %ifarch sparc64 %global archbuild sparcv9 %global archinstall sparcv9 %endif %ifnarch %{jit_arches} %global archbuild %{_arch} %global archinstall %{_arch} %endif %if %{debug} %global debugbuild debug_build %else %global debugbuild %{nil} %endif %if %{debug} %global buildoutputdir openjdk/build/linux-%{archbuild}-debug %else %global buildoutputdir openjdk/build/linux-%{archbuild} %endif %ifnarch %{ppc64le} #%global with_pulseaudio 1 %else #%global with_pulseaudio 0 %endif #rhel5 do not have pulse audio %global with_pulseaudio 0 %ifarch %{jit_arches} %global with_systemtap 1 %else %global with_systemtap 0 %endif # Convert an absolute path to a relative path. Each symbolic link is # specified relative to the directory in which it is installed so that # it will resolve properly within chrooted installations. %global script 'use File::Spec; print File::Spec->abs2rel($ARGV[0], $ARGV[1])' %global abs2rel %{__perl} -e %{script} # Hard-code libdir on 64-bit architectures to make the 64-bit JDK # simply be another alternative. %global LIBDIR %{_libdir} #backuped original one %ifarch %{multilib_arches} %global syslibdir %{_prefix}/lib64 %global _libdir %{_prefix}/lib %global archname %{name}.%{_arch} %else %global syslibdir %{_libdir} %global archname %{name} %endif # Standard JPackage naming and versioning defines. %global origin openjdk %global updatever 111 %global buildver 01 # Keep priority on 6digits in case updatever>9 %global priority 170%{updatever} %global javaver 1.7.0 # Standard JPackage directories and symbolic links. # Make 64-bit JDKs just another alternative on 64-bit architectures. %ifarch %{multilib_arches} %global sdklnk java-%{javaver}-%{origin}.%{_arch} %global jrelnk jre-%{javaver}-%{origin}.%{_arch} %global sdkdir %{name}-%{version}.%{_arch} %else %global sdklnk java-%{javaver}-%{origin} %global jrelnk jre-%{javaver}-%{origin} %global sdkdir %{name}-%{version} %endif %global jredir %{sdkdir}/jre %global sdkbindir %{_jvmdir}/%{sdklnk}/bin %global jrebindir %{_jvmdir}/%{jrelnk}/bin %ifarch %{multilib_arches} %global jvmjardir %{_jvmjardir}/%{name}-%{version}.%{_arch} %else %global jvmjardir %{_jvmjardir}/%{name}-%{version} %endif # The suffix for file names when we have to make them unique (from # other Java packages). %global uniquesuffix %{name} %ifarch %{jit_arches} # Where to install systemtap tapset (links) # We would like these to be in a package specific subdir, # but currently systemtap doesn't support that, so we have to # use the root tapset dir for now. To distinquish between 64 # and 32 bit architectures we place the tapsets under the arch # specific dir (note that systemtap will only pickup the tapset # for the primary arch for now). Systemtap uses the machine name # aka build_cpu as architecture specific directory name. %global tapsetroot /usr/share/systemtap %ifarch %{ix86} %global tapsetdir %{tapsetroot}/tapset/i386 %else %global tapsetdir %{tapsetroot}/tapset/%{_build_cpu} %endif %endif # Prevent brp-java-repack-jars from being run. %global __jar_repack 0 Name: java-%{javaver}-%{origin} Version: %{javaver}.%{updatever} Release: %{icedtea_version}.1%{?dist} # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons, # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a # situation where in-the-wild java-1.5.0-ibm packages provided "java = # 1:1.5.0". In RPM terms, "1.6.0 < 1:1.5.0" since 1.6.0 is # interpreted as 0:1.6.0. So the "java >= 1.6.0" requirement would be # satisfied by the 1:1.5.0 packages. Thus we need to set the epoch in # JDK package >= 1.6.0 to 1, and packages referring to JDK virtual # provides >= 1.6.0 must specify the epoch, "java >= 1:1.6.0". Epoch: 1 Summary: OpenJDK Runtime Environment Group: Development/Languages # Only necessary for RHEL5, will be ignored in everythink else I hope BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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 URL: http://openjdk.java.net/ # Source from upstream IcedTea 2.x project. To regenerate, use # VERSION=icedtea-${icedtea_version} FILE_NAME_ROOT=openjdk-${VERSION} # REPO_ROOT=<path to checked-out repository> COMPRESSION=gz generate_source_tarball.sh Source0: openjdk-icedtea-%{icedtea_version}.tar.gz # Gnome access bridge # Download-able from accessurl, md5 hash supported Source1: %{accessurl}%{accessmajorver}/java-access-bridge-%{accessver}.tar.bz2 # README file # This source is under maintainer's/java-team's control Source2: README.src # Sources 6-12 are taken from hg clone http://icedtea.classpath.org/hg/icedtea7 # Unless said differently, there is directory with required sources which should be enough to pack/rename # Class rewrite to rewrite rhino hierarchy Source5: class-rewriter.tar.gz # Systemtap tapsets. Zipped up to keep it small. # last update from http://icedtea.classpath.org/hg/icedtea7/file/fe313abbf5af/tapset Source6: systemtap-tapset-2016-07-20.tar.gz # .desktop files. Zipped up to keep it small. Source7: desktop-files.tar.gz # nss configuration file Source8: nss.cfg # FIXME: Taken from IcedTea snapshot 877ad5f00f69, but needs to be moved out # hg clone -r 877ad5f00f69 http://icedtea.classpath.org/hg/icedtea7 Source9: pulseaudio.tar.gz # Removed libraries that we link instead Source10: remove-intree-libraries.sh #rhel5 specific generation of certificates instead of ca-certificates dependece Source11: generate-cacerts.pl #http://icedtea.classpath.org/hg/icedtea7/file/933d082ec889/fsg.sh # file to clean tarball, should be ketp updated as possible Source1111: fsg.sh # Ensure we aren't using the limited crypto policy Source12: TestCryptoLevel.java # RPM/distribution specific patches # Allow TCK to pass with access bridge wired in Patch1: java-1.7.0-openjdk-java-access-bridge-tck.patch # Disable access to access-bridge packages by untrusted apps Patch3: java-1.7.0-openjdk-java-access-bridge-security.patch # Ignore AWTError when assistive technologies are loaded Patch4: java-1.7.0-openjdk-accessible-toolkit.patch # Build docs even in debug Patch5: java-1.7.0-openjdk-debugdocs.patch # Add debuginfo where missing Patch6: %{name}-debuginfo.patch # # OpenJDK specific patches # # Add rhino support Patch100: rhino.patch Patch106: %{name}-freetype-check-fix.patch # # Optional component packages # # Make the ALSA based mixer the default when building with the pulseaudio based # mixer Patch300: pulse-soundproperties.patch # Make the curves reported by Java's SSL implementation match those of NSS Patch400: rh1022017.patch # SystemTap support #Workaround RH804632 Patch303: java-1.7.0-openjdk-jstack.patch # Temporary patches # Patches for b00->b01 # S7081817: test/sun/security/provider/certpath/X509CertPath/IllegalCertiticates.java failing Patch501: 7081817.patch # S8140344: add support for 3 digit update release numbers Patch502: 8140344.patch # S8145017: Add support for 3 digit hotspot minor version numbers Patch503: 8145017.patch # S8162344: The API changes made by CR 7064075 need to be reverted Patch504: 8162344.patch # End of tmp patches BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: alsa-lib-devel BuildRequires: cups-devel BuildRequires: desktop-file-utils BuildRequires: giflib-devel #BuildRequires: lcms2-devel # No LCMS2 in RHEL6 BuildRequires: libX11-devel BuildRequires: libXi-devel BuildRequires: libXp-devel BuildRequires: libXt-devel BuildRequires: libXtst-devel BuildRequires: libXcomposite-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: wget BuildRequires: xorg-x11-proto-devel BuildRequires: ant17 BuildRequires: ant17-nodeps BuildRequires: libXinerama-devel BuildRequires: rhino BuildRequires: redhat-lsb BuildRequires: zip BuildRequires: fontconfig BuildRequires: xorg-x11-fonts-Type1 BuildRequires: zlib > 1.2.3-6 BuildRequires: java7-devel BuildRequires: fontconfig # Java Access Bridge for GNOME build requirements. BuildRequires: at-spi-devel BuildRequires: gawk BuildRequires: libbonobo-devel BuildRequires: pkgconfig >= 0.9.0 BuildRequires: xorg-x11-utils # Requirements for setting up the nss.cfg BuildRequires: nss-devel # Required for NIO2 BuildRequires: libattr-devel # Required for native proxy support BuildRequires: GConf2-devel # Required for smartcard support BuildRequires: pcsc-lite-devel # PulseAudio build requirements. %if %{with_pulseaudio} BuildRequires: pulseaudio-libs-devel >= 0.9.11 %endif # Zero-assembler build requirement. %ifnarch %{jit_arches} #are we ever going to building zero for rhel5? BuildRequires: libffi-devel >= 3.0.10 %endif #rhel5 buildsys do not like i686 ExclusiveArch: x86_64 i386 # cacerts build requirement. BuildRequires: openssl %ifarch %{jit_arches} #systemtap build requirement. BuildRequires: systemtap-sdt-devel %endif #Requires: lcms2 # No LCMS2 on RHEL6 Requires: libjpeg = 6b Requires: openssl Requires: fontconfig Requires: xorg-x11-fonts-Type1 # Require jpackage-utils for ant. Requires: jpackage-utils >= 1.7.3-1jpp.2 # Require zoneinfo data provided by tzdata-java subpackage. Requires: tzdata-java # nss provider requirements Requires: nss%{?_isa} # Post requires alternatives to install tool alternatives. Requires(post): %{_sbindir}/alternatives # Postun requires alternatives to uninstall tool alternatives. Requires(postun): %{_sbindir}/alternatives # Standard JPackage base provides. Provides: jre7-%{javaver}-%{origin} = %{epoch}:%{version}-%{release} Provides: jre7-%{origin} = %{epoch}:%{version}-%{release} Provides: jre7-%{javaver} = %{epoch}:%{version}-%{release} Provides: java7-%{javaver} = %{epoch}:%{version}-%{release} Provides: jre7 = %{javaver} Provides: java7-%{origin} = %{epoch}:%{version}-%{release} Provides: java7 = %{epoch}:%{javaver} # Standard JPackage extensions provides. Provides: jndi7 = %{epoch}:%{version} Provides: jndi7-ldap = %{epoch}:%{version} Provides: jndi7-cos = %{epoch}:%{version} Provides: jndi7-rmi = %{epoch}:%{version} Provides: jndi7-dns = %{epoch}:%{version} Provides: jaas7 = %{epoch}:%{version} Provides: jsse7 = %{epoch}:%{version} Provides: jce7 = %{epoch}:%{version} Provides: jdbc7-stdext = 4.1 Provides: java7-sasl = %{epoch}:%{version} Provides: java7-fonts = %{epoch}:%{version} %description The OpenJDK runtime environment. %package devel Summary: OpenJDK Development Environment Group: Development/Tools # Require base package. Requires: %{name} = %{epoch}:%{version}-%{release} # Post requires alternatives to install tool alternatives. Requires(post): %{_sbindir}/alternatives # Postun requires alternatives to uninstall tool alternatives. Requires(postun): %{_sbindir}/alternatives # Standard JPackage devel provides. Provides: java7-sdk-%{javaver}-%{origin} = %{epoch}:%{version} Provides: java7-sdk-%{javaver} = %{epoch}:%{version} Provides: java7-sdk-%{origin} = %{epoch}:%{version} Provides: java7-sdk = %{epoch}:%{javaver} Provides: java7-%{javaver}-devel = %{epoch}:%{version} Provides: java7-devel-%{origin} = %{epoch}:%{version} Provides: java7-devel = %{epoch}:%{javaver} %description devel The OpenJDK development tools. %package demo Summary: OpenJDK Demos Group: Development/Languages Requires: %{name} = %{epoch}:%{version}-%{release} %description demo The OpenJDK demos. %package src Summary: OpenJDK Source Bundle Group: Development/Languages Requires: %{name} = %{epoch}:%{version}-%{release} %description src The OpenJDK source bundle. %package javadoc Summary: OpenJDK API Documentation Group: Documentation Requires: jpackage-utils # Post requires alternatives to install javadoc alternative. Requires(post): %{_sbindir}/alternatives # Postun requires alternatives to uninstall javadoc alternative. Requires(postun): %{_sbindir}/alternatives # Standard JPackage javadoc provides. Provides: java7-javadoc = %{epoch}:%{version}-%{release} Provides: java7-%{javaver}-javadoc = %{epoch}:%{version}-%{release} %description javadoc The OpenJDK API documentation. %prep %setup -q -c -n %{name} %setup -q -n %{name} -T -D -a 1 # https://bugzilla.redhat.com/show_bug.cgi?id=1189084 prioritylength=`expr length %{priority}` if [ $prioritylength -ne 6 ] ; then echo "priority must be 6 digits in total, violated" exit 14 fi cp %{SOURCE2} . # OpenJDK patches %patch100 # pulseaudio support %if %{with_pulseaudio} %patch300 %endif # ECC fix %patch400 # Temporary patches %patch501 %patch502 %patch503 %patch504 # End of temporary fixes # Add systemtap patches if enabled %if %{with_systemtap} %endif # Remove libraries that are linked sh %{SOURCE10} # Extract the rewriter (to rewrite rhino classes) tar xzf %{SOURCE5} # Extract systemtap tapsets %if %{with_systemtap} tar xf %{SOURCE6} %patch303 for file in tapset/*.in; do OUTPUT_FILE=`echo $file | sed -e s:%{javaver}\.stp\.in$:%{version}-%{release}.stp:g` sed -e s:@ABS_SERVER_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/server/libjvm.so:g $file > $file.1 # FIXME this should really be %if %{has_client_jvm} %ifarch %{ix86} sed -e s:@ABS_CLIENT_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/jre/lib/%{archinstall}/client/libjvm.so:g $file.1 > $OUTPUT_FILE %else sed -e '/@ABS_CLIENT_LIBJVM_SO@/d' $file.1 > $OUTPUT_FILE %endif sed -i -e s:@ABS_JAVA_HOME_DIR@:%{_jvmdir}/%{sdkdir}:g $OUTPUT_FILE sed -i -e s:@INSTALL_ARCH_DIR@:%{archinstall}:g $OUTPUT_FILE done %endif # Pulseaudio %if %{with_pulseaudio} tar xzf %{SOURCE9} %endif # Extract desktop files tar xzf %{SOURCE7} %patch3 %patch4 %if %{debug} %patch5 %patch6 %endif %patch106 %build # How many cpu's do we have? export NUM_PROC=`/usr/bin/getconf _NPROCESSORS_ONLN 2> /dev/null || :` export NUM_PROC=${NUM_PROC:-1} # Build IcedTea and OpenJDK. %ifarch s390x sparc64 alpha %{power64} %{aarch64} export ARCH_DATA_MODEL=64 %endif %ifarch alpha export CFLAGS="$CFLAGS -mieee" %endif #no fstack-protectors-strong in rhel 5.11 export CFLAGS="$CFLAGS" # Build the re-written rhino jar mkdir -p rhino/{old,new} # Compile the rewriter (cd rewriter javac com/redhat/rewriter/ClassRewriter.java ) # Extract rhino.jar contents and rewrite (cd rhino/old jar xf /usr/share/java/rhino.jar ) java -cp rewriter com.redhat.rewriter.ClassRewriter \ $PWD/rhino/old \ $PWD/rhino/new \ org.mozilla \ sun.org.mozilla (cd rhino/old for file in `find -type f -not -name '*.class'` ; do new_file=../new/`echo $file | sed -e 's#org#sun/org#'` mkdir -pv `dirname $new_file` cp -v $file $new_file sed -ie 's#org\.mozilla#sun.org.mozilla#g' $new_file done ) (cd rhino/new jar cfm ../rhino.jar META-INF/MANIFEST.MF sun ) export JDK_TO_BUILD_WITH=/usr/lib/jvm/java-openjdk pushd openjdk >& /dev/null export ALT_BOOTDIR="$JDK_TO_BUILD_WITH" # Save old umask as jdk_generic_profile overwrites it oldumask=`umask` # Set generic profile %ifnarch %{jit_arches} export ZERO_BUILD=true %endif # Set to any value to override autodetection export LCMS_CFLAGS="disabled" export LCMS_LIBS="disabled" export SCTP_LIBS="disabled" source jdk/make/jdk_generic_profile.sh # Restore old umask umask $oldumask # RHEL 5 doesn't have LCMS 2. export SYSTEM_LCMS=false # RHEL 5's libsctp is too old export SYSTEM_SCTP=false make \ DISABLE_INTREE_EC=true \ UNLIMITED_CRYPTO=true \ ANT="/usr/bin/ant" \ DISTRO_NAME="Red Hat Enterprise Linux" \ DISTRO_PACKAGE_VERSION="rhel-%{release}-%{_arch} u%{updatever}-b%{buildver}" \ JDK_UPDATE_VERSION=`printf "%02d" %{updatever}` \ JDK_BUILD_NUMBER=b`printf "%02d" %{buildver}` \ JRE_RELEASE_VERSION=%{javaver}_`printf "%02d" %{updatever}`-b`printf "%02d" %{buildver}` \ %ifarch %{aarch64} HOTSPOT_BUILD_VERSION="aarch64_%{aarch64_rev}" \ %endif MILESTONE="fcs" \ ALT_PARALLEL_COMPILE_JOBS="$NUM_PROC" \ HOTSPOT_BUILD_JOBS="$NUM_PROC" \ STATIC_CXX="false" \ RHINO_JAR="$PWD/../rhino/rhino.jar" \ GENSRCDIR="$PWD/generated.build" \ FT2_CFLAGS="`pkg-config --cflags freetype2` " \ FT2_LIBS="`pkg-config --libs freetype2` " \ DEBUG_CLASSFILES="true" \ DEBUG_BINARIES="true" \ STRIP_POLICY="no_strip" \ JAVAC_WARNINGS_FATAL="false" \ INSTALL_LOCATION=%{_jvmdir}/%{sdkdir} \ %{debugbuild} popd >& /dev/null # JARs that are updated (jar uf) during the build end up with # the wrong permissions due to PR1437 / RH1207129 # Once 2.6.7 is in place, we can require this and remove these lines if [ -e $(pwd)/%{buildoutputdir}/j2sdk-image/lib/sa-jdi.jar ]; then chmod 644 $(pwd)/%{buildoutputdir}/j2sdk-image/lib/sa-jdi.jar; fi chmod 644 $(pwd)/%{buildoutputdir}/j2sdk-image/jre/lib/resources.jar #rhel5 specific - Build cacerts file. export KEYTOOL=$(pwd)/%{buildoutputdir}/j2sdk-image/bin/keytool pushd %{buildoutputdir}/j2sdk-image/jre/lib/security rm -f cacerts %{__perl} %{SOURCE11} $KEYTOOL \ %{_sysconfdir}/pki/tls/certs/ca-bundle.crt popd export JAVA_HOME=$(pwd)/%{buildoutputdir}/j2sdk-image # Install nss.cfg right away as we will be using the JRE above cp -a %{SOURCE8} $JAVA_HOME/jre/lib/security/ sed -i -e s:@NSS_LIBDIR@:%{NSS_LIBDIR}:g $JAVA_HOME/jre/lib/security/nss.cfg # Build pulseaudio and install it to JDK build location %if %{with_pulseaudio} pushd pulseaudio make JAVA_HOME=$JAVA_HOME -f Makefile.pulseaudio cp -pPRf build/native/libpulse-java.so $JAVA_HOME/jre/lib/%{archinstall}/ cp -pPRf build/pulse-java.jar $JAVA_HOME/jre/lib/ext/ popd %endif # Build Java Access Bridge for GNOME. pushd java-access-bridge-%{accessver} patch -l -p1 < %{PATCH1} OLD_PATH=$PATH export PATH=$JAVA_HOME/bin:$OLD_PATH ./configure make export PATH=$OLD_PATH cp -a bridge/accessibility.properties $JAVA_HOME/jre/lib chmod 644 gnome-java-bridge.jar cp -a gnome-java-bridge.jar $JAVA_HOME/jre/lib/ext popd # Copy tz.properties echo "sun.zoneinfo.dir=/usr/share/javazi" >> $JAVA_HOME/jre/lib/tz.properties #remove all fontconfig files. This change should be usptreamed soon rm -f %{buildoutputdir}/j2re-image/lib/fontconfig*.properties.src rm -f %{buildoutputdir}/j2re-image/lib/fontconfig*.bfc rm -f %{buildoutputdir}/j2sdk-image/jre/lib/fontconfig*.properties.src rm -f %{buildoutputdir}/j2sdk-image/jre/lib/fontconfig*.bfc rm -f %{buildoutputdir}/lib/fontconfig*.properties.src rm -f %{buildoutputdir}/lib/fontconfig*.bfc # Check unlimited policy has been used $JAVA_HOME/bin/javac -d . %{SOURCE12} $JAVA_HOME/bin/java TestCryptoLevel %install rm -rf $RPM_BUILD_ROOT STRIP_KEEP_SYMTAB=libjvm* pushd %{buildoutputdir}/j2sdk-image # Install main files. install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir} cp -a bin include lib src.zip $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir} install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} cp -a jre/bin jre/lib $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} cp -a ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir} %ifarch %{jit_arches} # Install systemtap support files. install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset cp -a $RPM_BUILD_DIR/%{uniquesuffix}/tapset/*.stp $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset/ install -d -m 755 $RPM_BUILD_ROOT%{tapsetdir} pushd $RPM_BUILD_ROOT%{tapsetdir} RELATIVE=$(%{abs2rel} %{_jvmdir}/%{sdkdir}/tapset %{tapsetdir}) ln -sf $RELATIVE/*.stp . popd %endif # Install extension symlinks. install -d -m 755 $RPM_BUILD_ROOT%{jvmjardir} pushd $RPM_BUILD_ROOT%{jvmjardir} RELATIVE=$(%{abs2rel} %{_jvmdir}/%{jredir}/lib %{jvmjardir}) ln -sf $RELATIVE/jsse.jar jsse-%{version}.jar ln -sf $RELATIVE/jce.jar jce-%{version}.jar ln -sf $RELATIVE/rt.jar jndi-%{version}.jar ln -sf $RELATIVE/rt.jar jndi-ldap-%{version}.jar ln -sf $RELATIVE/rt.jar jndi-cos-%{version}.jar ln -sf $RELATIVE/rt.jar jndi-rmi-%{version}.jar ln -sf $RELATIVE/rt.jar jaas-%{version}.jar ln -sf $RELATIVE/rt.jar jdbc-stdext-%{version}.jar ln -sf jdbc-stdext-%{version}.jar jdbc-stdext-3.0.jar ln -sf $RELATIVE/rt.jar sasl-%{version}.jar for jar in *-%{version}.jar do if [ x%{version} != x%{javaver} ] then ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|-%{javaver}.jar|g") fi ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|.jar|g") done popd # Install JCE policy symlinks. install -d -m 755 $RPM_BUILD_ROOT%{_jvmprivdir}/%{archname}/jce/vanilla # Install versionless symlinks. pushd $RPM_BUILD_ROOT%{_jvmdir} ln -sf %{jredir} %{jrelnk} ln -sf %{sdkdir} %{sdklnk} popd pushd $RPM_BUILD_ROOT%{_jvmjardir} ln -sf %{sdkdir} %{jrelnk} ln -sf %{sdkdir} %{sdklnk} popd # Remove javaws man page rm -f man/man1/javaws* # Install man pages. install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1 for manpage in man/man1/* do # Convert man pages to UTF8 encoding. iconv -f ISO_8859-1 -t UTF8 $manpage -o $manpage.tmp mv -f $manpage.tmp $manpage install -m 644 -p $manpage $RPM_BUILD_ROOT%{_mandir}/man1/$(basename \ $manpage .1)-%{uniquesuffix}.1 done # Install demos and samples. cp -a demo $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir} mkdir -p sample/rmi mv bin/java-rmi.cgi sample/rmi cp -a sample $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir} popd # Install Javadoc documentation. install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir} cp -a %{buildoutputdir}/docs $RPM_BUILD_ROOT%{_javadocdir}/%{name} # Install icons and menu entries. for s in 16 24 32 48 ; do install -D -p -m 644 \ openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/java-%{javaver}.png done # Install desktop files. install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps} for e in jconsole policytool ; do desktop-file-install --vendor=%{name} --mode=644 \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications $e.desktop done # Find JRE directories. find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type d \ | grep -v jre/lib/security \ | sed 's|'$RPM_BUILD_ROOT'|%dir |' \ > %{name}.files # Find JRE files. find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type f -o -type l \ | grep -v jre/lib/security \ | sed 's|'$RPM_BUILD_ROOT'||' \ >> %{name}.files # Find demo directories. find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \ $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample -type d \ | sed 's|'$RPM_BUILD_ROOT'|%dir |' \ > %{name}-demo.files # FIXME: remove SONAME entries from demo DSOs. See # https://bugzilla.redhat.com/show_bug.cgi?id=436497 # Find non-documentation demo files. find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \ $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \ -type f -o -type l | sort \ | grep -v README \ | sed 's|'$RPM_BUILD_ROOT'||' \ >> %{name}-demo.files # Find documentation demo files. find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \ $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \ -type f -o -type l | sort \ | grep README \ | sed 's|'$RPM_BUILD_ROOT'||' \ | sed 's|^|%doc |' \ >> %{name}-demo.files # FIXME: identical binaries are copied, not linked. This needs to be # fixed upstream. %post %ifarch %{jit_arches} # MetaspaceShared::generate_vtable_methods not implemented for PPC JIT %ifnarch %{power64} #see https://bugzilla.redhat.com/show_bug.cgi?id=513605 %{jrebindir}/java -Xshare:dump >/dev/null 2>/dev/null %endif %endif ext=.gz alternatives \ --install %{_bindir}/java java %{jrebindir}/java %{priority} \ --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ --slave %{_jvmjardir}/jre jre_exports %{_jvmjardir}/%{jrelnk} \ --slave %{_bindir}/keytool keytool %{jrebindir}/keytool \ --slave %{_bindir}/orbd orbd %{jrebindir}/orbd \ --slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \ --slave %{_bindir}/rmid rmid %{jrebindir}/rmid \ --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \ --slave %{_bindir}/servertool servertool %{jrebindir}/servertool \ --slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \ --slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \ --slave %{_mandir}/man1/java.1$ext java.1$ext \ %{_mandir}/man1/java-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \ %{_mandir}/man1/keytool-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/orbd.1$ext orbd.1$ext \ %{_mandir}/man1/orbd-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \ %{_mandir}/man1/pack200-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \ %{_mandir}/man1/rmid-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \ %{_mandir}/man1/rmiregistry-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/servertool.1$ext servertool.1$ext \ %{_mandir}/man1/servertool-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/tnameserv.1$ext tnameserv.1$ext \ %{_mandir}/man1/tnameserv-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \ %{_mandir}/man1/unpack200-%{uniquesuffix}.1$ext alternatives \ --install %{_jvmdir}/jre-%{origin} \ jre_%{origin} %{_jvmdir}/%{jrelnk} %{priority} \ --slave %{_jvmjardir}/jre-%{origin} \ jre_%{origin}_exports %{_jvmjardir}/%{jrelnk} alternatives \ --install %{_jvmdir}/jre-%{javaver} \ jre_%{javaver} %{_jvmdir}/%{jrelnk} %{priority} \ --slave %{_jvmjardir}/jre-%{javaver} \ jre_%{javaver}_exports %{_jvmjardir}/%{jrelnk} update-desktop-database %{_datadir}/applications &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ] ; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor fi exit 0 %postun if [ $1 -eq 0 ] then alternatives --remove java %{jrebindir}/java alternatives --remove jre_%{origin} %{_jvmdir}/%{jrelnk} alternatives --remove jre_%{javaver} %{_jvmdir}/%{jrelnk} fi update-desktop-database %{_datadir}/applications &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ] ; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor fi exit 0 %post devel ext=.gz alternatives \ --install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \ --slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \ --slave %{_jvmjardir}/java java_sdk_exports %{_jvmjardir}/%{sdklnk} \ --slave %{_bindir}/appletviewer appletviewer %{sdkbindir}/appletviewer \ --slave %{_bindir}/apt apt %{sdkbindir}/apt \ --slave %{_bindir}/extcheck extcheck %{sdkbindir}/extcheck \ --slave %{_bindir}/idlj idlj %{sdkbindir}/idlj \ --slave %{_bindir}/jar jar %{sdkbindir}/jar \ --slave %{_bindir}/jarsigner jarsigner %{sdkbindir}/jarsigner \ --slave %{_bindir}/javadoc javadoc %{sdkbindir}/javadoc \ --slave %{_bindir}/javah javah %{sdkbindir}/javah \ --slave %{_bindir}/javap javap %{sdkbindir}/javap \ --slave %{_bindir}/jcmd jcmd %{sdkbindir}/jcmd \ --slave %{_bindir}/jconsole jconsole %{sdkbindir}/jconsole \ --slave %{_bindir}/jdb jdb %{sdkbindir}/jdb \ --slave %{_bindir}/jhat jhat %{sdkbindir}/jhat \ --slave %{_bindir}/jinfo jinfo %{sdkbindir}/jinfo \ --slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \ --slave %{_bindir}/jps jps %{sdkbindir}/jps \ --slave %{_bindir}/jrunscript jrunscript %{sdkbindir}/jrunscript \ --slave %{_bindir}/jsadebugd jsadebugd %{sdkbindir}/jsadebugd \ --slave %{_bindir}/jstack jstack %{sdkbindir}/jstack \ --slave %{_bindir}/jstat jstat %{sdkbindir}/jstat \ --slave %{_bindir}/jstatd jstatd %{sdkbindir}/jstatd \ --slave %{_bindir}/native2ascii native2ascii %{sdkbindir}/native2ascii \ --slave %{_bindir}/policytool policytool %{sdkbindir}/policytool \ --slave %{_bindir}/rmic rmic %{sdkbindir}/rmic \ --slave %{_bindir}/schemagen schemagen %{sdkbindir}/schemagen \ --slave %{_bindir}/serialver serialver %{sdkbindir}/serialver \ --slave %{_bindir}/wsgen wsgen %{sdkbindir}/wsgen \ --slave %{_bindir}/wsimport wsimport %{sdkbindir}/wsimport \ --slave %{_bindir}/xjc xjc %{sdkbindir}/xjc \ --slave %{_mandir}/man1/appletviewer.1$ext appletviewer.1$ext \ %{_mandir}/man1/appletviewer-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/apt.1$ext apt.1$ext \ %{_mandir}/man1/apt-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/extcheck.1$ext extcheck.1$ext \ %{_mandir}/man1/extcheck-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jar.1$ext jar.1$ext \ %{_mandir}/man1/jar-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \ %{_mandir}/man1/jarsigner-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/javac.1$ext javac.1$ext \ %{_mandir}/man1/javac-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/javadoc.1$ext javadoc.1$ext \ %{_mandir}/man1/javadoc-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/javah.1$ext javah.1$ext \ %{_mandir}/man1/javah-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/javap.1$ext javap.1$ext \ %{_mandir}/man1/javap-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jconsole.1$ext jconsole.1$ext \ %{_mandir}/man1/jconsole-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jdb.1$ext jdb.1$ext \ %{_mandir}/man1/jdb-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jhat.1$ext jhat.1$ext \ %{_mandir}/man1/jhat-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jinfo.1$ext jinfo.1$ext \ %{_mandir}/man1/jinfo-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jmap.1$ext jmap.1$ext \ %{_mandir}/man1/jmap-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jps.1$ext jps.1$ext \ %{_mandir}/man1/jps-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jrunscript.1$ext jrunscript.1$ext \ %{_mandir}/man1/jrunscript-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jsadebugd.1$ext jsadebugd.1$ext \ %{_mandir}/man1/jsadebugd-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jstack.1$ext jstack.1$ext \ %{_mandir}/man1/jstack-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jstat.1$ext jstat.1$ext \ %{_mandir}/man1/jstat-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/jstatd.1$ext jstatd.1$ext \ %{_mandir}/man1/jstatd-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/native2ascii.1$ext native2ascii.1$ext \ %{_mandir}/man1/native2ascii-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/policytool.1$ext policytool.1$ext \ %{_mandir}/man1/policytool-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \ %{_mandir}/man1/rmic-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/schemagen.1$ext schemagen.1$ext \ %{_mandir}/man1/schemagen-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \ %{_mandir}/man1/serialver-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/wsgen.1$ext wsgen.1$ext \ %{_mandir}/man1/wsgen-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/wsimport.1$ext wsimport.1$ext \ %{_mandir}/man1/wsimport-%{uniquesuffix}.1$ext \ --slave %{_mandir}/man1/xjc.1$ext xjc.1$ext \ %{_mandir}/man1/xjc-%{uniquesuffix}.1$ext alternatives \ --install %{_jvmdir}/java-%{origin} \ java_sdk_%{origin} %{_jvmdir}/%{sdklnk} %{priority} \ --slave %{_jvmjardir}/java-%{origin} \ java_sdk_%{origin}_exports %{_jvmjardir}/%{sdklnk} alternatives \ --install %{_jvmdir}/java-%{javaver} \ java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} %{priority} \ --slave %{_jvmjardir}/java-%{javaver} \ java_sdk_%{javaver}_exports %{_jvmjardir}/%{sdklnk} exit 0 %postun devel if [ $1 -eq 0 ] then alternatives --remove javac %{sdkbindir}/javac alternatives --remove java_sdk_%{origin} %{_jvmdir}/%{sdklnk} alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} fi exit 0 %post javadoc alternatives \ --install %{_javadocdir}/java javadocdir %{_javadocdir}/%{name}/api \ %{priority} exit 0 %postun javadoc if [ $1 -eq 0 ] then alternatives --remove javadocdir %{_javadocdir}/%{name}/api fi exit 0 %files -f %{name}.files %defattr(-,root,root,-) %doc %{_jvmdir}/%{sdkdir}/ASSEMBLY_EXCEPTION %doc %{_jvmdir}/%{sdkdir}/LICENSE %doc %{_jvmdir}/%{sdkdir}/THIRD_PARTY_README %dir %{_jvmdir}/%{sdkdir} %{_jvmdir}/%{jrelnk} %{_jvmjardir}/%{jrelnk} %{_jvmprivdir}/* %{jvmjardir} %dir %{_jvmdir}/%{jredir}/lib/security %{_jvmdir}/%{jredir}/lib/security/cacerts %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/US_export_policy.jar %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/local_policy.jar %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security %config(noreplace) %{_jvmdir}/%{jredir}/lib/logging.properties %{_datadir}/icons/hicolor/*x*/apps/java-%{javaver}.png %{_mandir}/man1/java-%{uniquesuffix}.1* %{_mandir}/man1/keytool-%{uniquesuffix}.1* %{_mandir}/man1/orbd-%{uniquesuffix}.1* %{_mandir}/man1/pack200-%{uniquesuffix}.1* %{_mandir}/man1/rmid-%{uniquesuffix}.1* %{_mandir}/man1/rmiregistry-%{uniquesuffix}.1* %{_mandir}/man1/servertool-%{uniquesuffix}.1* %{_mandir}/man1/tnameserv-%{uniquesuffix}.1* %{_mandir}/man1/unpack200-%{uniquesuffix}.1* %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/nss.cfg %files devel %defattr(-,root,root,-) %doc %{_jvmdir}/%{sdkdir}/ASSEMBLY_EXCEPTION %doc %{_jvmdir}/%{sdkdir}/LICENSE %doc %{_jvmdir}/%{sdkdir}/THIRD_PARTY_README %dir %{_jvmdir}/%{sdkdir}/bin %dir %{_jvmdir}/%{sdkdir}/include %dir %{_jvmdir}/%{sdkdir}/lib %ifarch %{jit_arches} %dir %{_jvmdir}/%{sdkdir}/tapset %endif %{_jvmdir}/%{sdkdir}/bin/* %{_jvmdir}/%{sdkdir}/include/* %{_jvmdir}/%{sdkdir}/lib/* %ifarch %{jit_arches} %{_jvmdir}/%{sdkdir}/tapset/*.stp %endif %{_jvmdir}/%{sdklnk} %{_jvmjardir}/%{sdklnk} %{_datadir}/applications/*jconsole.desktop %{_datadir}/applications/*policytool.desktop %{_mandir}/man1/appletviewer-%{uniquesuffix}.1* %{_mandir}/man1/apt-%{uniquesuffix}.1* %{_mandir}/man1/extcheck-%{uniquesuffix}.1* %{_mandir}/man1/idlj-%{uniquesuffix}.1* %{_mandir}/man1/jar-%{uniquesuffix}.1* %{_mandir}/man1/jarsigner-%{uniquesuffix}.1* %{_mandir}/man1/javac-%{uniquesuffix}.1* %{_mandir}/man1/javadoc-%{uniquesuffix}.1* %{_mandir}/man1/javah-%{uniquesuffix}.1* %{_mandir}/man1/javap-%{uniquesuffix}.1* %{_mandir}/man1/jconsole-%{uniquesuffix}.1* %{_mandir}/man1/jcmd-%{uniquesuffix}.1* %{_mandir}/man1/jdb-%{uniquesuffix}.1* %{_mandir}/man1/jhat-%{uniquesuffix}.1* %{_mandir}/man1/jinfo-%{uniquesuffix}.1* %{_mandir}/man1/jmap-%{uniquesuffix}.1* %{_mandir}/man1/jps-%{uniquesuffix}.1* %{_mandir}/man1/jrunscript-%{uniquesuffix}.1* %{_mandir}/man1/jsadebugd-%{uniquesuffix}.1* %{_mandir}/man1/jstack-%{uniquesuffix}.1* %{_mandir}/man1/jstat-%{uniquesuffix}.1* %{_mandir}/man1/jstatd-%{uniquesuffix}.1* %{_mandir}/man1/native2ascii-%{uniquesuffix}.1* %{_mandir}/man1/policytool-%{uniquesuffix}.1* %{_mandir}/man1/rmic-%{uniquesuffix}.1* %{_mandir}/man1/schemagen-%{uniquesuffix}.1* %{_mandir}/man1/serialver-%{uniquesuffix}.1* %{_mandir}/man1/wsgen-%{uniquesuffix}.1* %{_mandir}/man1/wsimport-%{uniquesuffix}.1* %{_mandir}/man1/xjc-%{uniquesuffix}.1* %ifarch %{jit_arches} %{tapsetroot} %endif %files demo -f %{name}-demo.files %defattr(-,root,root,-) %doc %{_jvmdir}/%{sdkdir}/LICENSE %files src %defattr(-,root,root,-) %doc README.src %{_jvmdir}/%{sdkdir}/src.zip %files javadoc %defattr(-,root,root,-) %doc %{_javadocdir}/%{name} %doc %{buildoutputdir}/j2sdk-image/jre/LICENSE %changelog * Fri Jul 22 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.111-2.6.7.1 - Bump to jdk7u111 b01 to fix TCK regressions (7081817 & 8162344) - Resolves: rhbz#1350038 * Wed Jul 20 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.111-2.6.7.0 - Bump to 2.6.7 and u111b00. - Update SystemTap bundle with fix for PR3091/RH1204159 - Drop patches (S8161262 (8147466_wrapv) and PR2939 (fontpath)) applied upstream. - Reset permissions of resources.jar to avoid it only being readable by root (PR1437). - Resolves: rhbz#1350038 * Tue Apr 19 2016 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.101-2.6.6.1 - added Patch666 fontpath.patch to fix tck regressions - Resolves: rhbz#1325424 * Mon Apr 18 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.101-2.6.6.0 - Bump to 2.6.6 and u101b00. - Drop a leading zero from the priority as the update version is now three digits - Resolves: rhbz#1325424 * Thu Mar 24 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.99-2.6.5.0 - Explictly required libXcomposite-devel for PR2867 as nothing else pulls it in - Resolves: rhbz#1320655 * Thu Mar 24 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.99-2.6.5.0 - Bump to 2.6.5 and u99b00. - Correct check for fsg.sh in tarball creation script - Resolves: rhbz#1320655 * Tue Jan 19 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.95-2.6.4.1 - Bump release as previous version did build :-( - Resolves: rhbz#1295764 * Tue Jan 19 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.95-2.6.4.1 - Add additional -fno-strict-aliasing cases revealed by rpmdiff - Resolves: rhbz#1295764 * Tue Jan 19 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.95-2.6.4.0 - Remove unneeded build dependencies on jakarta-commons-logging and prelink/execstack - Resolves: rhbz#1295764 * Tue Jan 19 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.95-2.6.4.0 - Replace addition of -fno-strict-overflow to IndicRearrangementProcessor{,2}.cpp with -fwrapv - Resolves: rhbz#1295764 * Tue Jan 19 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.95-2.6.4.0 - Bump to 2.6.4 and u95b00. - Backport tarball creation script from OpenJDK 8 RPMs and update fsg.sh to work with it. - Drop 8072932or8074489 patch as applied upstream in u91b01. - Resolves: rhbz#1295764 * Tue Oct 20 2015 Jiri Vanek <jvanek@redhat.com> - 1:1.7.0.91-2.6.2.1 - added and applied patch500 8072932or8074489.patch to fix tck failure - Resolves: rhbz#1271918 * Mon Oct 19 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.91-2.6.2.0 - Drop patch for PR2521/RH1242587 now resolved upstream. - Resolves: rhbz#1271918 * Mon Oct 19 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.91-2.6.2.0 - Bump to 2.6.2 and u91b00. - Resolves: rhbz#1271918 * Mon Jul 13 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.3 - Check return value of gio_init in gsettings_init and return false if necessary. - Re-enable the use of system GConf. - Only ifdef g_type_init&g_free if USE_SYSTEM_GIO and USE_SYSTEM_GCONF are undefined. - Resolves: rhbz#1242587 * Sun Jul 12 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.2 - Turn off system GConf as library seems buggy on RHEL 5.11 - Resolves: rhbz#1235155 * Sat Jul 11 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.1 - Bump upstream tarball to u25b01 to fix issue with 8075374 backport. - Resolves: rhbz#1235155 * Thu Jul 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.0 - Remove upstream PR2503 fix. - Resolves: rhbz#1235155 * Thu Jul 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.0 - Update OpenJDK tarball so correct version is used. - Resolves: rhbz#1235155 * Thu Jul 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.85-2.6.1.0 - Bump to 2.6.1 and u85b00. - Resolves: rhbz#1235155 * Thu Jul 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.80-2.6.0.0 - The RHEL 5 version of libsctp is too old for the OpenJDK SCTP implementation. - Resolves: rhbz#1235155 * Thu Jul 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.80-2.6.0.0 - Backport PR2503 to allow build to proceed without GIO being present. - Resolves: rhbz#1235155 * Thu Jul 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.80-2.6.0.0 - Revert move to redhat-lsb-core as unavailable on RHEL 5.11. - Resolves: rhbz#1235155 * Wed Jul 08 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.80-2.6.0.0 - Remove libxslt and mercurial dependencies pulled in from IcedTea builds. - Reduce redhat-lsb dependency to redhat-lsb-core (lsb_release) - Resolves: rhbz#1235155 * Wed Jul 08 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.80-2.6.0.0 - Revert addition of LCMS removal as RHEL < 7 does not have LCMS 2. - Resolves: rhbz#1235155 * Wed Jul 08 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.80-2.6.0.0 - Bump to 2.6.0 and u80b32. - Drop upstreamed patches and separate AArch64 HotSpot. - Add dependencies on pcsc-lite-devel (PR2496) and lksctp-tools-devel (PR2446) - Add dependency on GConf2-devel (PR2320) - Only run -Xshare:dump on JIT archs other than power64 as port lacks support - Update remove-intree-libraries script to cover LCMS and PCSC headers and SunEC. - Resolves: rhbz#1235155 * Fri Apr 10 2015 Omair Majid <omajid@redhat.com> - 1:1.7.0.75-2.5.5.1 - Repacked sources - Resolves: rhbz#1209069 * Tue Apr 07 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.79-2.5.5.0 - Bump to 2.5.5 using OpenJDK 7u79 b14. - Resolves: rhbz#1209069 * Thu Jan 08 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.75-2.5.4.0 - Bump to 2.5.4 using OpenJDK 7u75 b13. - Fix elliptic curve list as part of fsg.sh - Resolves: rhbz#1180294 * Fri Oct 03 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.7.0.71-2.5.3.1 - Bump to 2.5.3 with security updates. - Remove obsolete patches which are now included upstream. - Disable LCMS via environment variables rather than maintaining a patch. - Resolves: rhbz#1148890 * Mon Jul 14 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.65-2.5.1.2 - added and applied fix for samrtcard io patch405, pr1864_smartcardIO.patch - Resolves: rhbz#1115873 * Mon Jul 07 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.65-2.5.1.1.el5 - updated to security patched icedtea7-forest 2.5.1 - Resolves: rhbz#1115873 * Wed Jul 02 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.60-2.5.0.1.el5 - update to icedtea7-forest 2.5.0 (rh1114937) - Resolves: rhbz#1115873 * Thu May 22 2014 Andrew Hughes <ahughes@redhat.com> - 1.7.0.55-2.4.7.2 - Backport deadlock fix from u60/2.5.0 - Resolves: rhbz#1096410 * Mon Apr 07 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.55-2.4.7.1.el5 - regenerated sources to fix TCK failure - Resolves: rhbz#1085001 * Mon Apr 07 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.55-2.4.7.0.el5 - bumped to future icedtea-forest 2.4.7 - updatever set to 55, buildver se to 13, release reset to 0 - removed BuildRequires on pulseaudio >= 0.9.1, devel is enough - removed Requires: rhino, BuildRequires is enough - updated patch400, java-1.7.0-openjdk-remove-gstabs.patch - added JRE_RELEASE_VERSION and ALT_PARALLEL_COMPILE_JOBS - ppc64 repalced by power64 macro - patch111 applied as dry-run (6.5 forward port) - Resolves: rhbz#1085001 * Tue Jan 28 2014 Deepak Bhole <dbhole@redhat.com> - 1.7.0.51-2.4.4.2.el5 - Resolves: rhbz#1058920 - Rebuild to use new cacert bundle * Fri Jan 10 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.4.1.el5 - updated to security icedtea 2.4.4 - icedtea_version set to 2.4.4 - updatever bumped to 51 - release reset to 1 - build requires: java-devel >= 1:1.6.0 changed java7-devel - Resolves: rhbz#1050193 * Wed Oct 16 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.45-2.4.3.1.el5 - Updated to icedtea 2.4.3 - Resolves: rhbz#1017625 * Tue Sep 10 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.45-2.4.3.0.el5 - fixed and updated tapset - removed bootstrap - source 11 redeclared to 1111 - added source12: TestCryptoLevel.java - removed upstreamed patch103 %{name}-arm-fixes.patch - removed unnecessary patch112 %{name}-doNotUseDisabledEcc.patch - added patch120: %{name}-freetype-check-fix.patch - fixed nss - cleaned sources - Resolves: rhbz#1017625 * Wed Jul 03 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.25-2.4.1.4.el5 - updated to icedtea 2.4.1 - improoved handling of patch111 - nss-config-2.patch - backported uniquesuffix from 6.5 - Resolves: rhbz#978421 * Wed Apr 10 2013 Jiri Vanek <jvanek@redhat.com - 1.7.0.9-2.3.8.1.el5 - Added latest Fedora spec changes and nss (disabled) support - Bumped release - Removed patch2 java-1.7.0-openjdk-java-access-bridge-idlj.patch (unapplied) - zlib in BuildReq restricted for 1.2.3-7 or higher - see https://bugzilla.redhat.com/show_bug.cgi?id=904231 - Removed a -icedtea tag from the version - package have less and less connections to icedtea7 - Added gcc-c++ build dependence. Sometimes caused troubles during rpm -bb - Added (Build)Requires for fontconfig and xorg-x11-fonts-Type1 - see https://bugzilla.redhat.com/show_bug.cgi?id=721033 for details - Removed all fonconfig files. Fonts are now handled differently in JDK and those files are redundant. This is going to be usptreamed. - see https://bugzilla.redhat.com/show_bug.cgi?id=902227 for details - logging.properties marked as config(noreplace) - see https://bugzilla.redhat.com/show_bug.cgi?id=679180 for details - nss.cfg was marked as config(noreplace) - Added and applied if enable_nss patch113: java-1.7.0-openjdk-aes-update_reset.patch - Added and applied if enable_nss patch114: java-1.7.0-openjdk-nss-tck.patch - Added and applied if enable_nss patch115: java-1.7.0-openjdk-nss-split_results.patch - Added and applied if enable_nss patch 116 - Patch116: rh905128-non_block_ciphers.patch - NSS disabled by default - enable_nss set to 0 - Added and applied if enable_nss patch109 - java-1.7.0-openjdk-nss-config-1.patch - Added and applied if enable_nss patch111 - java-1.7.0-openjdk-nss-config-2.patch - Added nss.cfg file - Resolves: rhbz#950378 * Mon Feb 18 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.9-2.4.0.pre4.3.el5 - Updated to icedtea 2.4.0.pre4, - Rewritten (again) patch3 java-1.7.0-openjdk-java-access-bridge-security.patch - Resolves: rhbz#911528 * Fri Feb 15 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.9-2.4.0.pre3.3.el6 - Updated to icedtea 2.4.0.pre3, updated! - Rewritten patch3 java-1.7.0-openjdk-java-access-bridge-security.patch - Resolves: rhbz#911528 * Fri Feb 15 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.9-2.4.0.pre2.3.el5 - Removed testing - mauve was outdated and - jtreg was icedtea relict - Updated to icedtea 2.4.0.pre2, updated? - Resolves: rhbz#911528 * Mon Jan 14 2013 Jiri Vanek <jvanek@redhat.com> - 1.7.0.11-2.4.0.el6.1 - Rewritten patch105: java-1.7.0-openjdk-disable-system-lcms.patch - Added jxmd and idlj to alternatives - make executed with DISABLE_INTREE_EC=true and UNLIMITED_CRYPTO=true - Unapplied patch302 and deleted systemtap.patch - buildver increased to 11 - icedtea_version set to 2.4.0 - Added and applied patch112 java-1.7.openjdk-doNotUseDisabledEcc.patch - Added /lib/security/US_export_policy.jar and lib/security/local_policy.jar - Resolves: rhbz#895032 * Mon Oct 15 2012 Jiri Vanek <jvanek@redhat.com> - 1.7.0.9-2.3.3.el5.1 - Changed permissions of sa-jdi.jar to correct 644 - Correctly removed noarch tag form javadoc, rhel5 donot support noarch subpackages - Resolves: rhbz#803732 * Thu Oct 11 2012 Deepak Bhole <dbhole@redhat.com> - 1.7.0.9-2.3.3.el5 - Updated to IcedTea7-OpenJDK 2.3.3 - Removed upstreamed java-1.7.0-openjdk-rhel5-gio.patch - Updated java-1.7.0-openjdk-java-access-bridge-security.patch - Updated java-1.7.0-openjdk-remove-gstabs.patch - Resolves rhbz#s 856124, 865346, 865348, 865350, 865352, 865354, 865357, 865359, 865363, 865365, 865370, 865428, 865471, 865434, 865511, 865514, 865519, 865531, 865541, 865568 * Wed Aug 1 2012 jiri Vanek <jvanek@redhat.com> - 1.7.0.5-2.2.1.6.el5 - Rewriten patch500, java-1.7.0-openjdk-rhel5-gio.patch - Resolves: rhbz#803732 * Wed Aug 1 2012 jiri Vanek <jvanek@redhat.com> - 1.7.0.5-2.2.1.5.el5 - Improved patch500, java-1.7.0-openjdk-rhel5-gio.patch - Resolves: rhbz#803732 * Mon Jul 30 2012 jiri Vanek <jvanek@redhat.com> - 1.7.0.5-2.2.1.4.el5 - Improved patch500, java-1.7.0-openjdk-rhel5-gio.patch - Resolves: rhbz#803732 * Mon Jul 30 2012 jiri Vanek <jvanek@redhat.com> - 1.7.0.5-2.2.1.3.el5 - Added patch499: java-1.7.0-openjdk-remove-gstabs.patch, fixing debuginfo package - Resolves: rhbz#803732 * Mon Jul 30 2012 jiri Vanek <jvanek@redhat.com> - 1.7.0.5-2.2.1.2.el5 - Added patch500, java-1.7.0-openjdk-rhel5-gio.patch, fixing gio searching - Resolves: rhbz#803732 * Thu Jul 26 2012 jiri Vanek <jvanek@redhat.com> - 1.7.0.5-2.2.1.1.el5 - ca-certificates replaced by in-package script - Re-added debuginfo package - Priority kept as 17xxx - Resolves: rhbz#803732 * Tue Jul 24 2012 jiri Vanek <jvanek@redhat.com> - 1.7.0.5-2.2.1.el5 - Initial import from rhel6 - Resolves: rhbz#803732