!18 upgrade version to 1.5.11

From: @han_hui_hui 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2024-02-18 08:18:51 +00:00 committed by Gitee
commit 44a274d933
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 7 additions and 33 deletions

BIN
babeltrace-1.5.11.tar.bz2 Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,14 @@
Name: babeltrace
Version: 1.5.8
Release: 6
Version: 1.5.11
Release: 1
Summary: Common Trace Format Babel Tower
License: MIT and GPLv2
License: MIT AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LGPL-2.1-only AND BSD-4-Clause-UC
URL: https://www.efficios.com/babeltrace
Source0: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
Patch9000: backport-python3-Mapping-function-change-lead-to-build-failed.patch
BuildRequires: bison >= 2.4 flex >= 2.5.35 glib2-devel >= 2.22.0
BuildRequires: popt-devel >= 1.13 swig >= 2.0 elfutils-devel >= 0.154
BuildRequires: libuuid-devel python3-devel libtool gcc perl-Test-Harness
BuildRequires: libuuid-devel python3-devel python3-setuptools libtool gcc perl-Test-Harness
Provides: lib%{name}
Obsoletes: lib%{name}
@ -87,6 +85,9 @@ make check
%{_mandir}/man1/*.1.gz
%changelog
* Sun Feb 4 2024 hanhuihui <hanhuihui5@huawei.com> - 1.5.11-1
- upgrade version to 1.5.11
* Wed Aug 03 2022 wangkerong <wangkerong@h-partners.com> - 1.5.8-6
- revert remove rpath

View File

@ -1,27 +0,0 @@
From a01c13636e229fb7766123c9597ffcecfe308c5d Mon Sep 17 00:00:00 2001
From: hanhui <hanhui15@h-partners.com>
Date: Sat, 16 Apr 2022 08:58:37 +0800
Subject: [PATCH] python3.10,Mapping function change lead to babeltrace build failed
---
bindings/python/babeltrace/babeltrace.i.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/python/babeltrace/babeltrace.i.in b/bindings/python/babeltrace/babeltrace.i.in
index a773e9b..7cd3855 100644
--- a/bindings/python/babeltrace/babeltrace.i.in
+++ b/bindings/python/babeltrace/babeltrace.i.in
@@ -672,8 +672,8 @@ class CTFScope:
_scopes = [CTFScope.EVENT_FIELDS, CTFScope.EVENT_CONTEXT, CTFScope.STREAM_EVENT_CONTEXT,
CTFScope.STREAM_EVENT_HEADER, CTFScope.STREAM_PACKET_CONTEXT, CTFScope.TRACE_PACKET_HEADER]
-import collections
-class Event(collections.Mapping):
+import collections.abc
+class Event(collections.abc.Mapping):
"""
This class represents an event from the trace.
It is obtained using the TraceCollection generator functions.
--
2.33.0