diff --git a/dpdk.changes b/dpdk.changes index cd83339..20eef3c 100644 --- a/dpdk.changes +++ b/dpdk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 22 06:00:37 UTC 2021 - Steve Kowalik + +- Normalize all Python script shebangs to use Python 3. + ------------------------------------------------------------------- Fri May 14 11:58:06 UTC 2021 - Ferdinand Thiessen diff --git a/dpdk.spec b/dpdk.spec index a233210..b9987f3 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -1,5 +1,5 @@ # -# spec file for package dpdk +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -338,6 +338,7 @@ ln -s %{_bindir}/dpdk-procinfo %{buildroot}%{_bindir}/dpdk_proc_info ln -s %{_sbindir}/dpdk-devbind %{buildroot}%{_sbindir}/dpdk_nic_bind # Fix interpreter +find %{buildroot} -name "*.py" -exec sed -i 's|python$|python3|' \{\} + find %{buildroot} -name "*.py" -exec sed -i 's|env python|python|' \{\} + # Remove duplicates