diff --git a/abi-dumper-perl-brace.patch b/abi-dumper-perl-brace.patch new file mode 100644 index 0000000..04d3c73 --- /dev/null +++ b/abi-dumper-perl-brace.patch @@ -0,0 +1,14 @@ +Unescaped left brace in regex is deprecated +https://bugzilla.redhat.com/show_bug.cgi?id=1685441 + +--- a/abi-dumper.pl ++++ b/abi-dumper.pl +@@ -3197,7 +3197,7 @@ sub formatName($$) + + if(defined $LambdaSupport) + { # struct {lambda()} +- $N=~s/(\w){/$1 {/g; ++ $N=~s/(\w)\{/$1 {/g; + } + + return ($Cache{"formatName"}{$_[1]}{$_[0]} = $N); diff --git a/abi-dumper.spec b/abi-dumper.spec index e88c3bd..42c19d8 100644 --- a/abi-dumper.spec +++ b/abi-dumper.spec @@ -1,12 +1,14 @@ Name: abi-dumper Version: 1.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Tool to dump ABI of an ELF object containing DWARF debug info License: GPLv2 URL: http://github.com/lvc/abi-dumper/ Source0: https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: abi-dumper-perl-brace.patch + BuildArch: noarch BuildRequires: coreutils @@ -70,6 +72,9 @@ mkdir -p %{buildroot}%{_mandir}/man1 %changelog +* Mon Mar 11 2019 Richard Shaw - 1.1-7 +- Fix un-escaped left brace, fixex BZ#1685441. + * Thu Jan 31 2019 Fedora Release Engineering - 1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild