From eb93a3ce59422165822f28eae402ae9b5fd10a34 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 22 Aug 2017 14:47:00 +0100 Subject: [PATCH] Force python3 for kvm_stat because we can't dep (rhbz 1456722) --- force-python3-in-kvm_stat.patch | 22 ++++++++++++++++++++++ kernel.spec | 6 ++++++ 2 files changed, 28 insertions(+) create mode 100644 force-python3-in-kvm_stat.patch diff --git a/force-python3-in-kvm_stat.patch b/force-python3-in-kvm_stat.patch new file mode 100644 index 000000000..38fca1b3c --- /dev/null +++ b/force-python3-in-kvm_stat.patch @@ -0,0 +1,22 @@ +From fc6a72140ef515447743c840674b1aa86b1a4812 Mon Sep 17 00:00:00 2001 +From: Fedora Kernel Team +Date: Tue, 25 Jul 2017 12:38:46 -0500 +Subject: [PATCH] Force python3 in kvm_stat + +--- + tools/kvm/kvm_stat/kvm_stat | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat +index 8f74ed8..12a8cbb 100755 +--- a/tools/kvm/kvm_stat/kvm_stat ++++ b/tools/kvm/kvm_stat/kvm_stat +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python3 + # + # top-like utility for displaying kvm statistics + # +-- +2.9.4 + diff --git a/kernel.spec b/kernel.spec index 6c9a1f32e..94b1c1de3 100644 --- a/kernel.spec +++ b/kernel.spec @@ -529,6 +529,9 @@ Patch002: 0001-iio-Use-event-header-from-kernel-tree.patch # Standalone patches # 100 - Generic long running patches +# Force python3 +Patch105: force-python3-in-kvm_stat.patch + Patch110: lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch Patch111: input-kill-stupid-messages.patch @@ -2202,6 +2205,9 @@ fi # # %changelog +* Tue Aug 22 2017 Peter Robinson +- Force python3 for kvm_stat because we can't dep (rhbz 1456722) + * Mon Aug 21 2017 Justin M. Forbes - 4.13.0-0.rc6.git0.1 - Disable debugging options. - Linux v4.13-rc6