-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
April CPU - Change Spec Files etc to ship JDK22 s390x Patched Packages #887
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
temurin-22-jdk (22.0.1.1.0+1-1) STABLE; urgency=medium | ||
|
||
* Eclipse Temurin 22.0.1.1.0+1-1 release. | ||
|
||
-- Eclipse Adoptium Package Maintainers <[email protected]> Wed, 17 Apr 2024 00:00:00 +0000 | ||
|
||
temurin-22-jdk (22.0.1.0.0+8-1) STABLE; urgency=medium | ||
|
||
* Eclipse Temurin 22.0.1.0.0+8-1 release. | ||
|
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-22-jdk | ||
Architecture: amd64 arm64 ppc64el riscv64 | ||
Architecture: amd64 arm64 ppc64el s390x riscv64 | ||
Depends: adoptium-ca-certificates, | ||
java-common, | ||
libasound2, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
%global upstream_version 22.0.1+8 | ||
%global upstream_version 22.0.1.1+1 | ||
# Only [A-Za-z0-9.] allowed in version: | ||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_upstream_uses_invalid_characters_in_the_version | ||
# also not very intuitive: | ||
# $ rpmdev-vercmp 22.0.0.0.0___22.0.0.0.0+1 | ||
# 22.0.0.0.0___1 == 22.0.0.0.0+36 | ||
%global spec_version 22.0.1.0.0.8 | ||
%global spec_version 22.0.1.1.0.1 | ||
%global spec_release 1 | ||
%global priority 2200 | ||
|
||
|
@@ -20,6 +20,7 @@ | |
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
%global src_num 0 | ||
%global sha_src_num 1 | ||
|
@@ -28,6 +29,7 @@ | |
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
%global src_num 2 | ||
%global sha_src_num 3 | ||
|
@@ -36,14 +38,25 @@ | |
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
%global src_num 4 | ||
%global sha_src_num 5 | ||
%endif | ||
%ifarch s390x | ||
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are all those vers_archX enumerated for each arch? I would guess, that only There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See my previous comment :) , its currently impossible using this spec file , and the one jenkins job to actually publish a patch for a single architecture.. I agree this should be made entirely modular and architecture independent. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PR is serving as a documentation piece on what was needed to accomplish it, so that when its redesigned we can improve it significantly. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh I see. Sure. Sorry for curiosity! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, Im fairly new to all of this rpm packaging, I suspect you know more than I, so if you wouldn't mind helping out when we come to improve this functionality, all help/support will be greatly welcomed! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. Considering I will looking to the headless packgae and versionless provides, I think I should do deep dive into this. I will try to keep myself in loop proeprly. |
||
%global src_num 6 | ||
%global sha_src_num 7 | ||
%endif | ||
%ifarch riscv64 | ||
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
%global src_num 8 | ||
%global sha_src_num 9 | ||
|
@@ -68,8 +81,7 @@ Packager: Eclipse Adoptium Package Maintainers <[email protected]> | |
AutoReqProv: no | ||
Prefix: /usr/lib/jvm/%{name} | ||
|
||
ExclusiveArch: x86_64 ppc64le aarch64 riscv64 | ||
# ExclusiveArch: x86_64 ppc64le aarch64 s390x riscv64 | ||
ExclusiveArch: x86_64 ppc64le aarch64 s390x riscv64 | ||
|
||
BuildRequires: tar | ||
BuildRequires: wget | ||
|
@@ -108,17 +120,20 @@ Provides: java-sdk-22-%{java_provides} | |
Provides: java-sdk-%{java_provides} | ||
|
||
# First architecture (x86_64) | ||
Source0: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source1: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Second architecture (ppc64le) | ||
Source2: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch2}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source3: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch2}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
Source0: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source1: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Second architecture (ppc64le)%global vers_arch4 s390x | ||
Source2: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source3: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Third architecture (aarch64) | ||
Source4: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch3}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source5: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch3}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
Source4: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source5: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Fourth architecture (s390x) | ||
Source6: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source7: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Fifth architecture (riscv64) | ||
Source8: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source9: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
Source8: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source9: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_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 | ||
|
@@ -237,6 +252,8 @@ fi | |
/usr/lib/tmpfiles.d/%{name}.conf | ||
|
||
%changelog | ||
* Wed Apr 17 2024 Eclipse Adoptium Package Maintainers <[email protected]> 22.0.1.1.0.1-1 | ||
- Eclipse Temurin 22.0.1.1+1 release. | ||
* Wed Apr 17 2024 Eclipse Adoptium Package Maintainers <[email protected]> 22.0.1.0.0.8-1 | ||
- Eclipse Temurin 22.0.1+8 release. | ||
* Wed Mar 20 2024 Eclipse Adoptium Package Maintainers <[email protected]> 22.0.0.0.0.36-0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
%global upstream_version 22.0.1+8 | ||
%global upstream_version 22.0.1.1+1 | ||
# Only [A-Za-z0-9.] allowed in version: | ||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_upstream_uses_invalid_characters_in_the_version | ||
# also not very intuitive: | ||
# $ rpmdev-vercmp 22.0.0.0.0___22.0.0.0.0+1 | ||
# 22.0.0.0.0___1 == 22.0.0.0.0+36 | ||
%global spec_version 22.0.1.0.0.8 | ||
%global spec_version 22.0.1.1.0.1 | ||
%global spec_release 1 | ||
%global priority 2200 | ||
|
||
|
@@ -20,6 +20,7 @@ | |
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
%global src_num 0 | ||
%global sha_src_num 1 | ||
|
@@ -28,6 +29,7 @@ | |
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
%global src_num 2 | ||
%global sha_src_num 3 | ||
|
@@ -36,14 +38,25 @@ | |
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
%global src_num 4 | ||
%global sha_src_num 5 | ||
%endif | ||
%ifarch s390x | ||
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
%global src_num 6 | ||
%global sha_src_num 7 | ||
%endif | ||
%ifarch riscv64 | ||
%global vers_arch x64 | ||
%global vers_arch2 ppc64le | ||
%global vers_arch3 aarch64 | ||
%global vers_arch4 s390x | ||
%global vers_arch5 riscv64 | ||
%global src_num 8 | ||
%global sha_src_num 9 | ||
|
@@ -68,8 +81,7 @@ Packager: Eclipse Adoptium Package Maintainers <[email protected]> | |
AutoReqProv: no | ||
Prefix: %{_libdir}/jvm/%{name} | ||
|
||
ExclusiveArch: x86_64 ppc64le aarch64 riscv64 | ||
# ExclusiveArch: x86_64 ppc64le aarch64 s390x riscv64 | ||
ExclusiveArch: x86_64 ppc64le aarch64 s390x riscv64 | ||
|
||
BuildRequires: tar | ||
BuildRequires: wget | ||
|
@@ -108,17 +120,20 @@ Provides: java-sdk-22-%{java_provides} | |
Provides: java-sdk-%{java_provides} | ||
|
||
# First architecture (x86_64) | ||
Source0: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source1: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
Source0: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source1: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Second architecture (ppc64le) | ||
Source2: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch2}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source3: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch2}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
Source2: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source3: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Third architecture (aarch64) | ||
Source4: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch3}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source5: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch3}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
Source4: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source5: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Fourth architecture (s390x) | ||
Source6: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source7: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
# Fifth architecture (riscv64) | ||
Source8: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source9: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch5}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt | ||
Source8: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_linux_hotspot_%{upstream_version_no_plus}.tar.gz | ||
Source9: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK22U-jdk_%{vers_arch4}_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} | ||
|
@@ -227,6 +242,8 @@ fi | |
%{prefix} | ||
|
||
%changelog | ||
* Wed Apr 17 2024 Eclipse Adoptium Package Maintainers <[email protected]> 22.0.1.1.0.1-1 | ||
- Eclipse Temurin 22.0.1.1+1 release. | ||
* Wed Apr 17 2024 Eclipse Adoptium Package Maintainers <[email protected]> 22.0.1.0.0.8-1 | ||
- Eclipse Temurin 22.0.1+8 release. | ||
* Wed Mar 20 2024 Eclipse Adoptium Package Maintainers <[email protected]> 22.0.0.0.0.36-0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
temurin-22-jre (22.0.1.1.0+1-1) STABLE; urgency=medium | ||
|
||
* Eclipse Temurin 22.0.1.1.0+1-1 release. | ||
|
||
-- Eclipse Adoptium Package Maintainers <[email protected]> Wed, 17 Apr 2024 00:00:00 +0000 | ||
|
||
temurin-22-jre (22.0.1.0.0+8-1) STABLE; urgency=medium | ||
|
||
* Eclipse Temurin 22.0.1.0.0+8-1 release. | ||
|
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-22-jre | ||
Architecture: amd64 arm64 ppc64el riscv64 | ||
Architecture: amd64 arm64 ppc64el s390x riscv64 | ||
Depends: adoptium-ca-certificates, | ||
java-common, | ||
libasound2, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this related?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its a cludge/workaround to allow for the fact that the rpmbuild process builds ALL architectures regardless of which one is passed in. This is a temporary solution ( thus not to be merged ) to allow the publishing of the packages to be completed. The current plan is to try and make this process a little more consistent ahead of the next release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanx!