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
This commit is contained in:
Martin Pluskal
2024-03-14 09:38:41 +00:00
committed by Git OBS Bridge
parent fb7b5837d5
commit c89e69cbf5
2 changed files with 11 additions and 0 deletions

View File

@@ -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 <mvetter@suse.com>

View File

@@ -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