1
0
forked from pool/libabigail

- Update to release 2.0

OBS-URL: https://build.opensuse.org/package/show/devel:tools/libabigail?expand=0&rev=23
This commit is contained in:
Jan Engelhardt 2022-02-13 23:47:05 +00:00 committed by Git OBS Bridge
parent b5742e032f
commit e39dae87b0
6 changed files with 49 additions and 31 deletions

View File

@ -1,10 +1,10 @@
<services> <services>
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="disabled">
<param name="url">git://sourceware.org/git/libabigail</param> <param name="url">git://sourceware.org/git/libabigail</param>
<param name="revision">libabigail-1.8.2</param> <param name="revision">libabigail-2.0</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">libabigail(.*)</param> <param name="versionrewrite-pattern">libabigail-(.*)</param>
<param name="exclude">tests</param> <param name="exclude">tests</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6fe9a74c5add7e56d398964ea55b85bd316cb7fb79ef801ce2bc397073f44df
size 1215396

3
libabigail-2.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:853f40265e8bcac5979d4efdee8107815de0952dc458e8be3902e8cd1d8ad68c
size 1229528

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sun Feb 13 23:37:46 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- 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 <rpm@fthiessen.de> Mon May 3 11:58:31 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libabigail # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
Name: libabigail Name: libabigail
%define lname libabigail0 %define lname libabigail0
Version: 1.8.2 Version: 2.0
Release: 0 Release: 0
Summary: Application Binary Interface Generic Analysis and Instrumentation Library 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 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: xz
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.22 BuildRequires: pkgconfig(libxml-2.0) >= 2.6.22
BuildRequires: pkgconfig(libzip) >= 0.10 BuildRequires: pkgconfig(libzip) >= 0.10
Requires(post): %install_info_prereq
Requires(postun): %install_info_prereq
%description %description
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
@ -97,9 +95,10 @@ interesting conclusions about these differences.
%build %build
autoreconf -fiv autoreconf -fiv
# includedir intentional, cf. bugzilla.opensuse.org/795968
%configure --includedir="%_includedir/%name" --docdir="%_docdir/%name" \ %configure --includedir="%_includedir/%name" --docdir="%_docdir/%name" \
--disable-static --enable-cxx11 --disable-silent-rules --disable-static --enable-cxx11 --disable-silent-rules
make %{?_smp_mflags} %make_build
pushd doc/manuals pushd doc/manuals
make man info make man info
popd popd
@ -109,18 +108,12 @@ popd
rm -f "%buildroot/%_libdir"/*.la rm -f "%buildroot/%_libdir"/*.la
pushd doc/manuals pushd doc/manuals
make DESTDIR=%buildroot install-man-and-info-doc make DESTDIR="%buildroot" install-man-and-info-doc
popd popd
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -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 %files -n %lname
%_libdir/libabigail.so.0* %_libdir/libabigail.so.0*
@ -132,7 +125,7 @@ popd
%_mandir/man7/libabigail.7.gz %_mandir/man7/libabigail.7.gz
%files tools %files tools
%license COPYING* %license LICENSE.txt
%_bindir/abi* %_bindir/abi*
%_bindir/kmidiff %_bindir/kmidiff
%_mandir/man1/abi*.1* %_mandir/man1/abi*.1*

View File

@ -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 main package remains small and has no test/ directory, so patch
the build files not to try to recurse into there. 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 Makefile.am | 2 +-
+++ new/configure.ac 2021-05-03 14:13:27.623343957 +0200 configure.ac | 16 ----------------
@@ -915,25 +915,9 @@ 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 doc/manuals/Makefile
src/Makefile src/Makefile
tools/Makefile tools/Makefile
@ -34,12 +51,3 @@ diff -Nur libabigail-1.8.1/configure.ac new/configure.ac
AC_OUTPUT 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