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:
parent
f419022be8
commit
7da056c76f
@ -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>
|
Fri May 14 11:58:06 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dpdk
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# 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
|
ln -s %{_sbindir}/dpdk-devbind %{buildroot}%{_sbindir}/dpdk_nic_bind
|
||||||
|
|
||||||
# Fix interpreter
|
# Fix interpreter
|
||||||
|
find %{buildroot} -name "*.py" -exec sed -i 's|python$|python3|' \{\} +
|
||||||
find %{buildroot} -name "*.py" -exec sed -i 's|env python|python|' \{\} +
|
find %{buildroot} -name "*.py" -exec sed -i 's|env python|python|' \{\} +
|
||||||
|
|
||||||
# Remove duplicates
|
# Remove duplicates
|
||||||
|
Loading…
Reference in New Issue
Block a user