From ff04b6ec2df9ae6d6b7dafcc8e82431933cda746136df3fb09dbcb60eaec0603 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Mon, 25 Jul 2022 15:06:19 +0000 Subject: [PATCH] Accepting request 991055 from home:Andreas_Schwab:Factory - Suppress stripping of installed binaries OBS-URL: https://build.opensuse.org/request/show/991055 OBS-URL: https://build.opensuse.org/package/show/benchmark/rtla?expand=0&rev=3 --- rtla.changes | 5 +++++ rtla.spec | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/rtla.changes b/rtla.changes index 68cc928..d190460 100644 --- a/rtla.changes +++ b/rtla.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 25 14:20:41 UTC 2022 - Andreas Schwab + +- Suppress stripping of installed binaries + ------------------------------------------------------------------- Fri Feb 11 17:07:20 UTC 2022 - Daniel Wagner diff --git a/rtla.spec b/rtla.spec index a20a1c4..07c7031 100644 --- a/rtla.spec +++ b/rtla.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define version %(rpm -q --qf '%%{VERSION}' kernel-source) Name: rtla @@ -23,10 +24,10 @@ Release: 0 Summary: Real-Time Linux Analysis tools License: GPL-2.0-only URL: https://www.kernel.org/ -BuildRequires: libtracefs-devel >= 1.3 -BuildRequires: libtraceevent-devel >= 1.5 -BuildRequires: procps-devel BuildRequires: kernel-source >= 5.17 +BuildRequires: libtraceevent-devel >= 1.5 +BuildRequires: libtracefs-devel >= 1.3 +BuildRequires: procps-devel BuildRequires: python3-docutils %description @@ -36,18 +37,16 @@ testing Linux as a black box, rtla leverages kernel tracing capabilities to provide precise information about the properties and root causes of unexpected results. - %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 - - %build cd tools/tracing/rtla make %{?_smp_mflags} %install cd tools/tracing/rtla -make install DESTDIR=%{buildroot} +make install DESTDIR=%{buildroot} STRIP=true # Fixup symlinks as they are pointing to DESTDIR instead prefix rm %{buildroot}%{_bindir}/osnoise