diff --git a/java-17-openjdk.spec b/java-17-openjdk.spec index 51cc79e..c37b05a 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 @@ -2492,6 +2496,9 @@ cjc.mainProgram(args) %endif %changelog +* Tue Jul 9 2024 Thomas Fitzsimmons - 1:17.0.12.0.6-0.1.ea +- Add debuginfo section to rpminspect.yaml (OPENJDK-2904) + * Mon Jul 8 2024 Thomas Fitzsimmons - 1:17.0.12.0.6-0.1.ea - Add upstream patch that removes illegal RLO Unicode characters (JDK-8332174) - Sync the copy of the portable specfile with the latest update 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