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

Loading…
Cancel
Save