From 3602b8fca031f4d23bb14dfcc668745a9ebd29be Mon Sep 17 00:00:00 2001 From: 19909236985 Date: Mon, 2 Nov 2020 17:08:45 +0800 Subject: [PATCH] fix lttng-gen-tp command --- lttng-gen-tp-shebang.patch | 21 +++++++++++++++++++++ lttng-ust.spec | 6 +++++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 lttng-gen-tp-shebang.patch diff --git a/lttng-gen-tp-shebang.patch b/lttng-gen-tp-shebang.patch new file mode 100644 index 0000000..2913301 --- /dev/null +++ b/lttng-gen-tp-shebang.patch @@ -0,0 +1,21 @@ +From 20e138a4e4bab0b06a99662637e808a027cd3d2e Mon Sep 17 00:00:00 2001 +From: Michael Jeanson +Date: Mon, 2 Nov 2020 15:27:21 +0800 +Subject: [PATCH] fix lttng-gen-tp + +https://src.fedoraproject.org/rpms/lttng-ust/blob/20e138a4e4bab0b06a99662637e808a027cd3d2e/f/lttng-gen-tp-shebang.patch +Signed-off-by: Michael Jeanson +--- + tools/lttng-gen-tp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp +index 6aa1bba..fd6c8ba 100755 +--- a/tools/lttng-gen-tp ++++ b/tools/lttng-gen-tp +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # + # Copyright (c) 2012 Yannick Brosseau + # diff --git a/lttng-ust.spec b/lttng-ust.spec index 3eea33c..4efa1e5 100644 --- a/lttng-ust.spec +++ b/lttng-ust.spec @@ -1,12 +1,13 @@ Name: lttng-ust Version: 2.10.1 -Release: 8 +Release: 9 Summary: LTTng Userspace Tracer library License: LGPLv2 and GPLv2 and MIT URL: https://lttng.org Source0: https://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2 Patch0: Fix-namespace-our-gettid-wrapper.patch +Patch1: lttng-gen-tp-shebang.patch BuildRequires: libuuid-devel autoconf automake libtool BuildRequires: userspace-rcu-devel >= 0.8.0 @@ -59,6 +60,9 @@ make check %{_docdir}/%{name}/* %changelog +* Mon Nov 02 2020 xinghe - 2.10.1-9 +- fix lttng-gen-tp command + * Fri Oct 30 2020 xinghe - 2.10.1-8 - remove python2 dependency -- Gitee