2016-11-23 11:32:47 +00:00
|
|
|
%global tarball_revision rc6
|
2015-11-16 15:27:43 +00:00
|
|
|
%global tarball_name %{name}-%{version}.%{tarball_revision}
|
2015-04-24 19:01:59 +00:00
|
|
|
|
|
|
|
Name: libabigail
|
|
|
|
Version: 1.0
|
2017-05-15 21:28:45 +00:00
|
|
|
Release: 0.10.%{tarball_revision}.4%{?dist}
|
2015-04-24 19:01:59 +00:00
|
|
|
Summary: Set of ABI analysis tools
|
|
|
|
|
|
|
|
License: LGPLv3+
|
|
|
|
URL: https://sourceware.org/libabigail/
|
2016-01-07 10:40:46 +00:00
|
|
|
Source0: http://mirrors.kernel.org/sourceware/libabigail/%{tarball_name}.tar.gz
|
2016-11-26 11:08:08 +00:00
|
|
|
Patch0: 0001-A-suppressed-diff-node-implies-suppressing-all-equiv.patch
|
2016-12-05 09:37:06 +00:00
|
|
|
Patch1: 0001-Bug-20927-Segfault-when-HOME-is-not-set.patch
|
2016-12-09 00:16:33 +00:00
|
|
|
Patch2: 0001-Fix-aborting-when-reading-.foo-symbols-from-a-ppc64-.patch
|
2015-04-24 19:01:59 +00:00
|
|
|
|
2016-03-08 08:46:01 +00:00
|
|
|
BuildRequires: gcc-c++
|
2015-04-24 19:01:59 +00:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: elfutils-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: python-sphinx
|
|
|
|
BuildRequires: texinfo
|
|
|
|
BuildRequires: dos2unix
|
2015-09-08 08:46:52 +00:00
|
|
|
BuildRequires: dpkg
|
2016-06-27 17:40:43 +00:00
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: rpm-python
|
|
|
|
BuildRequires: python2-mock
|
|
|
|
BuildRequires: koji
|
|
|
|
BuildRequires: pyxdg
|
|
|
|
BuildRequires: python2-unittest2
|
2016-11-23 13:14:45 +00:00
|
|
|
BuildRequires: wget
|
2015-04-24 19:01:59 +00:00
|
|
|
|
2016-08-29 10:06:21 +00:00
|
|
|
Requires: pyxdg
|
|
|
|
Requires: rpm-python
|
|
|
|
Requires: koji
|
|
|
|
Requires: python2 >= 2.6
|
2016-11-23 13:14:45 +00:00
|
|
|
Requires: wget
|
2016-08-29 10:06:21 +00:00
|
|
|
|
2015-04-24 19:01:59 +00:00
|
|
|
%description
|
2016-08-29 11:34:09 +00:00
|
|
|
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.
|
2015-04-24 19:01:59 +00:00
|
|
|
|
|
|
|
Install libabigail if you need to compare the ABI of ELF shared
|
|
|
|
libraries.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Shared library and header files to write ABI analysis tools
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains a shared library and the associated header files
|
|
|
|
that are necessary to develop applications that use the C++ Libabigail
|
|
|
|
library. The library provides facilities to analyze and compare
|
|
|
|
application binary interfaces of shared libraries in the ELF format.
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Man pages, texinfo files and html manuals of libabigail
|
|
|
|
Requires(post): info
|
|
|
|
Requires(preun): info
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains documentation for the libabigail tools in the
|
|
|
|
form of man pages, texinfo documentation and API documentation in html
|
|
|
|
format.
|
|
|
|
|
|
|
|
%prep
|
2015-06-25 08:56:36 +00:00
|
|
|
%setup -n %{tarball_name}
|
2016-11-26 11:08:08 +00:00
|
|
|
%patch0 -p1
|
2016-12-05 09:37:06 +00:00
|
|
|
%patch1 -p1
|
2016-12-09 00:16:33 +00:00
|
|
|
%patch2 -p1
|
2015-04-24 19:01:59 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-silent-rules --disable-zip-archive --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
pushd doc
|
|
|
|
make html-doc
|
|
|
|
pushd manuals
|
|
|
|
make html-doc
|
|
|
|
make man
|
|
|
|
make info
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
# Install man and texinfo files as they are not installed by the
|
|
|
|
# default 'install' target of the makefile.
|
|
|
|
make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot}
|
|
|
|
dos2unix doc/manuals/html/_static/jquery.js
|
|
|
|
|
|
|
|
%check
|
2016-03-08 08:46:01 +00:00
|
|
|
time make %{?_smp_mflags} check || (cat tests/test-suite.log && exit 2)
|
2015-09-08 08:46:52 +00:00
|
|
|
|
|
|
|
if test $? -ne 0; then
|
|
|
|
cat tests/tests-suite.log
|
2015-04-24 19:01:59 +00:00
|
|
|
fi
|
|
|
|
|
2016-01-06 09:02:29 +00:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
2015-04-24 19:01:59 +00:00
|
|
|
/usr/sbin/install-info %{_infodir}/abigail.info* %{_infodir}/dir 2>/dev/null || :
|
|
|
|
|
2016-01-06 09:02:29 +00:00
|
|
|
%preun
|
2015-04-24 19:01:59 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
/usr/sbin/install-info --delete %{_infodir}/abigail.info* %{_infodir}/dir 2>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
2016-01-06 09:02:29 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2015-04-24 19:01:59 +00:00
|
|
|
%files
|
|
|
|
%{_bindir}/abicompat
|
|
|
|
%{_bindir}/abidiff
|
|
|
|
%{_bindir}/abidw
|
|
|
|
%{_bindir}/abilint
|
2015-07-20 12:27:54 +00:00
|
|
|
%{_bindir}/abipkgdiff
|
2016-06-27 17:40:43 +00:00
|
|
|
%{_bindir}/fedabipkgdiff
|
2015-04-24 19:01:59 +00:00
|
|
|
%{_libdir}/libabigail.so.0
|
|
|
|
%{_libdir}/libabigail.so.0.0.0
|
2016-06-27 17:40:43 +00:00
|
|
|
%{_libdir}/libabigail/default.abignore
|
|
|
|
%doc README AUTHORS ChangeLog
|
2015-04-24 19:01:59 +00:00
|
|
|
%license COPYING COPYING-LGPLV3 COPYING-GPLV3
|
2016-01-05 15:09:25 +00:00
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man7/*
|
|
|
|
%{_infodir}/abigail.info*
|
2015-04-24 19:01:59 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libabigail.so
|
|
|
|
%{_libdir}/pkgconfig/libabigail.pc
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_datadir}/aclocal/abigail.m4
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%license COPYING COPYING-LGPLV3 COPYING-GPLV3
|
|
|
|
%doc doc/manuals/html/*
|
|
|
|
|
|
|
|
%changelog
|
2017-05-15 21:28:45 +00:00
|
|
|
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.10.rc6.4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 18:21:16 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.9.rc6.4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-09 00:16:33 +00:00
|
|
|
* Fri Dec 9 2016 Dodji Seketeli <dodji@redhat.com> - 1.0-0.8.rc6.4
|
|
|
|
- Fix upstream bug - Fix aborting when reading .foo symbols from a ppc64 binary
|
|
|
|
|
2016-12-05 09:37:06 +00:00
|
|
|
* Mon Dec 5 2016 Dodji Seketeli <dodji@redhat.com> - 1.0-0.8.rc6.3
|
2016-12-05 10:14:51 +00:00
|
|
|
- Fix upstream Bug 20927 - Segfault when abidiff is invoked with $HOME empty
|
2016-12-05 09:37:06 +00:00
|
|
|
Apply the upstream patch here.
|
|
|
|
|
2016-11-26 11:08:08 +00:00
|
|
|
* Sat Nov 26 2016 Dodji Seketeli <dodji@redhat.com> - 1.0-0.8.rc6.2
|
|
|
|
- Fix an issue where some suppressed diff nodes are still visible in change reports
|
|
|
|
This implies applying upstream patch:
|
|
|
|
"[PATCH] A suppressed diff node implies suppressing all equivalent nodes too"
|
|
|
|
|
2016-11-23 11:32:47 +00:00
|
|
|
* Wed Nov 23 2016 Dodji Seketeli <dodji@redhat.com> - 1.0-0.8.rc6.1
|
|
|
|
- Update to upstream 1.0.rc6 tarball
|
2016-11-23 13:14:45 +00:00
|
|
|
- Add wget as a build and runtime requirement. It's useful for fedabipkgdiff
|
2016-11-23 11:32:47 +00:00
|
|
|
|
2016-08-29 11:34:09 +00:00
|
|
|
* Mon Aug 29 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.8.rc5.5
|
|
|
|
- Update the package description to mention fedabipkgdiff
|
|
|
|
|
2016-08-29 10:06:21 +00:00
|
|
|
* Mon Aug 29 2016 Chenxiong Qi <cqi@redhat.com> - 1.0-0.8.rc5.4
|
|
|
|
- Add pyxdg, rpm-python, koji and python2 as runtime dependencies
|
|
|
|
|
2016-06-28 09:23:41 +00:00
|
|
|
* Tue Jun 28 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.8.rc5.3
|
|
|
|
- Fix previous change log entry
|
|
|
|
|
2016-06-28 09:22:25 +00:00
|
|
|
* Tue Jun 28 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.8.rc5.2
|
2016-06-28 09:19:19 +00:00
|
|
|
- Add README
|
|
|
|
|
2016-06-27 17:40:43 +00:00
|
|
|
* Mon Jun 27 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.8.rc5.1
|
|
|
|
- Update to upstream 1.0.rc5 tarball
|
|
|
|
- Add new build requires for new fedabipkgdiff tool:
|
|
|
|
python2-devel, rpm-python, python2-mock, koji, pyxdg, python2-unittest2
|
|
|
|
- Add new %%{_bindir}/fedabipkgdiff binary and
|
|
|
|
%%{_libdir}/libabigail/default.abignore configuration file to the set
|
|
|
|
of distributed files.
|
|
|
|
- Drop patches that were integrated upstream:
|
|
|
|
0001-Bug-19961-Distinguish-between-PI-executable-and-shar.patch
|
|
|
|
0002-Bug-19964-Cannot-load-function-aliases-on-ppc64.patch
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 2 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.8.rc4.3%{?dist}
|
|
|
|
- Add README file
|
|
|
|
|
2016-04-25 13:44:21 +00:00
|
|
|
* Mon Apr 25 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.8.rc4.2
|
|
|
|
- Fix PIE and ppc64 function aliases handling.
|
|
|
|
The exact two upstream bugs fixed are:
|
|
|
|
Bug 19961 - Distinguish between PI executable and shared library
|
|
|
|
Bug 19964 - Cannot load function aliases on ppc64
|
|
|
|
The two upstream patches applied are 8944ceb9ef03a4187 and 2529f84ae0e2ca2a
|
|
|
|
|
2016-04-17 13:06:33 +00:00
|
|
|
* Sun Apr 17 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.8.rc4.1
|
|
|
|
- Update to upstream 1.0.rc4
|
|
|
|
- Remove fix-test-diff-pkg-patch.txt as it was applied upstream.
|
|
|
|
|
2016-03-08 12:33:14 +00:00
|
|
|
* Tue Mar 8 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.rc3.2
|
2016-03-08 13:28:57 +00:00
|
|
|
- Fix test-diff-pkg regression test failure due to a race condition.
|
2016-03-08 12:33:14 +00:00
|
|
|
|
2016-03-08 08:46:01 +00:00
|
|
|
* Tue Mar 8 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.rc3.1
|
|
|
|
- Update to upstream 1.0.rc3
|
|
|
|
- Add gcc-c++ as BuildRequires
|
|
|
|
- Measure the time taken by regression tests
|
|
|
|
|
2016-02-04 02:52:41 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.rc2.1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-07 10:19:47 +00:00
|
|
|
* Thu Jan 7 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.rc2.1
|
|
|
|
- Update to upstream 1.0.rc2
|
|
|
|
- This fixes an important regression in the handling of binaries
|
|
|
|
which debug info have been compressed with dwz.
|
2016-01-07 10:40:46 +00:00
|
|
|
- Fix source tarball URL.
|
2016-01-07 10:19:47 +00:00
|
|
|
|
2016-01-06 09:45:56 +00:00
|
|
|
* Wed Jan 6 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.rc1.3
|
|
|
|
- Run make check in // if possible
|
|
|
|
|
2016-01-06 09:02:29 +00:00
|
|
|
* Wed Jan 6 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.rc1.2
|
|
|
|
- Add/Remove info pages to/from info pages database after install/before remove
|
|
|
|
|
2016-01-05 15:09:25 +00:00
|
|
|
* Tue Jan 5 2016 Dodji Seketeli <dodji@redhat.com> - 1.0-0.rc1.1
|
|
|
|
- Ship man/info pages right into the main package, along with the main
|
|
|
|
programs.
|
|
|
|
- Update to upstream release 1.0.rc1
|
|
|
|
- Significant changes include:
|
|
|
|
rhtbz/1283906 - crash in abigail::dwarf_reader::build_reference_type()
|
|
|
|
libabigail/19336 - Better handle redundantly qualified reference types
|
|
|
|
libabigail/19126 - abidw segv on a dwz compressed version of r300_dri.so
|
|
|
|
libabigail/19355 - Libabigail slow on r300_dri.so
|
|
|
|
Numerous other bug fixes and cleanups
|
|
|
|
|
2015-11-16 15:27:43 +00:00
|
|
|
* Mon Nov 16 2015 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.7.rc0.20151116gitd8bcceb
|
|
|
|
- Update to upstream release 1.0.rc0
|
|
|
|
- Take a tarball built using make dist now.
|
|
|
|
- Update the comments in the spec regarding how the tarball has been generated.
|
|
|
|
- Do not run autoreconf -i anymore, during the build.
|
|
|
|
|
2015-09-08 08:46:52 +00:00
|
|
|
* Wed Sep 9 2015 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.6.20150909git164d17e
|
|
|
|
- Update to upstream git commit hash 164d17e
|
|
|
|
Bug 18791 - libabigail fails to read the output of abidw
|
|
|
|
Bug 18818 - abidw aborts on a class with a non-complete base class
|
|
|
|
Bug 18828 - Handle force-resolving of multiple declarations-only of the same type
|
|
|
|
Bug 18844 - assert failure in abidw at abg-dwarf-reader.cc:6537
|
|
|
|
Bug 18894 - Fix representation of enumerators in abixml format
|
|
|
|
Bug 18893 - type degradation from dwarf to abixml on libGLU.so
|
|
|
|
Bug 18892 - type degradation from DWARF to abixml on libtsan.so
|
|
|
|
Bug 18904 - Fix support for C++ rvalue references
|
|
|
|
Numerous additional bug fixes
|
|
|
|
Added .deb, tarball and directory support to abipkgdiff
|
|
|
|
Several improvements to abidw, abidiff and abilint
|
|
|
|
- Added dpkg build dependency to activate support of .deb archives
|
|
|
|
- cat tests/test-suite.log when check fails
|
|
|
|
- Update description to add abipkgdiff
|
|
|
|
|
|
|
|
* Mon Jul 27 2015 Sinny Kumari <ksinny@gmail.com> - 1.0-0.5.20150727gitf0d319a
|
2015-07-27 12:04:47 +00:00
|
|
|
- Update to upstream git commit hash f0d319a. Returns different exit status code
|
|
|
|
when abipkgdiff runs and various other bug fixes in libabigail.
|
|
|
|
- Adjust date, git_revision and Release macros
|
|
|
|
|
2015-07-20 12:27:54 +00:00
|
|
|
* Mon Jul 20 2015 Sinny Kumari <ksinny@gmail.com> - 1.0-0.4.20150720gitab1316b
|
|
|
|
- Update to upstream git commit hash ab1316b. It brings various bug fixes and a
|
|
|
|
new abipkgdiff tool to detect abi changes at package level.
|
|
|
|
- Install abipkgdiff binary in bindir
|
|
|
|
- Adjust date, git_revision and Release macros
|
|
|
|
|
2015-06-25 08:56:36 +00:00
|
|
|
* Thu Jun 25 2015 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.3.20150625git43c06a8
|
|
|
|
- Update to upstream git commit hash 43c06a8 (pre-release of 1.0).
|
|
|
|
This brings lots of bug fixes as well as some improvements in change
|
|
|
|
report suppression capabilities in the library and in the abidiff
|
|
|
|
tool.
|
|
|
|
- Tarball name format is now clearer: %%{name}-%%{version}-git-%%{git_revision}
|
|
|
|
- Add new macro tarball_name for that
|
2015-07-20 12:27:54 +00:00
|
|
|
- Adjust the Source0, git_revision, date, Release macros
|
2015-06-25 08:56:36 +00:00
|
|
|
- Adjust the %setup directive to the fact that the tarball now extracts to
|
|
|
|
a directory named %%{name}-%%{version}-git-%%{git_revision}
|
|
|
|
- Adjust the packaging of the man pages as some of them moved from
|
|
|
|
section 7 to section 1.
|
|
|
|
|
2015-06-17 14:12:43 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.2.20150422gita9582d8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-24 19:01:59 +00:00
|
|
|
* Wed Apr 22 2015 Sinny Kumari <ksinny@gmail.com> - 1.0-0.1.20150420gita9582d8
|
|
|
|
- Add COPYING-GPLV3 license file as well
|
|
|
|
- Remove python-sphinx-latex from BuildRequires
|
|
|
|
- Package latest source tar with git revision a9582d8
|
|
|
|
|
|
|
|
* Sat Jan 24 2015 Sinny Kumari <ksinny@gmail.com> - 1.0-0.3.20150114git63c81f0
|
|
|
|
- Specify only sub-packgae name instead of giving full package name
|
|
|
|
- Add info as post and preun Requires for doc sub-package
|
|
|
|
|
|
|
|
* Fri Jan 23 2015 Sinny Kumari <ksinny@gmail.com> - 1.0-0.2.20150114git63c81f0
|
|
|
|
- Add python-sphinx-latex as BuildRequires
|
|
|
|
- Use license instead of doc macro for license file installation
|
|
|
|
- Update checkout value
|
|
|
|
|
|
|
|
* Sun Jan 18 2015 Sinny Kumari <ksinny@gmail.com> - 1.0-0.1.git.63c81f0
|
|
|
|
- Initial build of the libabigail package using source code from git
|
|
|
|
revision 63c81f0.
|