From f106dfe08eba0acbc3cc734add31f2b284d5451e1521532937370918ff93b8e5 Mon Sep 17 00:00:00 2001 From: Simon Lees Date: Sun, 16 Jun 2024 09:46:47 +0000 Subject: [PATCH] Accepting request 1180905 from home:pgajdos - remove dependency on /usr/bin/python3 using %python3_fix_shebang_path macro, [bsc#1212476] OBS-URL: https://build.opensuse.org/request/show/1180905 OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=95 --- fish.changes | 6 ++++++ fish.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/fish.changes b/fish.changes index 2c5c67f..3000359 100644 --- a/fish.changes +++ b/fish.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 14 12:38:33 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path macro, [bsc#1212476] + ------------------------------------------------------------------- Wed Jun 12 15:55:31 UTC 2024 - Elisei Roca diff --git a/fish.spec b/fish.spec index 6c5578c..1719f4c 100644 --- a/fish.spec +++ b/fish.spec @@ -83,6 +83,10 @@ rm %{buildroot}/%{_datadir}/doc/packages/fish/.buildinfo %suse_update_desktop_file -G "Command-line interpreter" fish TerminalEmulator +%if %{suse_version} >= 1600 +%python3_fix_shebang_path %{buildroot}/%{_datadir}/%{name}/tools/*.py +%endif + %check pushd build %make_build test