Sync from SUSE:SLFO:Main lttng-ust revision 839b82f309ed4dc3fbb021e33c8a24b8

This commit is contained in:
Adrian Schröter 2024-10-03 17:37:06 +02:00
parent d02be8739d
commit 69988d0cc6
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 26 08:02:10 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang macro, [bsc#1212476]
-------------------------------------------------------------------
Thu Dec 28 08:50:05 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package lttng-ust
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -108,9 +108,6 @@ applications using LTTng userspace tracing.
%prep
%autosetup -p1
# Fix Python shebang.
sed -i -e "1s|^#!.*$|#!%{_bindir}/python3|" tools/lttng-gen-tp
%build
export PYTHON=python3
%configure \
@ -124,6 +121,7 @@ export PYTHON=python3
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%python3_fix_shebang
%post -n liblttng-ust%{sover} -p /sbin/ldconfig