From 95ea5d9fb66835dd9738ee4259529debdcc2e267853e74d24d64113c5b8c8921 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Thu, 22 Feb 2024 10:57:37 +0000 Subject: [PATCH] Accepting request 1148137 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/1148137 OBS-URL: https://build.opensuse.org/package/show/Archiving/zchunk?expand=0&rev=51 --- zchunk.changes | 6 ++++++ zchunk.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/zchunk.changes b/zchunk.changes index 7bcd1e4..5741df8 100644 --- a/zchunk.changes +++ b/zchunk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 13:21:07 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path macro, [bsc#1212476] + ------------------------------------------------------------------- Mon Jan 15 10:51:03 UTC 2024 - Dirk Müller diff --git a/zchunk.spec b/zchunk.spec index 0b37c3b..c32dde7 100644 --- a/zchunk.spec +++ b/zchunk.spec @@ -87,6 +87,9 @@ rm -rf src/lib/hash/sha* # Install dictionary generation script mkdir -p %{buildroot}%{_libexecdir} install -p contrib/gen_xml_dictionary %{buildroot}%{_libexecdir}/zck_gen_xml_dictionary +%if %{suse_version} >= 1600 +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/* +%endif %check %meson_test