- remove dependency on /usr/bin/python3 using
%python3_fix_shebang and %python3_fix_shebang_path macros [bsc#1212476] OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=152
This commit is contained in:
parent
21fc558ad0
commit
7c427ced3d
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 14:21:26 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- remove dependency on /usr/bin/python3 using
|
||||
%python3_fix_shebang and %python3_fix_shebang_path macros
|
||||
[bsc#1212476]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 08:50:25 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
|
@ -259,8 +259,9 @@ ln -s %{_bindir}/dpdk-devbind.py %{buildroot}%{_sbindir}/dpdk_nic_bind
|
||||
%endif
|
||||
|
||||
# Fix interpreter
|
||||
find %{buildroot} -name "*.py" -exec sed -i 's|python$|python3|' \{\} +
|
||||
find %{buildroot} -name "*.py" -exec sed -i 's|env python|python|' \{\} +
|
||||
%python3_fix_shebang
|
||||
%python3_fix_shebang_path %{buildroot}%{_datadir}/%{name}/examples/ipsec-secgw/test/*
|
||||
%python3_fix_shebang_path %{buildroot}%{_datadir}/%{name}/examples/pipeline/examples/*
|
||||
|
||||
# Remove duplicates
|
||||
%fdupes %{buildroot}/%docdir
|
||||
|
Loading…
Reference in New Issue
Block a user