Only bundle libunwind on RHEL like systems

Related: RHEL-44892
This commit is contained in:
Tomas Popela 2024-07-08 11:02:07 +02:00
parent 05dccd9a34
commit ad91e65543

View File

@ -1,6 +1,6 @@
%global glib2_version 2.76.0
%global tarball_version %%(echo %{version} | tr '~' '.')
%global bundled_libunwind 1
%global bundled_libunwind %{defined rhel}
%if 0%{?bundled_libunwind}
%global libunwind_version 1.8.1
@ -9,7 +9,7 @@
Name: sysprof
Version: 46.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A system-wide Linux profiler
License: GPL-2.0-or-later AND GPL-3.0-or-later AND CC-BY-SA-4.0 AND BSD-2-Clause-Patent
@ -212,6 +212,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%changelog
* Mon Jul 08 2024 Tomas Popela <tpopela@redhat.com> - 46.0-4
- Only bundle libunwind on RHEL like systems
* Tue Jul 02 2024 Christian Hergert <chergert@redhat.com> - 46.0-3
- Use static libunwind for Sysprof tracers