SHA256
1
0
forked from pool/rtla

Accepting request 1057626 from home:wagi:branches:benchmark

- Add missing libtraceevent linker argument (workaround until
  the kernel list the lib dependency)
- Drop version dependencies on kernel and the libraries

OBS-URL: https://build.opensuse.org/request/show/1057626
OBS-URL: https://build.opensuse.org/package/show/benchmark/rtla?expand=0&rev=7
This commit is contained in:
Daniel Wagner 2023-01-10 14:15:07 +00:00 committed by Git OBS Bridge
parent acd21e777b
commit 80c0c11279
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 10 10:41:54 UTC 2023 - Daniel Wagner <daniel.wagner@suse.com>
- Add missing libtraceevent linker argument (workaround until
the kernel list the lib dependency)
- Drop version dependencies on kernel and the libraries
-------------------------------------------------------------------
Thu Oct 6 09:40:30 UTC 2022 - Andreas Schwab <schwab@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package rtla
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,9 +24,9 @@ Release: 0
Summary: Real-Time Linux Analysis tools
License: GPL-2.0-only
URL: https://www.kernel.org/
BuildRequires: kernel-source >= 5.17
BuildRequires: libtraceevent-devel >= 1.5
BuildRequires: libtracefs-devel >= 1.3
BuildRequires: kernel-source
BuildRequires: libtraceevent-devel
BuildRequires: libtracefs-devel
BuildRequires: procps-devel
BuildRequires: python3-docutils
@ -49,6 +49,8 @@ There is no reason to install this package.
%prep
(cd %{_prefix}/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile arch/*/{include,lib,Makefile} lib Documentation/tools/rtla) | tar -xf -
# Workaround for missing lib dependency
sed -i 's/--libs libtracefs/--libs libtracefs libtraceevent/' tools/tracing/rtla/Makefile
%build
cd tools/tracing/rtla