From f71442e95259f19824571992a1548fed527c776c3d7bb58057e0ce51b4e1b9a8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 9 May 2022 11:08:10 +0000 Subject: [PATCH] Accepting request 975769 from openSUSE:Factory:RISCV - Enable use of libunwind on riscv64 OBS-URL: https://build.opensuse.org/request/show/975769 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gperftools?expand=0&rev=60 --- gperftools.changes | 5 +++++ gperftools.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gperftools.changes b/gperftools.changes index 5d0aba4..c3a40ff 100644 --- a/gperftools.changes +++ b/gperftools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 9 08:57:17 UTC 2022 - Andreas Schwab + +- Enable use of libunwind on riscv64 + ------------------------------------------------------------------- Sat May 22 19:21:49 UTC 2021 - Callum Farmer diff --git a/gperftools.spec b/gperftools.spec index 588894e..93a2a19 100644 --- a/gperftools.spec +++ b/gperftools.spec @@ -1,7 +1,7 @@ # # spec file for package gperftools # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,9 +36,9 @@ Obsoletes: google-perftools < %{version} Requires: pprof # based on basictypes.h in the source tree ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le %{arm} aarch64 mips s390x riscv64 -%ifnarch s390x s390 riscv64 +%ifnarch s390x s390 BuildRequires: pkgconfig(libunwind) -%ifarch %{ix86} x86_64 %{arm} aarch64 mips +%ifarch %{ix86} x86_64 %{arm} aarch64 mips riscv64 BuildRequires: pkgconfig(libunwind-coredump) %endif BuildRequires: pkgconfig(libunwind-generic) @@ -108,10 +108,10 @@ Requires: %{name} = %{version} Requires: libprofiler0 = %{version} Requires: libstdc++-devel Requires: libtcmalloc4 = %{version} +Requires: libtcmalloc_and_profiler4 = %{version} Requires: libtcmalloc_debug4 = %{version} Requires: libtcmalloc_minimal4 = %{version} Requires: libtcmalloc_minimal_debug4 = %{version} -Requires: libtcmalloc_and_profiler4 = %{version} Provides: google-perftools-devel = %{version} Obsoletes: google-perftools-devel < %{version} @@ -137,7 +137,6 @@ BuildArch: noarch Documentation for gperftools package which contains some utilities to improve and analyze the performance of C++ programs - %prep %autosetup -p1