-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96eb54f
commit 2f22476
Showing
12 changed files
with
88 additions
and
16 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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ Maintainer: Eclipse Adoptium Package Maintainers <[email protected]> | |
Build-Depends: debhelper (>= 11), lsb-release | ||
|
||
Package: temurin-17-jdk | ||
Architecture: amd64 armhf arm64 ppc64el s390x | ||
Architecture: amd64 armhf arm64 ppc64el s390x riscv64 | ||
Depends: adoptium-ca-certificates, | ||
java-common, | ||
libasound2, | ||
|
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM fedora:40 | ||
FROM fedora:38 | ||
|
||
RUN dnf update -y && dnf install -y rpmdevtools \ | ||
rpm-sign \ | ||
|
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
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 |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 0 | ||
%global sha_src_num 1 | ||
%endif | ||
|
@@ -31,6 +32,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 2 | ||
%global sha_src_num 3 | ||
%endif | ||
|
@@ -40,6 +42,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 4 | ||
%global sha_src_num 5 | ||
%endif | ||
|
@@ -49,6 +52,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 6 | ||
%global sha_src_num 7 | ||
%endif | ||
|
@@ -58,9 +62,20 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 8 | ||
%global sha_src_num 9 | ||
%endif | ||
%ifarch %{riscv64} | ||
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 10 | ||
%global sha_src_num 11 | ||
%endif | ||
# Allow for noarch SRPM build | ||
%ifarch noarch | ||
%global src_num 0 | ||
|
@@ -81,7 +96,7 @@ Packager: Eclipse Adoptium Package Maintainers <[email protected]> | |
AutoReqProv: no | ||
Prefix: /usr/lib/jvm/%{name} | ||
|
||
ExclusiveArch: x86_64 ppc64le s390x aarch64 %{arm} | ||
ExclusiveArch: x86_64 ppc64le s390x aarch64 %{arm} riscv64 | ||
|
||
BuildRequires: tar | ||
BuildRequires: wget | ||
|
@@ -142,6 +157,9 @@ Source7: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_ar | |
# Fifth architecture (arm32) | ||
Source8: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source9: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Sixth architecture (riscv64) | ||
Source10: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_arch6}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source11: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_arch6}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
|
||
# Set the compression format to xz to be compatible with more Red Hat flavours. Newer versions of Fedora use zstd which | ||
# is not available on CentOS 7, for example. https://github.com/rpm-software-management/rpm/blob/master/macros.in#L353 | ||
|
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 |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 0 | ||
%global sha_src_num 1 | ||
%endif | ||
|
@@ -31,6 +32,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 2 | ||
%global sha_src_num 3 | ||
%endif | ||
|
@@ -40,6 +42,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 4 | ||
%global sha_src_num 5 | ||
%endif | ||
|
@@ -49,6 +52,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 6 | ||
%global sha_src_num 7 | ||
%endif | ||
|
@@ -58,9 +62,20 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 8 | ||
%global sha_src_num 9 | ||
%endif | ||
%ifarch riscv64 | ||
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 10 | ||
%global sha_src_num 11 | ||
%endif | ||
# Allow for noarch SRPM build | ||
%ifarch noarch | ||
%global src_num 0 | ||
|
@@ -81,7 +96,7 @@ Packager: Eclipse Adoptium Package Maintainers <[email protected]> | |
AutoReqProv: no | ||
Prefix: %{_libdir}/jvm/%{name} | ||
|
||
ExclusiveArch: x86_64 ppc64le s390x aarch64 %{arm} | ||
ExclusiveArch: x86_64 ppc64le s390x aarch64 %{arm} riscv64 | ||
|
||
BuildRequires: tar | ||
BuildRequires: wget | ||
|
@@ -142,6 +157,9 @@ Source7: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_ar | |
# Fifth architecture (arm32) | ||
Source8: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source9: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Sixth architecture (riscv64) | ||
Source10: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_arch6}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source11: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jdk_%{vers_arch6}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
|
||
# Avoid build failures on some distros due to missing build-id in binaries. | ||
%global debug_package %{nil} | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ Maintainer: Eclipse Adoptium Package Maintainers <[email protected]> | |
Build-Depends: debhelper (>= 11), lsb-release | ||
|
||
Package: temurin-17-jre | ||
Architecture: amd64 armhf arm64 ppc64el s390x | ||
Architecture: amd64 armhf arm64 ppc64el s390x riscv64 | ||
Depends: adoptium-ca-certificates, | ||
java-common, | ||
libasound2, | ||
|
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM fedora:40 | ||
FROM fedora:38 | ||
|
||
RUN dnf update -y && dnf install -y rpmdevtools \ | ||
rpm-sign \ | ||
|
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 |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 0 | ||
%global sha_src_num 1 | ||
%endif | ||
|
@@ -31,6 +32,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 2 | ||
%global sha_src_num 3 | ||
%endif | ||
|
@@ -40,6 +42,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 4 | ||
%global sha_src_num 5 | ||
%endif | ||
|
@@ -49,6 +52,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 6 | ||
%global sha_src_num 7 | ||
%endif | ||
|
@@ -58,9 +62,20 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 8 | ||
%global sha_src_num 9 | ||
%endif | ||
%ifarch riscv64 | ||
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 10 | ||
%global sha_src_num 11 | ||
%endif | ||
# Allow for noarch SRPM build | ||
%ifarch noarch | ||
%global src_num 0 | ||
|
@@ -81,7 +96,7 @@ Packager: Eclipse Adoptium Package Maintainers <[email protected]> | |
AutoReqProv: no | ||
Prefix: /usr/lib/jvm/%{name} | ||
|
||
ExclusiveArch: x86_64 ppc64le s390x aarch64 %{arm} | ||
ExclusiveArch: x86_64 ppc64le s390x aarch64 %{arm} riscv64 | ||
|
||
BuildRequires: tar | ||
BuildRequires: wget | ||
|
@@ -124,6 +139,9 @@ Source7: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_ar | |
# Fifth architecture (arm32) | ||
Source8: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source9: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Sixth architecture (riscv64) | ||
Source10: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_arch6}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source11: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_arch6}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
|
||
# Set the compression format to xz to be compatible with more Red Hat flavours. Newer versions of Fedora use zstd which | ||
# is not available on CentOS 7, for example. https://github.com/rpm-software-management/rpm/blob/master/macros.in#L353 | ||
|
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 |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 0 | ||
%global sha_src_num 1 | ||
%endif | ||
|
@@ -31,6 +32,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 2 | ||
%global sha_src_num 3 | ||
%endif | ||
|
@@ -40,6 +42,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 4 | ||
%global sha_src_num 5 | ||
%endif | ||
|
@@ -49,6 +52,7 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 6 | ||
%global sha_src_num 7 | ||
%endif | ||
|
@@ -58,9 +62,20 @@ | |
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 8 | ||
%global sha_src_num 9 | ||
%endif | ||
%ifarch riscv64 | ||
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 s390x | ||
%global vers_arch4 aarch64 | ||
%global vers_arch5 arm | ||
%global vers_arch6 riscv64 | ||
%global src_num 10 | ||
%global sha_src_num 11 | ||
%endif | ||
# Allow for noarch SRPM build | ||
%ifarch noarch | ||
%global src_num 0 | ||
|
@@ -81,7 +96,7 @@ Packager: Eclipse Adoptium Package Maintainers <[email protected]> | |
AutoReqProv: no | ||
Prefix: %{_libdir}/jvm/%{name} | ||
|
||
ExclusiveArch: x86_64 ppc64le s390x aarch64 %{arm} | ||
ExclusiveArch: x86_64 ppc64le s390x aarch64 %{arm} riscv64 | ||
|
||
BuildRequires: tar | ||
BuildRequires: wget | ||
|
@@ -124,6 +139,9 @@ Source7: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_ar | |
# Fifth architecture (arm32) | ||
Source8: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source9: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Sixth architecture (riscv64) | ||
Source10: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_arch6}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source11: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK17U-jre_%{vers_arch6}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
|
||
# Avoid build failures on some distros due to missing build-id in binaries. | ||
%global debug_package %{nil} | ||
|