- 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:
parent
806003d2a3
commit
cdc999e54d
19
fixes_for_python.patch
Normal file
19
fixes_for_python.patch
Normal 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 $
|
||||||
|
|
||||||
|
|
@ -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
|
Tue Nov 7 16:34:21 UTC 2017 - Larry.Finger@lwfinger.net
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user