diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index 4d9b890..396f826 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -21,6 +21,11 @@ # Enable release builds by default on relevant arches. %bcond_without release +# 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 +%global _find_debuginfo_opts -g + # note: parametrized macros are order-sensitive (unlike not-parametrized) even with normal macros # also necessary when passing it as parameter to other macros. If not macro, then it is considered a switch # see the difference between global and define: @@ -855,7 +860,7 @@ Provides: java-%{javaver}-%{origin}-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 7%{?dist} +Release: 8%{?dist} # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a @@ -1792,6 +1797,10 @@ require "copy_jdk_configs.lua" %changelog +* Wed Nov 28 2018 Severin Gehwolf - 1:11.0.1.13-8 +- Added %%global _find_debuginfo_opts -g +- Resolves: RHBZ#1520879 (Detailed NMT issue) + * Mon Nov 12 2018 Jiri Vanek - 1:11.0.1.13-6 - fixed tck failures of arraycopy and process exec with shenandoah on - added patch585 rh1648995-shenandoah_array_copy_broken_by_not_always_copy_forward_for_disjoint_arrays.patch