SHA256
1
0
forked from pool/rtla

Accepting request 991063 from benchmark

OBS-URL: https://build.opensuse.org/request/show/991063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtla?expand=0&rev=2
This commit is contained in:
Richard Brown 2022-07-26 17:45:10 +00:00 committed by Git OBS Bridge
commit 5ff788e154
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 25 14:20:41 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Suppress stripping of installed binaries
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 11 17:07:20 UTC 2022 - Daniel Wagner <daniel.wagner@suse.com> Fri Feb 11 17:07:20 UTC 2022 - Daniel Wagner <daniel.wagner@suse.com>

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define version %(rpm -q --qf '%%{VERSION}' kernel-source) %define version %(rpm -q --qf '%%{VERSION}' kernel-source)
Name: rtla Name: rtla
@ -23,10 +24,10 @@ Release: 0
Summary: Real-Time Linux Analysis tools Summary: Real-Time Linux Analysis tools
License: GPL-2.0-only License: GPL-2.0-only
URL: https://www.kernel.org/ URL: https://www.kernel.org/
BuildRequires: libtracefs-devel >= 1.3
BuildRequires: libtraceevent-devel >= 1.5
BuildRequires: procps-devel
BuildRequires: kernel-source >= 5.17 BuildRequires: kernel-source >= 5.17
BuildRequires: libtraceevent-devel >= 1.5
BuildRequires: libtracefs-devel >= 1.3
BuildRequires: procps-devel
BuildRequires: python3-docutils BuildRequires: python3-docutils
%description %description
@ -36,18 +37,16 @@ testing Linux as a black box, rtla leverages kernel tracing
capabilities to provide precise information about the properties capabilities to provide precise information about the properties
and root causes of unexpected results. and root causes of unexpected results.
%prep %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 - (cd %{_prefix}/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile arch/*/{include,lib,Makefile} lib Documentation/tools/rtla) | tar -xf -
%build %build
cd tools/tracing/rtla cd tools/tracing/rtla
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
cd tools/tracing/rtla cd tools/tracing/rtla
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot} STRIP=true
# Fixup symlinks as they are pointing to DESTDIR instead prefix # Fixup symlinks as they are pointing to DESTDIR instead prefix
rm %{buildroot}%{_bindir}/osnoise rm %{buildroot}%{_bindir}/osnoise