From e39dae87b0d4caf8a1d256f9d633a07388a022f850a6b5217b4fb4be27a8c45c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 13 Feb 2022 23:47:05 +0000 Subject: [PATCH] - Update to release 2.0 OBS-URL: https://build.opensuse.org/package/show/devel:tools/libabigail?expand=0&rev=23 --- _service | 4 ++-- libabigail-1.8.2.tar.xz | 3 --- libabigail-2.0.tar.xz | 3 +++ libabigail.changes | 17 +++++++++++++++++ libabigail.spec | 19 ++++++------------- no-tests.diff | 34 +++++++++++++++++++++------------- 6 files changed, 49 insertions(+), 31 deletions(-) delete mode 100644 libabigail-1.8.2.tar.xz create mode 100644 libabigail-2.0.tar.xz diff --git a/_service b/_service index a42029a..14a40fe 100644 --- a/_service +++ b/_service @@ -1,10 +1,10 @@ git://sourceware.org/git/libabigail - libabigail-1.8.2 + libabigail-2.0 git @PARENT_TAG@ - libabigail(.*) + libabigail-(.*) tests diff --git a/libabigail-1.8.2.tar.xz b/libabigail-1.8.2.tar.xz deleted file mode 100644 index 973d8f0..0000000 --- a/libabigail-1.8.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6fe9a74c5add7e56d398964ea55b85bd316cb7fb79ef801ce2bc397073f44df -size 1215396 diff --git a/libabigail-2.0.tar.xz b/libabigail-2.0.tar.xz new file mode 100644 index 0000000..eda0c6f --- /dev/null +++ b/libabigail-2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:853f40265e8bcac5979d4efdee8107815de0952dc458e8be3902e8cd1d8ad68c +size 1229528 diff --git a/libabigail.changes b/libabigail.changes index 676e5d3..e836e65 100644 --- a/libabigail.changes +++ b/libabigail.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sun Feb 13 23:37:46 UTC 2022 - Jan Engelhardt + +- Update to release 2.0 + * New symbol table reader component. + * Correctness of type canonicalization. + * Support for DWARF 5. + * abidw now emits ABIXML files in a new format, dubbed version + 2.0. + * abipkgdiff should now properly show binary files that were + either added to or removed from packages. It also stops + erasing the working directory used for binary comparison + before it's done using their content. + * abidiff: Data members are no longer qualified in diff + reports. The --dump-diff-tree option now works in the leaf + reporting mode. + ------------------------------------------------------------------- Mon May 3 11:58:31 UTC 2021 - Ferdinand Thiessen diff --git a/libabigail.spec b/libabigail.spec index 6ecc454..21da4b9 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -1,7 +1,7 @@ # # spec file for package libabigail # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: libabigail %define lname libabigail0 -Version: 1.8.2 +Version: 2.0 Release: 0 Summary: Application Binary Interface Generic Analysis and Instrumentation Library License: GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-3.0-or-later @@ -43,8 +43,6 @@ BuildRequires: python3-Sphinx BuildRequires: xz BuildRequires: pkgconfig(libxml-2.0) >= 2.6.22 BuildRequires: pkgconfig(libzip) >= 0.10 -Requires(post): %install_info_prereq -Requires(postun): %install_info_prereq %description ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant @@ -97,9 +95,10 @@ interesting conclusions about these differences. %build autoreconf -fiv +# includedir intentional, cf. bugzilla.opensuse.org/795968 %configure --includedir="%_includedir/%name" --docdir="%_docdir/%name" \ --disable-static --enable-cxx11 --disable-silent-rules -make %{?_smp_mflags} +%make_build pushd doc/manuals make man info popd @@ -109,18 +108,12 @@ popd rm -f "%buildroot/%_libdir"/*.la pushd doc/manuals -make DESTDIR=%buildroot install-man-and-info-doc +make DESTDIR="%buildroot" install-man-and-info-doc popd %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig -%post tools -%install_info --info-dir=%_infodir %_infodir/abigail.info.gz - -%postun tools -%install_info_delete --info-dir=%_infodir %_infodir/abigail.info.gz - %files -n %lname %_libdir/libabigail.so.0* @@ -132,7 +125,7 @@ popd %_mandir/man7/libabigail.7.gz %files tools -%license COPYING* +%license LICENSE.txt %_bindir/abi* %_bindir/kmidiff %_mandir/man1/abi*.1* diff --git a/no-tests.diff b/no-tests.diff index 0bd1f33..a076459 100644 --- a/no-tests.diff +++ b/no-tests.diff @@ -5,10 +5,27 @@ large) they should be a separate package in openSUSE. The main package remains small and has no test/ directory, so patch the build files not to try to recurse into there. -diff -Nur libabigail-1.8.1/configure.ac new/configure.ac ---- libabigail-1.8.1/configure.ac 2021-01-27 12:49:43.000000000 +0100 -+++ new/configure.ac 2021-05-03 14:13:27.623343957 +0200 -@@ -915,25 +915,9 @@ +--- + Makefile.am | 2 +- + configure.ac | 16 ---------------- + 2 files changed, 1 insertion(+), 17 deletions(-) + +Index: libabigail-2.0/Makefile.am +=================================================================== +--- libabigail-2.0.orig/Makefile.am ++++ libabigail-2.0/Makefile.am +@@ -1,5 +1,5 @@ + ## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +-SUBDIRS = include src tools tests doc bash-completion ++SUBDIRS = include src tools doc bash-completion + ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} + headers = config.h + +Index: libabigail-2.0/configure.ac +=================================================================== +--- libabigail-2.0.orig/configure.ac ++++ libabigail-2.0/configure.ac +@@ -888,25 +888,9 @@ libabigail.pc doc/manuals/Makefile src/Makefile tools/Makefile @@ -34,12 +51,3 @@ diff -Nur libabigail-1.8.1/configure.ac new/configure.ac AC_OUTPUT -diff -Nur libabigail-1.8.1/Makefile.am new/Makefile.am ---- libabigail-1.8.1/Makefile.am 2021-01-27 12:49:43.000000000 +0100 -+++ new/Makefile.am 2021-05-03 14:17:28.249089264 +0200 -@@ -1,4 +1,4 @@ --SUBDIRS = include src tools tests doc bash-completion -+SUBDIRS = include src tools doc bash-completion - ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} - headers = config.h -