[SCM] java-package packaging branch, master, updated. f684d43bac01b725d2083529c50f91a84bb4124a
Emmanuel Bourg
ebourg at apache.org
Wed Jun 5 12:49:03 UTC 2013
The following commit has been merged in the master branch:
commit f684d43bac01b725d2083529c50f91a84bb4124a
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Jun 5 14:48:56 2013 +0200
Use the upstream versioning scheme (i.e 7u13 instead of 7.13) to match the convention used by the new openjdk packages
diff --git a/lib/oracle-jdk-doc.sh b/lib/oracle-jdk-doc.sh
index 1bcf07f..96634de 100644
--- a/lib/oracle-jdk-doc.sh
+++ b/lib/oracle-jdk-doc.sh
@@ -5,7 +5,7 @@ oracle_j2sdk_doc_detect() {
then
j2se_release=${BASH_REMATCH[1]}
j2se_update=${BASH_REMATCH[2]}
- j2se_version=$j2se_release.$j2se_update
+ j2se_version=${j2se_release}u${j2se_update}
case "$j2se_release" in
6) # JDK 6
diff --git a/lib/oracle-jdk.sh b/lib/oracle-jdk.sh
index 090c2cf..fecb296 100644
--- a/lib/oracle-jdk.sh
+++ b/lib/oracle-jdk.sh
@@ -7,7 +7,7 @@ oracle_j2sdk_detect() {
j2se_release=${BASH_REMATCH[1]}
j2se_update=${BASH_REMATCH[2]}
j2se_arch=${BASH_REMATCH[3]}
- j2se_version=$j2se_release.$j2se_update
+ j2se_version=${j2se_release}u${j2se_update}
j2se_priority=$((310 + $j2se_release))
j2se_expected_min_size=130 #Mb
diff --git a/lib/oracle-jre.sh b/lib/oracle-jre.sh
index db287cd..04c47e6 100644
--- a/lib/oracle-jre.sh
+++ b/lib/oracle-jre.sh
@@ -7,7 +7,7 @@ oracle_j2re_detect() {
j2se_release=${BASH_REMATCH[1]}
j2se_update=${BASH_REMATCH[2]}
j2se_arch=${BASH_REMATCH[3]}
- j2se_version=$j2se_release.$j2se_update
+ j2se_version=${j2se_release}u${j2se_update}
j2se_priority=$((310 + $j2se_release - 1))
j2se_expected_min_size=85 #Mb
--
java-package packaging
More information about the pkg-java-commits
mailing list