File kill-env.diff of Package libinput

From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-11-28 11:01:12.978019538 +0100

Kill /usr/bin/env. We can't have random python interpreters be executed.
---
 tools/libinput-measure-touch-size        |    2 +-
 tools/libinput-measure-touchpad-pressure |    2 +-
 tools/libinput-measure-touchpad-tap      |    2 +-
 tools/libinput-measure-trackpoint-range  |    2 +-
 udev/parse_hwdb.py                       |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

Index: libinput-1.10.5/tools/libinput-measure-touch-size
===================================================================
--- libinput-1.10.5.orig/tools/libinput-measure-touch-size
+++ libinput-1.10.5/tools/libinput-measure-touch-size
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 # vim: set expandtab shiftwidth=4:
 # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
Index: libinput-1.10.5/tools/libinput-measure-touchpad-pressure
===================================================================
--- libinput-1.10.5.orig/tools/libinput-measure-touchpad-pressure
+++ libinput-1.10.5/tools/libinput-measure-touchpad-pressure
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 # vim: set expandtab shiftwidth=4:
 # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
Index: libinput-1.10.5/tools/libinput-measure-touchpad-tap
===================================================================
--- libinput-1.10.5.orig/tools/libinput-measure-touchpad-tap
+++ libinput-1.10.5/tools/libinput-measure-touchpad-tap
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 # vim: set expandtab shiftwidth=4:
 # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
Index: libinput-1.10.5/tools/libinput-measure-trackpoint-range
===================================================================
--- libinput-1.10.5.orig/tools/libinput-measure-trackpoint-range
+++ libinput-1.10.5/tools/libinput-measure-trackpoint-range
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 # vim: set expandtab shiftwidth=4:
 # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
Index: libinput-1.10.5/udev/parse_hwdb.py
===================================================================
--- libinput-1.10.5.orig/udev/parse_hwdb.py
+++ libinput-1.10.5/udev/parse_hwdb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 # vim: set expandtab shiftwidth=4:
 # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
openSUSE Build Service is sponsored by