Accepting request 907660 from home:StevenK:branches:network

- Normalize all Python script shebangs to use Python 3.

OBS-URL: https://build.opensuse.org/request/show/907660
OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=127
This commit is contained in:
Dirk Mueller 2021-07-28 14:45:20 +00:00 committed by Git OBS Bridge
parent f419022be8
commit 7da056c76f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 22 06:00:37 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Normalize all Python script shebangs to use Python 3.
-------------------------------------------------------------------
Fri May 14 11:58:06 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

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