forked from pool/lttng-ust
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:
parent
174e9c4b3d
commit
da44a4bfac
@ -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>
|
Thu Dec 28 08:50:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lttng-ust
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -108,9 +108,6 @@ applications using LTTng userspace tracing.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
# Fix Python shebang.
|
|
||||||
sed -i -e "1s|^#!.*$|#!%{_bindir}/python3|" tools/lttng-gen-tp
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PYTHON=python3
|
export PYTHON=python3
|
||||||
%configure \
|
%configure \
|
||||||
@ -124,6 +121,7 @@ export PYTHON=python3
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
%python3_fix_shebang
|
||||||
|
|
||||||
%post -n liblttng-ust%{sover} -p /sbin/ldconfig
|
%post -n liblttng-ust%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user