diff --git a/dpdk.changes b/dpdk.changes index 644780c..1c7ac05 100644 --- a/dpdk.changes +++ b/dpdk.changes @@ -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 diff --git a/dpdk.spec b/dpdk.spec index d128a32..91e5712 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -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