From 1172935e212f05f4b7f92e190de05448beed06b7 Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Mon, 28 Feb 2022 04:40:37 +0000 Subject: [PATCH] Add rpminspect.yaml to turn off Java bytecode inspections java-17-openjdk deliberately produces Java 17 bytecode, not the default Java 11 bytecode Resolves: rhbz#2023540 --- java-17-openjdk.spec | 7 ++++++- rpminspect.yaml | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 rpminspect.yaml diff --git a/java-17-openjdk.spec b/java-17-openjdk.spec index bbf46b3..e47b574 100644 --- a/java-17-openjdk.spec +++ b/java-17-openjdk.spec @@ -334,7 +334,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 8 -%global rpmrelease 11 +%global rpmrelease 12 # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -2545,6 +2545,11 @@ cjc.mainProgram(args) %endif %changelog +* Mon Feb 28 2022 Andrew Hughes - 1:17.0.2.0.8-12 +- Add rpminspect.yaml to turn off Java bytecode inspections +- java-17-openjdk deliberately produces Java 17 bytecode, not the default Java 11 bytecode +- Resolves: rhbz#2023540 + * Sun Feb 27 2022 Andrew Hughes - 1:17.0.2.0.8-11 - Introduce tests/tests.yml, based on the one in java-11-openjdk - Resolves: rhbz#2058490 diff --git a/rpminspect.yaml b/rpminspect.yaml new file mode 100644 index 0000000..8b4fa58 --- /dev/null +++ b/rpminspect.yaml @@ -0,0 +1,3 @@ +--- +inspections: + javabytecode: off