Compare commits

...

5 Commits
f38 ... epel9

Author SHA1 Message Date
Orion Poplawski d684a306ce Drop old rhel conditionals
9 months ago
Fedora Release Engineering 3953b67322 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
11 months ago
Fedora Release Engineering 7980b135c8 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
11 months ago
Fedora Release Engineering 8c9b5d03f6 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1 year ago
Richard Shaw d15667c78c Update license to SPDX format.
2 years ago

@ -1,20 +1,16 @@
Name: abi-dumper
Version: 1.2
Release: 8%{?dist}
Release: 12%{?dist}
Summary: Tool to dump ABI of an ELF object containing DWARF debug info
License: GPLv2
License: GPL AND LGPL-2.1-or-later
URL: http://github.com/lvc/abi-dumper/
Source0: https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
%if 0%{?rhel}
BuildRequires: perl
%else
BuildRequires: perl-interpreter
%endif
BuildRequires: perl-generators
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper)
@ -27,10 +23,7 @@ BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Storable)
BuildRequires: perl(strict)
BuildRequires: sed
# https://bugzilla.redhat.com/show_bug.cgi?id=1741795
%if ! 0%{?rhel} > 7
BuildRequires: txt2man
%endif
Requires: elfutils
Requires: vtable-dumper >= 1.1
@ -57,25 +50,33 @@ mkdir -p %{buildroot}%{_prefix}
chmod 0755 %{buildroot}%{_bindir}/%{name}
%if ! 0%{?rhel} > 7
# Create manpage
mkdir -p %{buildroot}%{_mandir}/man1
%{__perl} abi-dumper.pl --help | sed "s|:$||g" | \
txt2man -t ABI-DUMPER -s 1 -v "User Commands" -r "ABI Dumper %{version}" > \
%{buildroot}%{_mandir}/man1/%{name}.1
%endif
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%if ! 0%{?rhel} > 7
%{_mandir}/man1/%{name}.1*
%endif
%changelog
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Apr 07 2023 Richard Shaw <hobbes1069@gmail.com> - 1.2-9
- Update license to SPDX format.
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

Loading…
Cancel
Save