SHA256
1
0
forked from pool/dpdk
Dominique Leuenberger 2021-07-28 17:21:45 +00:00 committed by Git OBS Bridge
commit eb84d2e2ca
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