diff --git a/rtla.changes b/rtla.changes index 25a50d3..d4bb117 100644 --- a/rtla.changes +++ b/rtla.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 10 10:41:54 UTC 2023 - Daniel Wagner + +- 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 diff --git a/rtla.spec b/rtla.spec index 270db93..3b8cc06 100644 --- a/rtla.spec +++ b/rtla.spec @@ -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