Update to upstream 1.0 tarball

- Update to upstream 1.0 tarball
- Adjust tarball_revision and tarball_name macros
- Adjust Release macro
- Remove the koji build require as python2-koji is enough
- Replace the pyxdg build require with the python2-pyxdg one.
- Added missing build and runtime require 'mailcap' to allow
  fedabipkgdiff to detect RPM files
- Remove patches that got applied upstream:
  0001-A-suppressed-diff-node-implies-suppressing-all-equiv.patch
  0001-Bug-20927-Segfault-when-HOME-is-not-set.patch
  0001-Fix-aborting-when-reading-.foo-symbols-from-a-ppc64-.patch
- Add kmidiff to the RPM

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
This commit is contained in:
Dodji Seketeli 2017-11-07 10:46:44 +01:00
parent 601df11e56
commit e8a4ba4bd6
2 changed files with 41 additions and 29 deletions

View File

@ -1,17 +1,14 @@
%global tarball_revision rc6
%global tarball_name %{name}-%{version}.%{tarball_revision}
%global tarball_revision 0
%global tarball_name %{name}-%{version}
Name: libabigail
Version: 1.0
Release: 0.13.%{tarball_revision}.4%{?dist}
Release: 1
Summary: Set of ABI analysis tools
License: LGPLv3+
URL: https://sourceware.org/libabigail/
Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.gz
Patch0: 0001-A-suppressed-diff-node-implies-suppressing-all-equiv.patch
Patch1: 0001-Bug-20927-Segfault-when-HOME-is-not-set.patch
Patch2: 0001-Fix-aborting-when-reading-.foo-symbols-from-a-ppc64-.patch
BuildRequires: gcc-c++
BuildRequires: libtool
@ -25,32 +22,37 @@ BuildRequires: dpkg
BuildRequires: python2-devel
BuildRequires: rpm-python
BuildRequires: python2-mock
BuildRequires: koji
BuildRequires: python2-koji
BuildRequires: pyxdg
BuildRequires: python2-unittest2
BuildRequires: python2-pyxdg
BuildRequires: wget
#For x-rpm mimetype definition!
BuildRequires: mailcap
Requires: pyxdg
Requires: python2-pyxdg
Requires: rpm-python
Requires: koji
Requires: python2-koji
Requires: python2 >= 2.6
Requires: wget
#For x-rpm mimetype definition!
Requires: mailcap
%description
The libabigail package comprises six command line utilities: abidiff,
abipkgdiff, abicompat, abidw, abilint and fedabipkgdiff. The abidiff
command line tool compares the ABI of two ELF shared libraries and
emits meaningful textual reports about changes impacting exported
functions, variables and their types. abipkgdiff compares the ABIs of
ELF binaries contained in two packages. abicompat checks if a
subsequent version of a shared library is still compatible with an
application that is linked against it. abidw emits an XML
representation of the ABI of a given ELF shared library. abilint
checks that a given XML representation of the ABI of a shared library
is correct. fedabipkgdiff interacts with the Fedora Build System over
the internet to let the user compare the ABI of Fedora packages
without having to download them manually.
The libabigail package comprises seven command line utilities:
abidiff, kmidiff, abipkgdiff, abicompat, abidw, abilint and
fedabipkgdiff. The abidiff command line tool compares the ABI of two
ELF shared libraries and emits meaningful textual reports about
changes impacting exported functions, variables and their types.
Simarly, the kmidiff compares the kernel module interface of two Linux
kernels. abipkgdiff compares the ABIs of ELF binaries contained in
two packages. abicompat checks if a subsequent version of a shared
library is still compatible with an application that is linked against
it. abidw emits an XML representation of the ABI of a given ELF
shared library. abilint checks that a given XML representation of the
ABI of a shared library is correct. fedabipkgdiff interacts with the
Fedora Build System over the internet to let the user compare the ABI
of Fedora packages without having to download them manually.
Install libabigail if you need to compare the ABI of ELF shared
libraries.
@ -78,9 +80,6 @@ format.
%prep
%setup -n %{tarball_name}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%configure --disable-silent-rules --disable-zip-archive --disable-static
@ -128,6 +127,7 @@ fi
%{_bindir}/abilint
%{_bindir}/abipkgdiff
%{_bindir}/fedabipkgdiff
%{_bindir}/kmidiff
%{_libdir}/libabigail.so.0
%{_libdir}/libabigail.so.0.0.0
%{_libdir}/libabigail/default.abignore
@ -148,6 +148,21 @@ fi
%doc doc/manuals/html/*
%changelog
* Tue Nov 7 2017 Dodji Seketeli <dodji@redhat.com> - 1.0-1
- Update to upstream 1.0 tarball
- Adjust tarball_revision and tarball_name macros
- Adjust Release macro
- Remove the koji build require as python2-koji is enough
- Replace the pyxdg build require with the python2-pyxdg one.
- Added missing build and runtime require 'mailcap' to allow
fedabipkgdiff to detect RPM files
- Update description to account for the new kmidiff tool
- Remove patches that got applied upstream:
0001-A-suppressed-diff-node-implies-suppressing-all-equiv.patch
0001-Bug-20927-Segfault-when-HOME-is-not-set.patch
0001-Fix-aborting-when-reading-.foo-symbols-from-a-ppc64-.patch
- Add kmidiff to the RPM
* Fri Oct 06 2017 Troy Dawson <tdawson@redhat.com> - 1.0-0.13.rc6.4
- Fix rawhide FTBFS - Added Buildrequires python2-koji

View File

@ -1,4 +1 @@
559b1abde55204f96f1b10d12c3a4983 0001-Bug-20927-Segfault-when-HOME-is-not-set.patch
45b27d199faae6d557e100c3e00618ba libabigail-1.0.rc6.tar.gz
751f61278ba86f5747f67b17805f4a31 0001-A-suppressed-diff-node-implies-suppressing-all-equiv.patch
d05f1db88b925e6f00a84f0f78a6e2e0 0001-Fix-aborting-when-reading-.foo-symbols-from-a-ppc64-.patch
SHA512 (libabigail-1.0.tar.gz) = 2b214cc4478ca025f9a49c4818e03442d01511327e053185f52a48a2fac151cc095d4d5ef2a75b3dca4f634b980599b78de6637d8afd548f754740e49dc07c2a