From a8456723956ee5f1b37f35517f38fc9e89360c9b23ea5c8d5abf79bba902bd1e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 22 Aug 2019 19:18:32 +0000 Subject: [PATCH 1/2] - Update to snapshot 1.7~git84 OBS-URL: https://build.opensuse.org/package/show/devel:tools/libabigail?expand=0&rev=14 --- _service | 4 ++-- libabigail-1.0~rc6+git185.tar.xz | 3 --- libabigail-1.7~git84.tar.xz | 3 +++ libabigail.changes | 20 +++++++++++++++++++ libabigail.spec | 33 ++++++++++++++++---------------- no-tests.diff | 22 ++++++++++++--------- 6 files changed, 54 insertions(+), 31 deletions(-) delete mode 100644 libabigail-1.0~rc6+git185.tar.xz create mode 100644 libabigail-1.7~git84.tar.xz diff --git a/_service b/_service index 878d69e..bb7e449 100644 --- a/_service +++ b/_service @@ -3,8 +3,8 @@ git://sourceware.org/git/libabigail master git - libabigail-1.0.rc6 - 1.0~rc6+git@TAG_OFFSET@ + libabigail-1.6 + 1.7~git@TAG_OFFSET@ tests diff --git a/libabigail-1.0~rc6+git185.tar.xz b/libabigail-1.0~rc6+git185.tar.xz deleted file mode 100644 index 855366e..0000000 --- a/libabigail-1.0~rc6+git185.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ed572ea86f44782d95de4cdd056b29c7f45fef33a963d5e1365bbfaaf0e00c0 -size 1044764 diff --git a/libabigail-1.7~git84.tar.xz b/libabigail-1.7~git84.tar.xz new file mode 100644 index 0000000..527a309 --- /dev/null +++ b/libabigail-1.7~git84.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fb5c794c25e7891645431ee25326a603790e19311c6ca71790511fbc611bf8e +size 1137876 diff --git a/libabigail.changes b/libabigail.changes index 56f0bb6..24019ba 100644 --- a/libabigail.changes +++ b/libabigail.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Thu Aug 22 19:14:09 UTC 2019 - Jan Engelhardt + +- Update to snapshot 1.7~git84 + * Initial support for Ada ranges. + * Initial support of anonymous data members. + * Represent sizes and offsets in bytes and hexadecimal values. + * Initial basic support of union type in suppression + specifications. + * Filter out changes like type to const type. + * Explicitely detect anonymous data member changes. + * Use the flat representation for anonymous struct/unions. + * Better detect when pointer and qualified types carry local + changes. + * Better detect when diff nodes only carry local type changes. + * Better support array with unknown upper bound. + * Categorize CV qualifier changes on fn return types as harmless. + * Support some new DWARF language encoding for C and C++. + * Support having several debuginfo search dirs for a binary. + ------------------------------------------------------------------- Thu Aug 17 20:32:26 UTC 2017 - jengelh@inai.de diff --git a/libabigail.spec b/libabigail.spec index 776d46e..da17fdf 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -1,7 +1,7 @@ # # spec file for package libabigail # -# 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,22 +12,21 @@ # 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/ # Name: libabigail %define lname libabigail0 -Version: 1.0~rc6+git185 +Version: 1.7~git84 Release: 0 Summary: Application Binary Interface Generic Analysis and Instrumentation Library -License: GPL-3.0+ and LGPL-2.0+ and LGPL-3.0+ +License: GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-3.0-or-later Group: Development/Libraries/C and C++ Url: https://sourceware.org/libabigail/ Source: %name-%version.tar.xz Patch1: no-tests.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf >= 2.63 BuildRequires: automake >= 1.11.1 BuildRequires: dpkg @@ -42,7 +41,8 @@ BuildRequires: python-sphinx BuildRequires: xz BuildRequires: pkgconfig(libxml-2.0) >= 2.6.22 BuildRequires: pkgconfig(libzip) >= 0.10 -PreReq: %install_info_prereq +Requires(post): %install_info_prereq +Requires(postun): %install_info_prereq %description ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant @@ -51,7 +51,7 @@ artifacts, such as types, variable, fonctions and declarations %package -n %lname Summary: Application Binary Interface Generic Analysis and Instrumentation Library -License: LGPL-3.0+ +License: LGPL-3.0-or-later Group: System/Libraries %description -n %lname @@ -64,7 +64,7 @@ interesting conclusions about these differences. %package devel Summary: Development files for the ABI-relevant artifact library -License: LGPL-3.0+ +License: LGPL-3.0-or-later Group: Development/Libraries/C and C++ Requires: %lname = %version @@ -79,7 +79,7 @@ This subpackage contains the files needed to build programs with ABIGAIL. %package tools Summary: Utilities to inspect ABI-relevant artifacts -License: LGPL-3.0+ +License: LGPL-3.0-or-later Group: Development/Tools/Other %description tools @@ -91,8 +91,7 @@ This subpackage contains the ABIGAIL utilities allowing to infer interesting conclusions about these differences. %prep -%setup -q -%patch -P 1 -p1 +%autosetup -p1 %build autoreconf -fiv @@ -114,15 +113,16 @@ popd %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig -%post tools %install_info abigail -%postun tools %install_info abigail +%post tools +%install_info abigail + +%postun tools +%install_info abigail %files -n %lname -%defattr(-,root,root) %_libdir/libabigail.so.0* %files devel -%defattr(-,root,root) %_includedir/%name/ %_libdir/libabigail.so %_libdir/pkgconfig/*.pc @@ -130,8 +130,7 @@ popd %_mandir/man7/libabigail.7.gz %files tools -%defattr(-,root,root) -%doc COPYING* +%license COPYING* %_bindir/abi* %_bindir/kmidiff %_mandir/man1/abi*.1* diff --git a/no-tests.diff b/no-tests.diff index 8e23dc2..a0276e1 100644 --- a/no-tests.diff +++ b/no-tests.diff @@ -6,24 +6,24 @@ The main package remains small and has no test/ directory, so patch the build files not to try to recurse into there. --- Makefile.am | 2 +- - configure.ac | 10 ---------- - 2 files changed, 1 insertion(+), 11 deletions(-) + configure.ac | 14 -------------- + 2 files changed, 1 insertion(+), 15 deletions(-) -Index: libabigail-1.0~rc6+git126/Makefile.am +Index: libabigail-1.7~git84/Makefile.am =================================================================== ---- libabigail-1.0~rc6+git126.orig/Makefile.am -+++ libabigail-1.0~rc6+git126/Makefile.am +--- libabigail-1.7~git84.orig/Makefile.am ++++ libabigail-1.7~git84/Makefile.am @@ -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 -Index: libabigail-1.0~rc6+git126/configure.ac +Index: libabigail-1.7~git84/configure.ac =================================================================== ---- libabigail-1.0~rc6+git126.orig/configure.ac -+++ libabigail-1.0~rc6+git126/configure.ac -@@ -511,19 +511,9 @@ libabigail.pc +--- libabigail-1.7~git84.orig/configure.ac ++++ libabigail-1.7~git84/configure.ac +@@ -768,23 +768,9 @@ libabigail.pc doc/manuals/Makefile src/Makefile tools/Makefile @@ -38,8 +38,12 @@ Index: libabigail-1.0~rc6+git126/configure.ac - [chmod +x tests/mockfedabipkgdiff]) -AC_CONFIG_FILES([tests/runtestfedabipkgdiff.py], - [chmod +x tests/runtestfedabipkgdiff.py]) +-AC_CONFIG_FILES([tests/runtestfedabipkgdiffpy3.sh], +- [chmod +x tests/runtestfedabipkgdiffpy3.sh]) -AC_CONFIG_FILES([tests/runtestdefaultsupprs.py], - [chmod +x tests/runtestdefaultsupprs.py]) +-AC_CONFIG_FILES([tests/runtestdefaultsupprspy3.sh], +- [chmod +x tests/runtestdefaultsupprspy3.sh]) AC_OUTPUT From 45333b49225a124ef87212fd9d71acea60a6cc1f8c382f8a6bb6afa5bc82b716 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 22 Aug 2019 19:35:26 +0000 Subject: [PATCH 2/2] fixup info install routines OBS-URL: https://build.opensuse.org/package/show/devel:tools/libabigail?expand=0&rev=15 --- libabigail.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index da17fdf..c4ba3a0 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -114,10 +114,10 @@ popd %postun -n %lname -p /sbin/ldconfig %post tools -%install_info abigail +%install_info --info-dir=%_infodir %_infodir/abigail.info.gz %postun tools -%install_info abigail +%install_info_delete --info-dir=%_infodir %_infodir/abigail.info.gz %files -n %lname %_libdir/libabigail.so.0*