diff --git a/java-17-openjdk.spec b/java-17-openjdk.spec index 3eab2bb..9bc5fdb 100644 --- a/java-17-openjdk.spec +++ b/java-17-openjdk.spec @@ -59,6 +59,10 @@ # The -g flag says to use strip -g instead of full strip on DSOs or EXEs. # This fixes detailed NMT and other tools which need minimal debug info. # See: https://bugzilla.redhat.com/show_bug.cgi?id=1520879 +# To silence rpminspect's .symtab warnings due to this option, our +# rpminspect.yaml needs: +# debuginfo: +# debuginfo_sections: .debug_info .gdb_index %global _find_debuginfo_opts -g # With LTO flags enabled, debuginfo checks fail for some reason. Disable @@ -2549,6 +2553,7 @@ cjc.mainProgram(args) - Update fipsver to e893be00150 - Add upstream patch that removes illegal RLO Unicode characters (JDK-8332174) - Sync the copy of the portable specfile with the latest update +- Add debuginfo section to rpminspect.yaml (OPENJDK-2904) - Related: RHEL-52734 * Wed Jul 31 2024 Andrew Hughes - 1:17.0.11.0.9-2 diff --git a/rpminspect.yaml b/rpminspect.yaml index 8b4fa58..b70b781 100644 --- a/rpminspect.yaml +++ b/rpminspect.yaml @@ -1,3 +1,8 @@ --- inspections: javabytecode: off + +debuginfo: + # Prevent rpminspect from complaining about intentional + # "_find_debuginfo_opts -g" setting in spec file. + debuginfo_sections: .debug_info .gdb_index