Skip to content

Commit

Permalink
Bug 1983099: Update openjdk to version 1.8.0.152
Browse files Browse the repository at this point in the history
Change-Id: Iedcefa753ef0ddab5aeadb8ae0aa7b77dfa218b3
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4084
Reviewed-by: Anish Swaminathan <[email protected]>
Tested-by: Anish Swaminathan <[email protected]>
  • Loading branch information
harishspqr authored and suezzelur committed Oct 19, 2017
1 parent c75b8bd commit 8b05ad9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
31 changes: 31 additions & 0 deletions SPECS/openjdk8/generate_source_tarball.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
if [[ $# -eq 0 ]] ; then
echo 'Usage: generate_source_tarball.sh <Mercurial-Tag-Name> <openjdk version>'
echo 'Example: generate_source_tarball.sh jdk8u152-b16 1.8.0.152'
echo 'visit http://hg.openjdk.java.net/jdk8u/jdk8u/tags to use the appropriate tag name.'
exit 0
fi
rm -rf openjdk-$2
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u -u $1 openjdk-$2
cd openjdk-$2
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/corba/ -u $1
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/ -u $1
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/jaxp/ -u $1
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/jaxws/ -u $1
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/ -u $1
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/ -u $1
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/nashorn/ -u $1

rm -r .hg
rm -r corba/.hg
rm -r hotspot/.hg
rm -r jaxp/.hg
rm -r jaxws/.hg
rm -r jdk/.hg
rm -r langtools/.hg
rm -r nashorn/.hg
cd ..

tar -cvzf openjdk-$2.tar.gz openjdk-$2
chmod 644 openjdk-$2.tar.gz

echo 'source tarball openjdk-$2.tar.gz successfully created!'
10 changes: 6 additions & 4 deletions SPECS/openjdk8/openjdk8.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
%global security_hardening none
Summary: OpenJDK
Name: openjdk8
Version: 1.8.0.141
Release: 2%{?dist}
Version: 1.8.0.152
Release: 1%{?dist}
License: GNU GPL
URL: https://openjdk.java.net
Group: Development/Tools
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://www.java.net/download/openjdk/jdk8/promoted/b131/openjdk-%{version}.tar.gz
%define sha1 openjdk=e74417bc0bfcdb8f6b30a63bb26dbf35515ec562
%define sha1 openjdk=e07cd7e15cf17f0f47229fecd2098f3ee45abdc0
Patch0: Awt_build_headless_only.patch
Patch1: check-system-ca-certs.patch
Patch2: remove-cups.patch
Expand Down Expand Up @@ -64,7 +64,7 @@ Requires: %{name} = %{version}-%{release}
This package provides the runtime library class sources.

%prep -p exit
%setup -qn openjdk-1.8.0-141
%setup -qn %{name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
Expand Down Expand Up @@ -237,6 +237,8 @@ rm -rf %{buildroot}/*
%{_libdir}/jvm/OpenJDK-%{version}/src.zip

%changelog
* Thu Oct 19 2017 Harish Udaiya Kumar <[email protected]> 1.8.0.152-1
- Upgraded to version 1.8.0.152
* Thu Sep 14 2017 Harish Udaiya Kumar <[email protected]> 1.8.0.141-2
- added ldconfig in post actions.
* Fri Jul 21 2017 Harish Udaiya Kumar <[email protected]> 1.8.0.141-1
Expand Down

0 comments on commit 8b05ad9

Please sign in to comment.