Compare commits

..

8 Commits
f39 ... rawhide

Author SHA1 Message Date
Paul Wouters
35dfc6deda
- Rebuilt for libre2.so.11 bump 2024-02-23 22:33:43 -05:00
Benjamin A. Beasley
607c4e0efa Rebuild for abseil-cpp-20240116.0 2024-02-04 08:40:23 -05:00
Fedora Release Engineering
94037a32dd Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-23 00:33:33 +00:00
Fedora Release Engineering
73ab7a8f9a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 14:30:10 +00:00
Rich Mattes
4f0f17fe5d Rebuild for capstone-5.0.1 2023-11-13 21:56:02 -05:00
Benjamin A. Beasley
8a9ea0c43e Add an automatically-generated man page 2023-09-03 09:03:51 -04:00
Benjamin A. Beasley
9071371996 Stop using deprecated %patchN macros 2023-09-02 14:43:52 -04:00
Benjamin A. Beasley
c6adeca3fc Update License to SPDX 2023-09-02 14:43:35 -04:00

View File

@ -1,10 +1,23 @@
Name: bloaty
Version: 1.1
Release: 22%{?dist}
Release: 28%{?dist}
Summary: A size profiler for binaries
License: ASL 2.0
# The entire source is Apache-2.0, except:
#
# BSD-2-Clause:
# third_party/freebsd_elf/
# APSL-2.0:
# third_party/darwin_xnu_macho/ except as below:
# APSL-2.0 AND BSD-4-Clause-UC:
# third_party/darwin_xnu_macho/mach-o/nlist.h
# APSL-2.0 AND BSD-3-Clause
# third_party/darwin_xnu_macho/mach-o/reloc.h
#
# Note that the contents of third_party/freebsd_elf/ and
# third_party/darwin_xnu_macho/ *are* used in the Linux build (to support
# examining binaries built for other platforms).
License: Apache-2.0 AND BSD-2-Clause AND BSD-4-Clause-UC AND BSD-3-Clause
URL: https://github.com/google/bloaty
Source0: https://github.com/google/bloaty/archive/v%{version}/%{name}-%{version}.tar.gz
# Patch to use system versions of abseil, google-test and google-mock
@ -25,6 +38,8 @@ BuildRequires: pkgconfig
BuildRequires: protobuf-devel
BuildRequires: re2-devel
BuildRequires: help2man
%description
Ever wondered what's making your binary big? Bloaty McBloatface will show
you a size profile of the binary so you can understand what's taking up
@ -37,7 +52,7 @@ support for WebAssembly.
%prep
%autosetup -S gendiff -N
%autopatch -p0 -M 1
%patch2 -p1
%autopatch -p1 -m 2
%build
@ -46,10 +61,12 @@ support for WebAssembly.
-DBLOATY_ENABLE_CMAKETARGETS=OFF \
-DBUILD_TESTING=ON
%cmake_build
help2man --no-info --output=bloaty.1 %{_vpath_builddir}/bloaty
%install
%cmake_install
install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 bloaty.1
%check
%ctest --verbose || exit 0
@ -58,9 +75,30 @@ support for WebAssembly.
%license LICENSE
%doc README.md how-bloaty-works.md
%{_bindir}/bloaty
%{_mandir}/man1/bloaty.1*
%changelog
* Sat Feb 24 2024 Paul Wouters <paul.wouters@aiven.io> - 1.1-28
- Rebuilt for libre2.so.11 bump
* Sun Feb 04 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1-27
- Rebuild for abseil-cpp-20240116.0
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Nov 14 2023 Rich Mattes <richmattes@gmail.com> - 1.1-24
- Rebuild for capstone-5.0.1
* Fri Sep 01 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1-23
- Update License to SPDX
- Stop using deprecated %%patchN macros
- Add an automatically-generated man page
* Wed Aug 30 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1-22
- Rebuilt for abseil-cpp 20230802.0