From c89e69cbf5f666f7745e4fad7894fad0d3fec61c5ac0fee222d0ca40a605d6ea Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 14 Mar 2024 09:38:41 +0000 Subject: [PATCH] Accepting request 1157889 from home:pgajdos - remove dependency on /usr/bin/python3 using %python3_fix_shebang{,_path} macros, [bsc#1212476] OBS-URL: https://build.opensuse.org/request/show/1157889 OBS-URL: https://build.opensuse.org/package/show/Base:System/libstoragemgmt?expand=0&rev=96 --- libstoragemgmt.changes | 6 ++++++ libstoragemgmt.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/libstoragemgmt.changes b/libstoragemgmt.changes index 584915c..e544088 100644 --- a/libstoragemgmt.changes +++ b/libstoragemgmt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 14 08:34:53 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang{,_path} macros, [bsc#1212476] + ------------------------------------------------------------------- Wed Feb 21 09:50:54 UTC 2024 - Michael Vetter diff --git a/libstoragemgmt.spec b/libstoragemgmt.spec index 906aa83..4437ab9 100644 --- a/libstoragemgmt.spec +++ b/libstoragemgmt.spec @@ -300,6 +300,11 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/ %fdupes -s %{buildroot}%{python_sitelib} %fdupes -s %{buildroot}%{python_sitearch} +%python3_fix_shebang +%if 0%{?suse_version} >= 1600 +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/lsm.d/* +%endif + %if %{with test} %check if ! make check