Hello community, here is the log from the commit of package abi-dumper for openSUSE:Factory checked in at 2019-07-11 13:14:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/abi-dumper (Old) and /work/SRC/openSUSE:Factory/.abi-dumper.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "abi-dumper" Thu Jul 11 13:14:52 2019 rev:3 rq:713295 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/abi-dumper/abi-dumper.changes 2017-09-05 15:16:05.357907265 +0200 +++ /work/SRC/openSUSE:Factory/.abi-dumper.new.4615/abi-dumper.changes 2019-07-11 13:15:13.298828441 +0200 @@ -1,0 +2,8 @@ +Wed Jul 3 14:27:05 UTC 2019 - Dan Čermák <dcer...@suse.com> + +- Add 0001-Fixed-license-to-LGPL-2.1.patch + Add 0002-Fixed-license-file.patch + Add 0003-Support-for-new-elfutils-Fedora-30.patch + fixes incorrect debuginfo extraction with new elfutils + +------------------------------------------------------------------- New: ---- 0001-Fixed-license-to-LGPL-2.1.patch 0002-Fixed-license-file.patch 0003-Support-for-new-elfutils-Fedora-30.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ abi-dumper.spec ++++++ --- /var/tmp/diff_new_pack.h3b8Lq/_old 2019-07-11 13:15:13.962828167 +0200 +++ /var/tmp/diff_new_pack.h3b8Lq/_new 2019-07-11 13:15:13.962828167 +0200 @@ -1,7 +1,7 @@ # # spec file for package abi-dumper # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,10 +20,21 @@ Version: 1.1 Release: 0 Summary: Tool to dump ABI of an ELF object containing DWARF debug info -License: GPL-2.0+ OR LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Tools/Other Url: https://github.com/lvc/abi-dumper -Source0: https://github.com/lvc/abi-dumper/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# FIXME: drop these patches on the next upstream release +# the first two patches fix the license and are required for the *actually* +# important patch (Patch2) to apply cleanly +# PATCH-FIX-UPSTREAM 0001-Fixed-license-to-LGPL-2.1.patch +Patch0: 0001-Fixed-license-to-LGPL-2.1.patch +# PATCH-FIX-UPSTREAM 0002-Fixed-license-file.patch +Patch1: 0002-Fixed-license-file.patch +# PATCH-FIX-UPSTREAM 0003-Support-for-new-elfutils-Fedora-30.patch +# This fixes incorrect debuginfo extraction with new elfutils +Patch2: 0003-Support-for-new-elfutils-Fedora-30.patch + BuildRequires: help2man Requires: binutils Requires: elfutils @@ -37,7 +48,7 @@ ABI changes of a C/C++ library or kernel module. %prep -%setup -q +%autosetup %build chmod 0755 %{name}.pl @@ -55,7 +66,8 @@ install -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1 %files -%doc README LICENSE GPL-2.0 LGPL-2.1 +%doc README +%license LICENSE %{_bindir}/%{name} %{_mandir}/man*/* ++++++ 0001-Fixed-license-to-LGPL-2.1.patch ++++++ ++++ 1502 lines (skipped) ++++++ 0002-Fixed-license-file.patch ++++++ >From 5c90769ff3d683790fad754a6a3757d46bd2e392 Mon Sep 17 00:00:00 2001 From: Andrey Ponomarenko <andrewponomare...@yandex.ru> Date: Sat, 24 Feb 2018 00:06:28 +0300 Subject: [PATCH 2/3] Fixed license file. --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 89ff95a..8000a6f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ - GNU LESSER GENERAL PUBLIC LICENSE + GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. -- 2.22.0 ++++++ 0003-Support-for-new-elfutils-Fedora-30.patch ++++++ >From 3d6dbb6d48d10579984fb7fda2e79d3d73e10f70 Mon Sep 17 00:00:00 2001 From: Andrey Ponomarenko <andrewponomare...@yandex.ru> Date: Wed, 3 Jul 2019 16:51:32 +0300 Subject: [PATCH 3/3] Support for new elfutils (Fedora 30) --- abi-dumper.pl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/abi-dumper.pl b/abi-dumper.pl index 9331117..2dfdd03 100644 --- a/abi-dumper.pl +++ b/abi-dumper.pl @@ -3,7 +3,7 @@ # ABI Dumper 1.1 # Dump ABI of an ELF object containing DWARF debug info # -# Copyright (C) 2013-2018 Andrey Ponomarenko's ABI Laboratory +# Copyright (C) 2013-2019 Andrey Ponomarenko's ABI Laboratory # # Written by Andrey Ponomarenko # @@ -93,7 +93,7 @@ my %ERROR_CODE = ( my $ShortUsage = "ABI Dumper $TOOL_VERSION Dump ABI of an ELF object containing DWARF debug info -Copyright (C) 2018 Andrey Ponomarenko's ABI Laboratory +Copyright (C) 2019 Andrey Ponomarenko's ABI Laboratory License: GNU LGPL 2.1 Usage: $CmdName [options] [object] @@ -4278,6 +4278,11 @@ sub setSource(@) if(defined $File) { + if(index($File, "(")!=-1) + { # Support for new elfutils (Fedora 30) + $File=~s/.+ \((\d+)\)/$1/; + } + my $Name = undef; if($ID>=0) { @@ -6506,7 +6511,7 @@ sub scenario() if($ShowVersion) { printMsg("INFO", "ABI Dumper $TOOL_VERSION"); - printMsg("INFO", "Copyright (C) 2018 Andrey Ponomarenko's ABI Laboratory"); + printMsg("INFO", "Copyright (C) 2019 Andrey Ponomarenko's ABI Laboratory"); printMsg("INFO", "License: GNU LGPL 2.1 <http://www.gnu.org/licenses/>"); printMsg("INFO", "This program is free software: you can redistribute it and/or modify it.\n"); printMsg("INFO", "Written by Andrey Ponomarenko."); -- 2.22.0