commit abi-dumper for openSUSE:Factory

2019-11-06 Thread root
Hello community,

here is the log from the commit of package abi-dumper for openSUSE:Factory 
checked in at 2019-11-06 13:50:44

Comparing /work/SRC/openSUSE:Factory/abi-dumper (Old)
 and  /work/SRC/openSUSE:Factory/.abi-dumper.new.2990 (New)


Package is "abi-dumper"

Wed Nov  6 13:50:44 2019 rev:4 rq:739383 version:1.1

Changes:

--- /work/SRC/openSUSE:Factory/abi-dumper/abi-dumper.changes2019-07-11 
13:15:13.298828441 +0200
+++ /work/SRC/openSUSE:Factory/.abi-dumper.new.2990/abi-dumper.changes  
2019-11-06 13:50:47.143810382 +0100
@@ -1,0 +2,5 @@
+Thu Oct 17 12:48:04 UTC 2019 - Richard Brown 
+
+- Remove obsolete Groups tag (fate#326485)
+
+---



Other differences:
--
++ abi-dumper.spec ++
--- /var/tmp/diff_new_pack.Vevnk4/_old  2019-11-06 13:50:49.415812845 +0100
+++ /var/tmp/diff_new_pack.Vevnk4/_new  2019-11-06 13:50:49.423812854 +0100
@@ -21,7 +21,6 @@
 Release:0
 Summary:Tool to dump ABI of an ELF object containing DWARF debug info
 License:LGPL-2.1-or-later
-Group:  Development/Tools/Other
 Url:https://github.com/lvc/abi-dumper
 Source0:%{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # FIXME: drop these patches on the next upstream release




commit abi-dumper for openSUSE:Factory

2019-07-11 Thread root
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.changes2017-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 
+
+- 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 
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 
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 Dump

commit abi-dumper for openSUSE:Factory

2017-09-05 Thread root
Hello community,

here is the log from the commit of package abi-dumper for openSUSE:Factory 
checked in at 2017-09-05 15:16:01

Comparing /work/SRC/openSUSE:Factory/abi-dumper (Old)
 and  /work/SRC/openSUSE:Factory/.abi-dumper.new (New)


Package is "abi-dumper"

Tue Sep  5 15:16:01 2017 rev:2 rq:520532 version:1.1

Changes:

--- /work/SRC/openSUSE:Factory/abi-dumper/abi-dumper.changes2017-07-08 
12:34:51.986501710 +0200
+++ /work/SRC/openSUSE:Factory/.abi-dumper.new/abi-dumper.changes   
2017-09-05 15:16:05.357907265 +0200
@@ -1,0 +2,11 @@
+Sun Sep  3 18:55:56 UTC 2017 - astie...@suse.com
+
+- update to 1.1:
+  * Support for compressing of ABI dumps before writing to drive
+from RAM
+  * Fix analysis of inline functions (WARNING: old dumps should be
+regenerated before comparing by ABICC)
+  * Deny analysis of static libraries
+  * Bumped ABI dump version
+
+---

Old:

  abi-dumper-1.0.tar.gz

New:

  abi-dumper-1.1.tar.gz



Other differences:
--
++ abi-dumper.spec ++
--- /var/tmp/diff_new_pack.2r2p6q/_old  2017-09-05 15:16:07.06954 +0200
+++ /var/tmp/diff_new_pack.2r2p6q/_new  2017-09-05 15:16:07.073666092 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   abi-dumper
-Version:1.0
+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+

++ abi-dumper-1.0.tar.gz -> abi-dumper-1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/abi-dumper-1.0/INSTALL new/abi-dumper-1.1/INSTALL
--- old/abi-dumper-1.0/INSTALL  2017-06-17 06:03:10.0 +0200
+++ new/abi-dumper-1.1/INSTALL  2017-08-30 07:17:09.0 +0200
@@ -6,8 +6,8 @@
 RELEASE INFORMATION
 
 Project:   ABI Dumper
-Version:   1.0
-Date:  June 17, 2017
+Version:   1.1
+Date:  August 30, 2017
 
 
 This file explains how to install and setup environment
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/abi-dumper-1.0/README new/abi-dumper-1.1/README
--- old/abi-dumper-1.0/README   2017-06-17 06:03:10.0 +0200
+++ new/abi-dumper-1.1/README   2017-08-30 07:17:09.0 +0200
@@ -1,4 +1,4 @@
-ABI Dumper 1.0
+ABI Dumper 1.1
 ==
 
 NAME:
@@ -41,7 +41,7 @@
   abi-compliance-checker -l libTest -old ABIv0.dump -new ABIv1.dump
 
 COMPATIBILITY:
-  ABI Compliance Checker >= 1.99.24 
(https://github.com/lvc/abi-compliance-checker)
+  ABI Compliance Checker >= 2.2 (https://github.com/lvc/abi-compliance-checker)
 
 ADV. USAGE:
   For advanced usage, see output of --help option.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/abi-dumper-1.0/abi-dumper.pl 
new/abi-dumper-1.1/abi-dumper.pl
--- old/abi-dumper-1.0/abi-dumper.pl2017-06-17 06:03:10.0 +0200
+++ new/abi-dumper-1.1/abi-dumper.pl2017-08-30 07:17:09.0 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 ###
-# ABI Dumper 1.0
+# ABI Dumper 1.1
 # Dump ABI of an ELF object containing DWARF debug info
 #
 # Copyright (C) 2013-2017 Andrey Ponomarenko's ABI Laboratory
@@ -22,7 +22,7 @@
 #
 # COMPATIBILITY
 # =
-#  ABI Compliance Checker >= 1.99.24
+#  ABI Compliance Checker >= 2.2
 #
 #
 # This program is free software: you can redistribute it and/or modify
@@ -46,8 +46,8 @@
 use Storable qw(dclone);
 use Data::Dumper;
 
-my $TOOL_VERSION = "1.0";
-my $ABI_DUMP_VERSION = "3.4";
+my $TOOL_VERSION = "1.1";
+my $ABI_DUMP_VERSION = "3.5";
 my $ORIG_DIR = cwd();
 my $TMP_DIR = tempdir(CLEANUP=>1);
 
@@ -476,6 +476,9 @@
 # Filter
 my %SymbolsList;
 
+# Dump
+my $COMPRESS = "tar.gz";
+
 sub printMsg($$)
 {
 my ($Type, $Msg) = @_;
@@ -557,6 +560,10 @@
 return "";
 }
 
+sub sepPath($) {
+return (getDirname($_[0]), getFilename($_[0]));
+}
+
 sub checkCmd($)
 {
 my $Cmd = $_[0];
@@ -1952,6 +1959,34 @@
 }
 }
 
+sub createArchive($$)
+{
+my ($Path, $To) = @_;
+if(not $To) {
+$To = ".";
+}
+
+if(not checkCmd("tar")) {
+exitStatus("Not_Found", "can't find \"tar\"");
+}
+if(not checkCmd("gzip")) {
+exitStatus("Not_Found", "can't find \"gzip\"");
+}
+
+my ($From, $Name) = sepPath($Path);
+my $Pkg = abs_path($To)."/".$Name.".".$COMPRESS;
+if(-e $Pkg) {
+unlink($Pkg);
+}
+system("tar", "-C", $From, "-czf", $Pkg, $Name);
+if($?)
+{ # cannot allocate memory (or other problems with "tar")
+exitStatus("Error", "can't pack the ABI dump: ".$!);
+}
+unlink($