Compare commits

...

13 Commits
f37 ... 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
Benjamin A. Beasley
623bcaa175 Rebuilt for abseil-cpp 20230802.0 2023-08-30 07:48:29 -04:00
Fedora Release Engineering
6d946701fd Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 14:43:41 +00:00
Rich Mattes
36dd77932c Rebuild for abseil-cpp-20230125.1 2023-03-26 21:07:41 -04:00
Benjamin A. Beasley
7fc2c5ee70 Patch for GCC 13 2023-01-26 08:32:47 -05:00
Fedora Release Engineering
2b126f50aa Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 22:58:57 +00:00
2 changed files with 83 additions and 4 deletions

21
332.patch Normal file
View File

@ -0,0 +1,21 @@
From 7611debaa6459e66b95e03937a2573316e42b69e Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Thu, 26 Jan 2023 08:25:54 -0500
Subject: [PATCH] Add missing #include needed on GCC13
---
tests/fuzz_driver.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/fuzz_driver.cc b/tests/fuzz_driver.cc
index 4980317..3f0ce70 100644
--- a/tests/fuzz_driver.cc
+++ b/tests/fuzz_driver.cc
@@ -13,6 +13,7 @@
// limitations under the License.
#include <cassert>
+#include <cstdint>
#include <iostream>
#include <fstream>
#include <vector>

View File

@ -1,16 +1,32 @@
Name: bloaty Name: bloaty
Version: 1.1 Version: 1.1
Release: 17%{?dist} Release: 28%{?dist}
Summary: A size profiler for binaries Summary: A size profiler for binaries
# The entire source is Apache-2.0, except:
License: ASL 2.0 #
# 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 URL: https://github.com/google/bloaty
Source0: https://github.com/google/bloaty/archive/v%{version}/%{name}-%{version}.tar.gz 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 # Patch to use system versions of abseil, google-test and google-mock
Patch0: bloaty-1.1-absl.patch Patch0: bloaty-1.1-absl.patch
# Patch to fix size detection function to use 64 bit types on 32bit architectures # Patch to fix size detection function to use 64 bit types on 32bit architectures
Patch1: bloaty-1.1-longlong.patch Patch1: bloaty-1.1-longlong.patch
# Add missing #include needed on GCC13
# https://github.com/google/bloaty/pull/332
Patch2: %{url}/pull/332.patch
BuildRequires: abseil-cpp-devel BuildRequires: abseil-cpp-devel
BuildRequires: capstone-devel BuildRequires: capstone-devel
@ -22,6 +38,8 @@ BuildRequires: pkgconfig
BuildRequires: protobuf-devel BuildRequires: protobuf-devel
BuildRequires: re2-devel BuildRequires: re2-devel
BuildRequires: help2man
%description %description
Ever wondered what's making your binary big? Bloaty McBloatface will show 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 you a size profile of the binary so you can understand what's taking up
@ -32,7 +50,9 @@ libraries. Bloaty supports the ELF and Mach-O formats, and has experimental
support for WebAssembly. support for WebAssembly.
%prep %prep
%autosetup -p0 -S gendiff %autosetup -S gendiff -N
%autopatch -p0 -M 1
%autopatch -p1 -m 2
%build %build
@ -41,10 +61,12 @@ support for WebAssembly.
-DBLOATY_ENABLE_CMAKETARGETS=OFF \ -DBLOATY_ENABLE_CMAKETARGETS=OFF \
-DBUILD_TESTING=ON -DBUILD_TESTING=ON
%cmake_build %cmake_build
help2man --no-info --output=bloaty.1 %{_vpath_builddir}/bloaty
%install %install
%cmake_install %cmake_install
install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 bloaty.1
%check %check
%ctest --verbose || exit 0 %ctest --verbose || exit 0
@ -53,9 +75,45 @@ support for WebAssembly.
%license LICENSE %license LICENSE
%doc README.md how-bloaty-works.md %doc README.md how-bloaty-works.md
%{_bindir}/bloaty %{_bindir}/bloaty
%{_mandir}/man1/bloaty.1*
%changelog %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
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Mar 27 2023 Rich Mattes <richmattes@gmail.com> - 1.1-20
- Rebuild for abseil-cpp-20230125.1
* Thu Jan 26 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1-19
- Patch for GCC 13
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Aug 23 2022 Rich Mattes <richmattes@gmail.com> - 1.1-17 * Tue Aug 23 2022 Rich Mattes <richmattes@gmail.com> - 1.1-17
- Rebuilt for abseil-cpp 20220623.0 - Rebuilt for abseil-cpp 20220623.0