From ead1e536d66d83b546528c32e2112085a97c8e13 Mon Sep 17 00:00:00 2001 From: Renato Botelho do Couto Date: Thu, 31 Oct 2019 13:31:07 -0500 Subject: misc: Fix python scripts shebang line Type: fix Since CentOS 8, RPM build script doesn't accept '#!/usr/bin/env python' as a valid shebang line. It requires scripts to explicitly chose between python2 or python3. Change all to use python3 as suggested by Paul Vinciguerra. Depends-On: https://gerrit.fd.io/r/23170 Signed-off-by: Renato Botelho do Couto Change-Id: Ie72af9f60fd0609e07f05b70f8d96e738b2754d1 --- test/patches/scapy-2.3.3/geneve.patch | 2 +- test/patches/scapy-2.4/geneve.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/patches') diff --git a/test/patches/scapy-2.3.3/geneve.patch b/test/patches/scapy-2.3.3/geneve.patch index 92752f1196e..6db3667b30b 100644 --- a/test/patches/scapy-2.3.3/geneve.patch +++ b/test/patches/scapy-2.3.3/geneve.patch @@ -4,7 +4,7 @@ index 0000000..e2ca888 --- /dev/null +++ b/scapy/layers/geneve.py @@ -0,0 +1,50 @@ -+#! /usr/bin/env python ++#! /usr/bin/env python3 +# (GENEVE): +# A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks + diff --git a/test/patches/scapy-2.4/geneve.patch b/test/patches/scapy-2.4/geneve.patch index 92752f1196e..6db3667b30b 100644 --- a/test/patches/scapy-2.4/geneve.patch +++ b/test/patches/scapy-2.4/geneve.patch @@ -4,7 +4,7 @@ index 0000000..e2ca888 --- /dev/null +++ b/scapy/layers/geneve.py @@ -0,0 +1,50 @@ -+#! /usr/bin/env python ++#! /usr/bin/env python3 +# (GENEVE): +# A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks + -- cgit 1.2.3-korg