SHA256
1
0
forked from pool/lvm2
lvm2/tests-specify-python3-as-the-script-interpreter.patch
Gang He 9b722c3a2d Accepting request 630677 from home:ganghe:branches:openSUSE:Factory
- Update to LVM2.2.02.180
- Drop the upstream patches
 - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch
 - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
 - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
 - bug-1095960_dev_io-no-discard-in-testmode.patch
- Refresh patches
 + bsc1080299-detect-clvm-properly.patch
 + bug-950089_test-fix-lvm2-testsuite-build-error.patch
- Fix cmirrord LV creation/activation failure (bsc#1091863)
- Fix that pvmove does not work (bsc#1080299)
- Fix package name for modprobe during build (bsc#1102668)
- Fix building error due to the script interpreter
 + tests-specify-python3-as-the-script-interpreter.patch
- Update to LVM2.2.02.180
- Drop the upstream patches
 - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch
 - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
 - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
 - bug-1095960_dev_io-no-discard-in-testmode.patch
- Refresh patches
 + bsc1080299-detect-clvm-properly.patch
 + bug-950089_test-fix-lvm2-testsuite-build-error.patch
- Fix cmirrord LV creation/activation failure (bsc#1091863)
- Fix that pvmove does not work (bsc#1080299)
- Fix package name for modprobe during build (bsc#1102668)
- Fix building error due to the script interpreter
 + tests-specify-python3-as-the-script-interpreter.patch
- Update to LVM2.2.02.180
- Drop the upstream patches
 - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch
 - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch
 - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch
 - bug-1095960_dev_io-no-discard-in-testmode.patch
- Refresh patches
 + bsc1080299-detect-clvm-properly.patch
 + bug-950089_test-fix-lvm2-testsuite-build-error.patch
- Fix cmirrord LV creation/activation failure (bsc#1091863)
- Fix that pvmove does not work (bsc#1080299)
- Fix package name for modprobe during build (bsc#1102668)
- Fix building error due to the script interpreter
 + tests-specify-python3-as-the-script-interpreter.patch

OBS-URL: https://build.opensuse.org/request/show/630677
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=227
2018-08-21 03:13:03 +00:00

28 lines
772 B
Diff

From 3f768d29ceb5427b6e8de4fe35e2c1001409d750 Mon Sep 17 00:00:00 2001
From: Gang He <ghe@suse.com>
Date: Wed, 20 Jun 2018 14:04:52 +0800
Subject: [PATCH] tests: specify python3 as the script interpreter
specify /usr/bin/python3 as the script interpreter in
python_lvm_unit.py.in file, otherwise, there will be a building
error.
Signed-off-by: Gang He <ghe@suse.com>
---
test/api/python_lvm_unit.py.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/api/python_lvm_unit.py.in b/test/api/python_lvm_unit.py.in
index 78ced7e31..c6a7c9905 100755
--- a/test/api/python_lvm_unit.py.in
+++ b/test/api/python_lvm_unit.py.in
@@ -1,4 +1,4 @@
-#!@PYTHON@
+#!/usr/bin/python3
# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved.
#
--
2.12.3