Accepting request 1161647 from home:pgajdos

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1161647
OBS-URL: https://build.opensuse.org/package/show/devel:tools:lttng/lttng-ust?expand=0&rev=53
This commit is contained in:
Alexei Sorokin 2024-04-05 15:04:08 +00:00 committed by Git OBS Bridge
parent 174e9c4b3d
commit da44a4bfac
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) 2023 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