[Pkg-libvirt-commits] [virt-manager] 06/08: Use /usr/bin/python

Guido Guenther agx at moszumanska.debian.org
Sat Dec 24 00:46:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to annotated tag debian/1%1.4.0-4
in repository virt-manager.

commit 6e15ef5fd5d73c532ac81febab436888c4523af0
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sat Dec 24 01:18:54 2016 +0100

    Use /usr/bin/python
    
    This makes sure we pick up the right version
---
 debian/patches/Use-usr-bin-python.patch | 85 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 86 insertions(+)

diff --git a/debian/patches/Use-usr-bin-python.patch b/debian/patches/Use-usr-bin-python.patch
new file mode 100644
index 0000000..667a79c
--- /dev/null
+++ b/debian/patches/Use-usr-bin-python.patch
@@ -0,0 +1,85 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Sat, 24 Dec 2016 01:18:30 +0100
+Subject: Use /usr/bin/python
+
+so we don't have to worry about picking up the wrong version
+---
+ setup.py             | 2 +-
+ tests/test_inject.py | 2 +-
+ virt-clone           | 2 +-
+ virt-convert         | 2 +-
+ virt-install         | 2 +-
+ virt-manager         | 2 +-
+ virt-xml             | 2 +-
+ 7 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 89916b5..af9221d 100755
+--- a/setup.py
++++ b/setup.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2
++#!/usr/bin/python
+ # Copyright (C) 2013, 2014 Red Hat, Inc.
+ 
+ import glob
+diff --git a/tests/test_inject.py b/tests/test_inject.py
+index 370584f..f0a5040 100755
+--- a/tests/test_inject.py
++++ b/tests/test_inject.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2
++#!/usr/bin/python
+ # Copyright (C) 2013, 2014 Red Hat, Inc.
+ 
+ import atexit
+diff --git a/virt-clone b/virt-clone
+index 00d0e30..e83cb9e 100755
+--- a/virt-clone
++++ b/virt-clone
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2
++#!/usr/bin/python
+ #
+ # Copyright(c) FUJITSU Limited 2007.
+ #
+diff --git a/virt-convert b/virt-convert
+index dd964f5..e2f408d 100755
+--- a/virt-convert
++++ b/virt-convert
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2
++#!/usr/bin/python
+ #
+ # Copyright 2008, 2013, 2014  Red Hat, Inc.
+ # Joey Boggs <jboggs at redhat.com>
+diff --git a/virt-install b/virt-install
+index 817f4b3..4c0c62e 100755
+--- a/virt-install
++++ b/virt-install
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2
++#!/usr/bin/python
+ #
+ # Copyright 2005-2014 Red Hat, Inc.
+ #
+diff --git a/virt-manager b/virt-manager
+index 53b7356..fc196f0 100755
+--- a/virt-manager
++++ b/virt-manager
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2
++#!/usr/bin/python
+ #
+ # Copyright (C) 2006, 2014 Red Hat, Inc.
+ # Copyright (C) 2006 Daniel P. Berrange <berrange at redhat.com>
+diff --git a/virt-xml b/virt-xml
+index 39ca18e..4889a3b 100755
+--- a/virt-xml
++++ b/virt-xml
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2
++#!/usr/bin/python
+ #
+ # Copyright 2013-2014 Red Hat, Inc.
+ # Cole Robinson <crobinso at redhat.com>
diff --git a/debian/patches/series b/debian/patches/series
index 5c2a378..34e4e58 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ virtinst/Fix-patch-to-pygrub.patch
 Mark-Jessie-as-having-qemu-guest-agent.patch
 osdict-Don-t-return-virtio1.0-net-as-a-valid-device-name.patch
 We-can-t-clone-a-VM-in-some-scenarios.patch
+Use-usr-bin-python.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/virt-manager.git



More information about the Pkg-libvirt-commits mailing list