From 4743f633be0395b2ec37b4c6d36a90cca3707418 Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Sat, 14 Sep 2024 14:35:16 -0400 Subject: [PATCH] Specify the java-runtime and java-runtime-headless version on debian packages (#1001) --- .../debian/src/main/packaging/dragonwell/11/debian/control | 4 ++-- .../jdk/debian/src/main/packaging/microsoft/11/debian/control | 4 ++-- .../jdk/debian/src/main/packaging/microsoft/17/debian/control | 4 ++-- .../jdk/debian/src/main/packaging/microsoft/21/debian/control | 4 ++-- linux/jdk/debian/src/main/packaging/temurin/11/debian/control | 4 ++-- linux/jdk/debian/src/main/packaging/temurin/17/debian/control | 4 ++-- linux/jdk/debian/src/main/packaging/temurin/19/debian/control | 4 ++-- linux/jdk/debian/src/main/packaging/temurin/20/debian/control | 4 ++-- linux/jdk/debian/src/main/packaging/temurin/21/debian/control | 4 ++-- linux/jdk/debian/src/main/packaging/temurin/22/debian/control | 4 ++-- linux/jdk/debian/src/main/packaging/temurin/8/debian/control | 4 ++-- linux/jre/debian/src/main/packaging/temurin/11/debian/control | 4 ++-- linux/jre/debian/src/main/packaging/temurin/17/debian/control | 4 ++-- linux/jre/debian/src/main/packaging/temurin/19/debian/control | 4 ++-- linux/jre/debian/src/main/packaging/temurin/20/debian/control | 4 ++-- linux/jre/debian/src/main/packaging/temurin/21/debian/control | 4 ++-- linux/jre/debian/src/main/packaging/temurin/22/debian/control | 4 ++-- linux/jre/debian/src/main/packaging/temurin/8/debian/control | 4 ++-- 18 files changed, 36 insertions(+), 36 deletions(-) diff --git a/linux/jdk/debian/src/main/packaging/dragonwell/11/debian/control b/linux/jdk/debian/src/main/packaging/dragonwell/11/debian/control index 3924c2757..d62b22740 100644 --- a/linux/jdk/debian/src/main/packaging/dragonwell/11/debian/control +++ b/linux/jdk/debian/src/main/packaging/dragonwell/11/debian/control @@ -39,8 +39,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 11), + java-runtime-headless (= 11), java10-runtime, java11-runtime, java2-runtime, diff --git a/linux/jdk/debian/src/main/packaging/microsoft/11/debian/control b/linux/jdk/debian/src/main/packaging/microsoft/11/debian/control index 5c32d2cbe..828063421 100644 --- a/linux/jdk/debian/src/main/packaging/microsoft/11/debian/control +++ b/linux/jdk/debian/src/main/packaging/microsoft/11/debian/control @@ -39,8 +39,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 11), + java-runtime-headless (= 11), java10-runtime, java11-runtime, java2-runtime, diff --git a/linux/jdk/debian/src/main/packaging/microsoft/17/debian/control b/linux/jdk/debian/src/main/packaging/microsoft/17/debian/control index eed268539..a4f6aaf0b 100644 --- a/linux/jdk/debian/src/main/packaging/microsoft/17/debian/control +++ b/linux/jdk/debian/src/main/packaging/microsoft/17/debian/control @@ -51,8 +51,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 17), + java-runtime-headless (= 17), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jdk/debian/src/main/packaging/microsoft/21/debian/control b/linux/jdk/debian/src/main/packaging/microsoft/21/debian/control index 4391e54fa..cf65f4ec4 100644 --- a/linux/jdk/debian/src/main/packaging/microsoft/21/debian/control +++ b/linux/jdk/debian/src/main/packaging/microsoft/21/debian/control @@ -59,8 +59,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 21), + java-runtime-headless (= 21), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jdk/debian/src/main/packaging/temurin/11/debian/control b/linux/jdk/debian/src/main/packaging/temurin/11/debian/control index 907efd05f..79a98c8df 100644 --- a/linux/jdk/debian/src/main/packaging/temurin/11/debian/control +++ b/linux/jdk/debian/src/main/packaging/temurin/11/debian/control @@ -39,8 +39,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 11), + java-runtime-headless (= 11), java10-runtime, java11-runtime, java2-runtime, diff --git a/linux/jdk/debian/src/main/packaging/temurin/17/debian/control b/linux/jdk/debian/src/main/packaging/temurin/17/debian/control index 8f07000cb..d19e99e8c 100644 --- a/linux/jdk/debian/src/main/packaging/temurin/17/debian/control +++ b/linux/jdk/debian/src/main/packaging/temurin/17/debian/control @@ -51,8 +51,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 17), + java-runtime-headless (= 17), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jdk/debian/src/main/packaging/temurin/19/debian/control b/linux/jdk/debian/src/main/packaging/temurin/19/debian/control index 34d5e9747..8dd45d72d 100644 --- a/linux/jdk/debian/src/main/packaging/temurin/19/debian/control +++ b/linux/jdk/debian/src/main/packaging/temurin/19/debian/control @@ -54,8 +54,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 19), + java-runtime-headless (= 19), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jdk/debian/src/main/packaging/temurin/20/debian/control b/linux/jdk/debian/src/main/packaging/temurin/20/debian/control index 3d3060f3f..6607357a0 100644 --- a/linux/jdk/debian/src/main/packaging/temurin/20/debian/control +++ b/linux/jdk/debian/src/main/packaging/temurin/20/debian/control @@ -55,8 +55,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 20), + java-runtime-headless (= 20), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jdk/debian/src/main/packaging/temurin/21/debian/control b/linux/jdk/debian/src/main/packaging/temurin/21/debian/control index 41e243608..d7b4f4f82 100644 --- a/linux/jdk/debian/src/main/packaging/temurin/21/debian/control +++ b/linux/jdk/debian/src/main/packaging/temurin/21/debian/control @@ -56,8 +56,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 21), + java-runtime-headless (= 21), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jdk/debian/src/main/packaging/temurin/22/debian/control b/linux/jdk/debian/src/main/packaging/temurin/22/debian/control index 0d7382652..8f402b115 100644 --- a/linux/jdk/debian/src/main/packaging/temurin/22/debian/control +++ b/linux/jdk/debian/src/main/packaging/temurin/22/debian/control @@ -57,8 +57,8 @@ Provides: java-compiler, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 22), + java-runtime-headless (= 22), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jdk/debian/src/main/packaging/temurin/8/debian/control b/linux/jdk/debian/src/main/packaging/temurin/8/debian/control index 9e67169d5..4076187ef 100644 --- a/linux/jdk/debian/src/main/packaging/temurin/8/debian/control +++ b/linux/jdk/debian/src/main/packaging/temurin/8/debian/control @@ -35,8 +35,8 @@ Provides: java-compiler, java6-sdk-headless, java7-sdk-headless, java8-sdk-headless, - java-runtime, - java-runtime-headless, + java-runtime (= 8), + java-runtime-headless (= 8), java2-runtime, java5-runtime, java6-runtime, diff --git a/linux/jre/debian/src/main/packaging/temurin/11/debian/control b/linux/jre/debian/src/main/packaging/temurin/11/debian/control index d838db462..d5af143b2 100644 --- a/linux/jre/debian/src/main/packaging/temurin/11/debian/control +++ b/linux/jre/debian/src/main/packaging/temurin/11/debian/control @@ -20,8 +20,8 @@ Depends: adoptium-ca-certificates, zlib1g Recommends: fonts-dejavu-core, fonts-dejavu-extra -Provides: java-runtime, - java-runtime-headless, +Provides: java-runtime (= 11), + java-runtime-headless (= 11), java10-runtime, java11-runtime, java2-runtime, diff --git a/linux/jre/debian/src/main/packaging/temurin/17/debian/control b/linux/jre/debian/src/main/packaging/temurin/17/debian/control index f1b61c25d..008bac497 100644 --- a/linux/jre/debian/src/main/packaging/temurin/17/debian/control +++ b/linux/jre/debian/src/main/packaging/temurin/17/debian/control @@ -20,8 +20,8 @@ Depends: adoptium-ca-certificates, zlib1g Recommends: fonts-dejavu-core, fonts-dejavu-extra -Provides: java-runtime, - java-runtime-headless, +Provides: java-runtime (= 17), + java-runtime-headless (= 17), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jre/debian/src/main/packaging/temurin/19/debian/control b/linux/jre/debian/src/main/packaging/temurin/19/debian/control index 12f35149a..b56cbc97d 100644 --- a/linux/jre/debian/src/main/packaging/temurin/19/debian/control +++ b/linux/jre/debian/src/main/packaging/temurin/19/debian/control @@ -20,8 +20,8 @@ Depends: adoptium-ca-certificates, zlib1g Recommends: fonts-dejavu-core, fonts-dejavu-extra -Provides: java-runtime, - java-runtime-headless, +Provides: java-runtime (= 19), + java-runtime-headless (= 19), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jre/debian/src/main/packaging/temurin/20/debian/control b/linux/jre/debian/src/main/packaging/temurin/20/debian/control index a67b92da5..d0606e516 100644 --- a/linux/jre/debian/src/main/packaging/temurin/20/debian/control +++ b/linux/jre/debian/src/main/packaging/temurin/20/debian/control @@ -20,8 +20,8 @@ Depends: adoptium-ca-certificates, zlib1g Recommends: fonts-dejavu-core, fonts-dejavu-extra -Provides: java-runtime, - java-runtime-headless, +Provides: java-runtime (= 20), + java-runtime-headless (= 20), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jre/debian/src/main/packaging/temurin/21/debian/control b/linux/jre/debian/src/main/packaging/temurin/21/debian/control index 10f3db93a..441b6f1d6 100644 --- a/linux/jre/debian/src/main/packaging/temurin/21/debian/control +++ b/linux/jre/debian/src/main/packaging/temurin/21/debian/control @@ -20,8 +20,8 @@ Depends: adoptium-ca-certificates, zlib1g Recommends: fonts-dejavu-core, fonts-dejavu-extra -Provides: java-runtime, - java-runtime-headless, +Provides: java-runtime (= 21), + java-runtime-headless (= 21), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jre/debian/src/main/packaging/temurin/22/debian/control b/linux/jre/debian/src/main/packaging/temurin/22/debian/control index 67e1d9392..176b99b98 100644 --- a/linux/jre/debian/src/main/packaging/temurin/22/debian/control +++ b/linux/jre/debian/src/main/packaging/temurin/22/debian/control @@ -20,8 +20,8 @@ Depends: adoptium-ca-certificates, zlib1g Recommends: fonts-dejavu-core, fonts-dejavu-extra -Provides: java-runtime, - java-runtime-headless, +Provides: java-runtime (= 22), + java-runtime-headless (= 22), java10-runtime, java11-runtime, java12-runtime, diff --git a/linux/jre/debian/src/main/packaging/temurin/8/debian/control b/linux/jre/debian/src/main/packaging/temurin/8/debian/control index 7cadcb135..4fe0f3f45 100644 --- a/linux/jre/debian/src/main/packaging/temurin/8/debian/control +++ b/linux/jre/debian/src/main/packaging/temurin/8/debian/control @@ -22,8 +22,8 @@ Depends: adoptium-ca-certificates, zlib1g Recommends: fonts-dejavu-core, fonts-dejavu-extra -Provides: java-runtime, - java-runtime-headless, +Provides: java-runtime (= 8), + java-runtime-headless (= 8), java2-runtime, java5-runtime, java6-runtime,