forked from vmware/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1983099: Update openjdk to version 1.8.0.152
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
1 parent
c75b8bd
commit 8b05ad9
Showing
2 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|