diff --git a/fixes_for_python.patch b/fixes_for_python.patch new file mode 100644 index 0000000..1f6953b --- /dev/null +++ b/fixes_for_python.patch @@ -0,0 +1,19 @@ +To eliminate an rpmlint error, the shebang for this script should be +changed to use pythin directly, rather than through env. + +When openSUSE switches to Python3, the shebang below should be changed +to "#!/usr/bin/python3". + +Larry Finger + +Index: VirtualBox-5.1.30/src/VBox/Frontends/VBoxShell/vboxshell.py +=================================================================== +--- VirtualBox-5.1.30.orig/src/VBox/Frontends/VBoxShell/vboxshell.py ++++ VirtualBox-5.1.30/src/VBox/Frontends/VBoxShell/vboxshell.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python + # -*- coding: utf-8 -*- + # $Id: vboxshell.py $ + + diff --git a/virtualbox.changes b/virtualbox.changes index 1673b44..df8df87 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 8 02:08:27 UTC 2017 - Larry.Finger@lwfinger.net + +- Add file "fixes_for_python.patch". + ------------------------------------------------------------------- Tue Nov 7 16:34:21 UTC 2017 - Larry.Finger@lwfinger.net