File tree Expand file tree Collapse file tree 6 files changed +23
-0
lines changed
rhel/src/main/packaging/temurin/26
suse/src/main/packaging/temurin/26
rhel/src/main/packaging/temurin
suse/src/main/packaging/temurin/26 Expand file tree Collapse file tree 6 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,10 @@ Provides: libjsig.so%{?_isa}
9494Source0: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK26U-jdk_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz
9595Source1: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK26U-jdk_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt
9696
97+ # Do Not Allow JDK & JRE to co-exist (Temurin 26+ Policy) - https://github.com/adoptium/installer/issues/1360
98+ Conflicts: temurin-26-jre
99+ Conflicts: temurin-26-jre-headless
100+
97101# Set the compression format to xz to be compatible with more Red Hat flavours. Newer versions of Fedora use zstd which
98102# is not available on CentOS 7, for example. https://github.com/rpm-software-management/rpm/blob/master/macros.in#L353
99103# lists the available options.
Original file line number Diff line number Diff line change @@ -94,6 +94,10 @@ Provides: libjsig.so%{?_isa}
9494Source0: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK26U-jdk_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz
9595Source1: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK26U-jdk_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt
9696
97+ # Do Not Allow JDK & JRE to co-exist (Temurin 26+ Policy) - https://github.com/adoptium/installer/issues/1360
98+ Conflicts: temurin-26-jre
99+ Conflicts: temurin-26-jre-headless
100+
97101# Avoid build failures on some distros due to missing build-id in binaries.
98102%global debug_package %{nil}
99103%global __brp_strip %{nil}
Original file line number Diff line number Diff line change @@ -114,6 +114,9 @@ Source1: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK21U-jre_%{vers_ar
114114%global debug_package %{nil}
115115%global __brp_strip %{nil}
116116
117+ # Surpress /usr/lib/.build-id entries in the installed RPM (jre/jre-headless only)
118+ %global _build_id_links none
119+
117120%description
118121Eclipse Temurin JRE is an OpenJDK-based runtime environment to execute
119122applications and components using the programming language Java.
Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ Source1: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK25U-jre_%{vers_ar
110110%global debug_package %{nil}
111111%global __brp_strip %{nil}
112112
113+ # Surpress /usr/lib/.build-id entries in the installed RPM (jre/jre-headless only)
114+ %global _build_id_links none
115+
113116%description
114117Eclipse Temurin JRE is an OpenJDK-based runtime environment to execute
115118applications and components using the programming language Java.
Original file line number Diff line number Diff line change 2626%if %{with headful}
2727Name: temurin-26-jre
2828%global altname java-26-temurin-jre
29+ # Prevent headful and headless JRE being installed together
30+ Conflicts: temurin-26-jre-headless
2931%else
3032Name: temurin-26-jre-headless
3133%global altname java-26-temurin-jre-headless
34+ # Prevent headful and headless JRE being installed together
35+ Conflicts: temurin-26-jre
3236%endif
37+ # Prevent JDK and any JRE variant being installed together
38+ Conflicts: temurin-26-jdk
3339
3440Version: %{spec_version}
3541Release: %{spec_release}
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ Provides: libjsig.so%{?_isa}
8585Source0: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK26U-jre_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz
8686Source1: %{source_url_base}/jdk-%{upstream_version_url}/OpenJDK26U-jre_%{vers_arch}_linux_hotspot_%{upstream_version_no_plus}.tar.gz.sha256.txt
8787
88+ # Do Not Allow JDK & JRE to co-exist (Temurin 26+ Policy) - https://github.com/adoptium/installer/issues/1360
89+ Conflicts: temurin-26-jdk
90+
8891# Avoid build failures on some distros due to missing build-id in binaries.
8992%global debug_package %{nil}
9093%global __brp_strip %{nil}
You can’t perform that action at this time.
0 commit comments