Compare commits

..

No commits in common. "rawhide" and "f39" have entirely different histories.
rawhide ... f39

View File

@ -1,23 +1,10 @@
Name: bloaty Name: bloaty
Version: 1.1 Version: 1.1
Release: 28%{?dist} Release: 22%{?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
@ -38,8 +25,6 @@ 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
@ -52,7 +37,7 @@ support for WebAssembly.
%prep %prep
%autosetup -S gendiff -N %autosetup -S gendiff -N
%autopatch -p0 -M 1 %autopatch -p0 -M 1
%autopatch -p1 -m 2 %patch2 -p1
%build %build
@ -61,12 +46,10 @@ 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
@ -75,30 +58,9 @@ install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 bloaty.1
%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 * Wed Aug 30 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1-22
- Rebuilt for abseil-cpp 20230802.0 - Rebuilt for abseil-cpp 20230802.0