enable python agent and sdt [release 2.13.1-2mamba;Wed Jan 12 2022]
This commit is contained in:
parent
84077b3f6a
commit
e9cf48e828
9
lttng-ust-2.13.1-python3.patch
Normal file
9
lttng-ust-2.13.1-python3.patch
Normal file
@ -0,0 +1,9 @@
|
||||
diff -Naur lttng-ust-2.13.0.orig/tools/lttng-gen-tp lttng-ust-2.13.0/tools/lttng-gen-tp
|
||||
--- lttng-ust-2.13.0.orig/tools/lttng-gen-tp 2021-07-16 10:26:39.000000000 -0400
|
||||
+++ lttng-ust-2.13.0/tools/lttng-gen-tp 2021-08-19 14:23:40.013453258 -0400
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python3
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
@ -1,6 +1,6 @@
|
||||
Name: lttng-ust
|
||||
Version: 2.13.0
|
||||
Release: 1mamba
|
||||
Version: 2.13.1
|
||||
Release: 2mamba
|
||||
Summary: Library allows any C/C++ application to be instrumented for and traced by LTTng
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -8,13 +8,9 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://lttng.org
|
||||
Source: http://lttng.org/files/lttng-ust/lttng-ust-%{version}.tar.bz2
|
||||
Patch0: lttng-ust-2.13.1-python3.patch
|
||||
License: LGPL, MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
#ld-linux-x86-64.so.2()(64bit): .so link not found
|
||||
#ld-linux-x86-64.so.2(GLIBC_2.3)(64bit): .so link not found
|
||||
#libdl.so.2()(64bit): /usr/lib64/libdl.so: file not owned by any package
|
||||
#libpthread.so.0()(64bit): /usr/lib64/libpthread.so: file not owned by any package
|
||||
#librt.so.1()(64bit): /usr/lib64/librt.so: file not owned by any package
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libnuma-devel
|
||||
## AUTOBUILDREQ-END
|
||||
@ -39,14 +35,38 @@ Requires: pkg-config
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%package -n python-lttngust
|
||||
Group: System/Libraries/Python
|
||||
Summary: Python bindings for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n python-lttngust
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
autoreconf -f -i
|
||||
|
||||
%build
|
||||
%configure
|
||||
%ifarch arm aarch64
|
||||
export CPPFLAGS="-DUATOMIC_NO_LINK_ERROR"
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-python-agent \
|
||||
--with-sdt \
|
||||
PYTHON=%{__python3} \
|
||||
%ifarch arm aarch64
|
||||
--disable-numa
|
||||
%else
|
||||
--enable-numa
|
||||
%endif
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -88,7 +108,19 @@ This package contains libraries and header files for developing applications tha
|
||||
%{_mandir}/man3/tracepoint_enabled.3*
|
||||
%doc ChangeLog README.md
|
||||
|
||||
%files -n python-lttngust
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitelib}/lttngust-%{version}-py*.egg-info
|
||||
%dir %{python3_sitelib}/lttngust
|
||||
%{python3_sitelib}/lttngust/*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13.1-2mamba
|
||||
- enable python agent and sdt
|
||||
|
||||
* Sat Dec 11 2021 Automatic Build System <autodist@mambasoft.it> 2.13.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Aug 15 2021 Automatic Build System <autodist@mambasoft.it> 2.13.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user