!7 fix lttng-gen-tp command
From: @xinghe_1 Reviewed-by: @wangbin224 Signed-off-by: @wangbin224
This commit is contained in:
commit
e11299da46
21
lttng-gen-tp-shebang.patch
Normal file
21
lttng-gen-tp-shebang.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
From 20e138a4e4bab0b06a99662637e808a027cd3d2e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Jeanson <mjeanson@efficios.com>
|
||||||
|
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 <mjeanson@efficios.com>
|
||||||
|
---
|
||||||
|
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 <yannick.brosseau@gmail.com>
|
||||||
|
#
|
||||||
@ -1,12 +1,13 @@
|
|||||||
Name: lttng-ust
|
Name: lttng-ust
|
||||||
Version: 2.10.1
|
Version: 2.10.1
|
||||||
Release: 8
|
Release: 9
|
||||||
Summary: LTTng Userspace Tracer library
|
Summary: LTTng Userspace Tracer library
|
||||||
License: LGPLv2 and GPLv2 and MIT
|
License: LGPLv2 and GPLv2 and MIT
|
||||||
URL: https://lttng.org
|
URL: https://lttng.org
|
||||||
|
|
||||||
Source0: https://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2
|
Source0: https://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2
|
||||||
Patch0: Fix-namespace-our-gettid-wrapper.patch
|
Patch0: Fix-namespace-our-gettid-wrapper.patch
|
||||||
|
Patch1: lttng-gen-tp-shebang.patch
|
||||||
|
|
||||||
BuildRequires: libuuid-devel autoconf automake libtool
|
BuildRequires: libuuid-devel autoconf automake libtool
|
||||||
BuildRequires: userspace-rcu-devel >= 0.8.0
|
BuildRequires: userspace-rcu-devel >= 0.8.0
|
||||||
@ -59,6 +60,9 @@ make check
|
|||||||
%{_docdir}/%{name}/*
|
%{_docdir}/%{name}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 02 2020 xinghe <xinghe1@huawei.com> - 2.10.1-9
|
||||||
|
- fix lttng-gen-tp command
|
||||||
|
|
||||||
* Fri Oct 30 2020 xinghe <xinghe1@huawei.com> - 2.10.1-8
|
* Fri Oct 30 2020 xinghe <xinghe1@huawei.com> - 2.10.1-8
|
||||||
- remove python2 dependency
|
- remove python2 dependency
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user