diff --git a/systemtap-docs.spec b/systemtap-docs.spec index 597fe20..63afdca 100644 --- a/systemtap-docs.spec +++ b/systemtap-docs.spec @@ -1,7 +1,7 @@ # # spec file for package systemtap-docs # -# 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 diff --git a/systemtap-dtrace.changes b/systemtap-dtrace.changes index b50b81d..5c31259 100644 --- a/systemtap-dtrace.changes +++ b/systemtap-dtrace.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 8 15:56:21 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang macro, [bsc#1212476] + ------------------------------------------------------------------- Sat Dec 30 13:48:44 UTC 2023 - Florian "sp1rit" diff --git a/systemtap-dtrace.spec b/systemtap-dtrace.spec index 8e1f414..03a085b 100644 --- a/systemtap-dtrace.spec +++ b/systemtap-dtrace.spec @@ -1,7 +1,7 @@ # # spec file for package systemtap-dtrace # -# 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 @@ -32,6 +32,7 @@ Source2: systemtap.keyring Source3: README-BEFORE-ADDING-PATCHES Source4: README-KEYRING +BuildRequires: python-rpm-macros BuildArch: noarch %description @@ -51,6 +52,7 @@ sed s=@preferred_python@=%{_bindir}/python3= dtrace.in |sed s=@prefix@=%{_prefix %install mkdir -p %{buildroot}%{_bindir} install -m 755 dtrace %{buildroot}%{_bindir} +%python3_fix_shebang %files %defattr(-,root,root) diff --git a/systemtap-headers.spec b/systemtap-headers.spec index a1450b8..5f398b4 100644 --- a/systemtap-headers.spec +++ b/systemtap-headers.spec @@ -1,7 +1,7 @@ # # spec file for package systemtap-headers # -# 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 diff --git a/systemtap.changes b/systemtap.changes index 513f8c2..15107e9 100644 --- a/systemtap.changes +++ b/systemtap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 8 15:56:21 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang macro, [bsc#1212476] + ------------------------------------------------------------------- Sat Dec 30 13:48:44 UTC 2023 - Florian "sp1rit" diff --git a/systemtap.spec b/systemtap.spec index b7e679d..d7f5c24 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -1,7 +1,7 @@ # # spec file for package systemtap # -# 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 @@ -127,6 +127,7 @@ mkdir -p %{buildroot}%{_tmpfilesdir} install -m 644 %{SOURCE5} %{buildroot}%{_tmpfilesdir} %fdupes %{buildroot}%{_datadir}/%{name} +%python3_fix_shebang %find_lang systemtap