1
0
forked from pool/virtualbox

- Add file "fixes_for_python.patch".

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=381
This commit is contained in:
Larry Finger 2017-11-08 02:09:11 +00:00 committed by Git OBS Bridge
parent 806003d2a3
commit cdc999e54d
2 changed files with 24 additions and 0 deletions

19
fixes_for_python.patch Normal file
View File

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

View File

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