3646f56
Name:           abi-dumper
3646f56
Version:        1.1
3646f56
Release:        10%{?dist}
3646f56
Summary:        Tool to dump ABI of an ELF object containing DWARF debug info
3646f56
3646f56
License:        GPLv2
3646f56
URL:            http://github.com/lvc/abi-dumper/
3646f56
Source0:        https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
3646f56
3646f56
Patch0:         abi-dumper-perl-brace.patch
3646f56
Patch1:         0001-Support-for-new-elfutils-Fedora-30.patch
3646f56
3646f56
BuildArch:      noarch
3646f56
3646f56
BuildRequires:  coreutils
3646f56
%if 0%{?rhel}
3646f56
BuildRequires:  perl
3646f56
%else
3646f56
BuildRequires:  perl-interpreter
3646f56
%endif
3646f56
BuildRequires:  perl-generators
3646f56
BuildRequires:  perl(Cwd)
3646f56
BuildRequires:  perl(Data::Dumper)
3646f56
BuildRequires:  perl(File::Basename)
3646f56
BuildRequires:  perl(File::Copy)
3646f56
BuildRequires:  perl(File::Find)
3646f56
BuildRequires:  perl(File::Path)
3646f56
BuildRequires:  perl(File::Temp)
3646f56
BuildRequires:  perl(Getopt::Long)
3646f56
BuildRequires:  perl(Storable)
3646f56
BuildRequires:  perl(strict)
3646f56
BuildRequires:  sed
3646f56
BuildRequires:  txt2man
3646f56
3646f56
Requires:       elfutils
3646f56
Requires:       vtable-dumper >= 1.1
3646f56
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
3646f56
3646f56
%{?perl_default_filter}
3646f56
3646f56
%description
3646f56
A tool to dump ABI of an ELF object containing DWARF debug info.
3646f56
3646f56
The tool is intended to be used with ABI Compliance Checker tool for tracking
3646f56
ABI changes of a C/C++ library or kernel module.
3646f56
3646f56
%prep
3646f56
%autosetup -p1
3646f56
3646f56
3646f56
%build
3646f56
# Nothing to build.
3646f56
3646f56
3646f56
%install
3646f56
mkdir -p %{buildroot}%{_prefix}
3646f56
%{__perl} Makefile.pl -install --prefix=%{buildroot}%{_prefix}
3646f56
3646f56
chmod 0755 %{buildroot}%{_bindir}/%{name}
3646f56
3646f56
# Create manpage
3646f56
mkdir -p %{buildroot}%{_mandir}/man1
3646f56
%{__perl} abi-dumper.pl --help | sed "s|:$||g" | \
3646f56
  txt2man -t ABI-DUMPER -s 1 -v "User Commands" -r "ABI Dumper %{version}" > \
3646f56
  %{buildroot}%{_mandir}/man1/%{name}.1
3646f56
3646f56
3646f56
%files
3646f56
%license LICENSE
3646f56
%doc README
3646f56
%{_bindir}/%{name}
3646f56
%{_mandir}/man1/%{name}.1*
3646f56
3646f56
3646f56
%changelog
3646f56
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-10
3646f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3646f56
3646f56
* Thu Jul 04 2019 Richard Shaw <hobbes1069@gmail.com> - 1.1-9
3646f56
- Appy patch to fix debuginfo ouput for Fedora 30+, fixes RHBZ#1726719.
3646f56
3646f56
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-8.1
3646f56
- Perl 5.30 rebuild
3646f56
3646f56
* Tue Mar 12 2019 Richard Shaw <hobbes1069@gmail.com> - 1.1-7.1
3646f56
- Actually apply the patch.
3646f56
3646f56
* Mon Mar 11 2019 Richard Shaw <hobbes1069@gmail.com> - 1.1-7
3646f56
- Fix un-escaped left brace, fixex BZ#1685441.
3646f56
3646f56
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-6
3646f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3646f56
3646f56
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-5
3646f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3646f56
3646f56
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-4
3646f56
- Perl 5.28 rebuild
3646f56
3646f56
* Thu May 10 2018 Richard Shaw <hobbes1069@gmail.com> - 1.1-3
3646f56
- Add elfutils as a package requirement, fixes 1576565.
3646f56
3646f56
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
3646f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3646f56
3646f56
* Wed Aug 30 2017 Richard Shaw <hobbes1069@gmail.com> - 1.1-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
3646f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3646f56
3646f56
* Tue Jun 20 2017 Richard Shaw <hobbes1069@gmail.com> - 1.0-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.99.19-3
3646f56
- Perl 5.26 rebuild
3646f56
3646f56
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.19-2
3646f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3646f56
3646f56
* Mon Oct 10 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.19-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Thu Oct  6 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.18-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Fri Aug 26 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.17-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Wed Jul  6 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.16-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.99.15-2
3646f56
- Perl 5.24 rebuild
3646f56
3646f56
* Sun Mar 13 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.15-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.14-2
3646f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3646f56
3646f56
* Mon Jan 25 2016 Richard Shaw <hobbes1069@gmail.com> - 0.99.14-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Sat Dec 12 2015 Richard Shaw <hobbes1069@gmail.com> - 0.99.13-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Sun Nov  1 2015 Richard Shaw <hobbes1069@gmail.com> - 0.99.12-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Sun Oct 18 2015 Richard Shaw <hobbes1069@gmail.com> - 0.99.11-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Thu Sep 17 2015 Richard Shaw <hobbes1069@gmail.com> - 0.99.10-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Thu Aug 27 2015 Petr Ĺ abata <contyk@redhat.com> - 0.99.8-6
3646f56
- Prevent FTBFS by correcting the build time dependency list
3646f56
3646f56
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.8-5
3646f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3646f56
3646f56
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.99.8-4
3646f56
- Perl 5.22 rebuild
3646f56
3646f56
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.99.8-3
3646f56
- Perl 5.20 rebuild
3646f56
3646f56
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.8-2
3646f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3646f56
3646f56
* Tue Mar  4 2014 Richard Shaw <hobbes1069@gmail.com> - 0.99.8-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Sun Oct 27 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99.7-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Wed Sep 18 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99.6-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Thu Aug  8 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99.5-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Wed Jul 31 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99.1-1
3646f56
- Update to latest upstream release with reduced memory usage.
3646f56
3646f56
* Fri Jul 19 2013 Richard Shaw <hobbes1069@gmail.com> - 0.99-1
3646f56
- Update to latest upstream release.
3646f56
3646f56
* Wed Jul  3 2013 Richard Shaw <hobbes1069@gmail.com> - 0.98-1
3646f56
- Initial packaging.