From fbbdeb530059d94546e8b390629edfad7e1fadd4 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Wed, 4 Dec 2024 12:18:19 -0500 Subject: [PATCH] Do not overwrite slowdebug __provides_exclude_from and __requires_exclude_from regexps Resolves: RHEL-212352 --- java-21-openjdk.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index 0e52778..222d193 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -478,10 +478,9 @@ URL: http://openjdk.java.net/ %global __provides_exclude ^(%{_privatelibs})$ %global __requires_exclude ^(%{_privatelibs})$ # Never generate lib-style provides/requires for any debug packages -%global __provides_exclude_from ^.*/%{uniquesuffix -- %{debug_suffix_unquoted}}/.*$ -%global __requires_exclude_from ^.*/%{uniquesuffix -- %{debug_suffix_unquoted}}/.*$ -%global __provides_exclude_from ^.*/%{uniquesuffix -- %{fastdebug_suffix_unquoted}}/.*$ -%global __requires_exclude_from ^.*/%{uniquesuffix -- %{fastdebug_suffix_unquoted}}/.*$ +%global exclude_from_regexp ^.*/%{uniquesuffix -- %{debug_suffix_unquoted}}/.*$|^.*/%{uniquesuffix -- %{fastdebug_suffix_unquoted}}/.*$ +%global __provides_exclude_from %{exclude_from_regexp} +%global __requires_exclude_from %{exclude_from_regexp} %else # Don't generate provides/requires for JDK provided shared libraries at all. %global __provides_exclude ^(%{_privatelibs}|%{_publiclibs})$ @@ -2599,7 +2598,9 @@ require "copy_jdk_configs.lua" * Sat Jul 18 2026 Thomas Fitzsimmons - 1:21.0.11.0.10-1.2 - Disable abidiff inspection in rpminspect.yaml to avoid an out-of-memory error on the CentOS test farm - See: https://docs.testing-farm.io/Testing%20Farm/0.1/errors.html#TFE-1 +- Do not overwrite slowdebug __provides_exclude_from and __requires_exclude_from regexps - Resolves: RHEL-212350 +- Resolves: RHEL-212352 * Sat Apr 18 2026 Andrew Hughes - 1:21.0.11.0.10-1 - Update to jdk-21.0.11+10 (GA)