From 8cd6f461c6a8895263c142e94a800f066c8aea2b Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Thu, 27 Aug 2015 14:45:41 +0200 Subject: [PATCH] updated aarch64 tarball to contain whole forest of latest jdk8-aarch64-jdk8u60-b24.2.tar.xz - using this forest instead of only hotspot - generate_source_tarball.sh - temporarily excluded repos="hotspot" compression of download - not only openjdk/hotspot is replaced, by wholeopenjdk - ln -s openjdk jdk8 done after replacing of openjdk - patches 9999 601 and 602 exclded for aarch64 --- generate_source_tarball.sh | 4 +++- java-1.8.0-openjdk.spec | 28 +++++++++++++++++++++++----- sources | 2 +- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/generate_source_tarball.sh b/generate_source_tarball.sh index 58b3188..8330365 100755 --- a/generate_source_tarball.sh +++ b/generate_source_tarball.sh @@ -50,7 +50,9 @@ pushd openjdk repos="corba hotspot jdk jaxws jaxp langtools nashorn" if [ aarch64-port = $PROJECT_NAME ] ; then -repos="hotspot" +#tmp disable because of jdk8-aarch64-jdk8u60-b24.2 +echo NOT +#repos="hotspot" fi; for subrepo in $repos diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index 7cc4151..b7f9913 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -661,7 +661,7 @@ Obsoletes: java-1.7.0-openjdk-accessibility%1 Name: java-%{javaver}-%{origin} Version: %{javaver}.%{updatever} -Release: 13.%{buildver}%{?dist} +Release: 14.%{buildver}%{?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 @@ -989,14 +989,17 @@ if [ $prioritylength -ne 7 ] ; then exit 14 fi # For old patches -ln -s openjdk jdk8 # Swap HotSpot for AArch64 port %ifarch %{aarch64} -pushd openjdk -rm -r hotspot +#pushd openjdk +#rm -r hotspot +# tmp - containing whole aarch64 forest +rm -r openjdk tar xf %{SOURCE1} -popd +#popd %endif +ln -s openjdk jdk8 + cp %{SOURCE2} . # replace outdated configure guess script @@ -1011,12 +1014,16 @@ cp %{SOURCE101} openjdk/common/autoconf/build-aux/ # Remove libraries that are linked sh %{SOURCE12} +#pure aarch64 forest does not have them +%ifnarch %{aarch64} # Add AArch64 support to configure & JDK build %patch9999 +%endif %patch201 %patch202 %patch203 + %ifnarch %{aarch64} %endif @@ -1045,8 +1052,11 @@ sh %{SOURCE12} %patch600 %endif +#pure aarch64 forest does not have them +%ifnarch %{aarch64} %patch601 %patch602 +%endif %patch504 %patch511 @@ -1734,6 +1744,14 @@ end %endif %changelog +* Thu Aug 27 2015 Jiri Vanek - 1:1.8.0.60-14.b24 +- updated aarch64 tarball to contain whole forest of latest jdk8-aarch64-jdk8u60-b24.2.tar.xz +- using this forest instead of only hotspot +- generate_source_tarball.sh - temporarily excluded repos="hotspot" compression of download +- not only openjdk/hotspot is replaced, by wholeopenjdk +- ln -s openjdk jdk8 done after replacing of openjdk +- patches 9999 601 and 602 exclded for aarch64 + * Wed Aug 26 2015 Jiri Vanek - 1:1.8.0.60-13.b24 - updated aarch64 hotpost to latest jdk8-aarch64-jdk8u60-b24.2.tar.xz diff --git a/sources b/sources index 906b52c..d502d0b 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ 94ca5a45c3cb3b85c4577d0891166007 systemtap-tapset.tar.gz -b7a02d707779bb05fcb65964befb414a jdk8-aarch64-jdk8u60-b24.2.tar.xz +58a0f9a606680947dc10c9140f1966da jdk8-aarch64-jdk8u60-b24.2.tar.xz 68efe6afc657ac8d066e0c4db1f16606 jdk8u60-jdk8u60-b27.tar.xz