From fbbed847c2ebc02b72e99a6775a6c3eecca879e4 Mon Sep 17 00:00:00 2001 From: liusirui Date: Mon, 28 Feb 2022 15:38:10 +0800 Subject: [PATCH] Remove the dependency of the main package and pprof (cherry picked from commit 9c5d22cc0f60f0b3ab941491e4d67f91b66068b4) --- gperftools.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gperftools.spec b/gperftools.spec index ad566c8..bc5aa94 100644 --- a/gperftools.spec +++ b/gperftools.spec @@ -1,6 +1,6 @@ Name: gperftools Version: 2.9.1 -Release: 3 +Release: 4 Summary: high-performance malloc and performance analysis tools License: BSD @@ -18,8 +18,7 @@ Patch9005: Continue-to-release-span-until-the-end-of-one-round.patch BuildRequires: autoconf automake gcc-c++ BuildRequires: libtool libunwind-devel perl-generators -Requires: %{name}-devel = %{version}-%{release} -Requires: pprof = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} ExcludeArch: s390 @@ -52,6 +51,7 @@ thread-caching malloc() which provides by google and gperftools. %package -n pprof Summary: Analyzes CPU and heap profiles tools Requires: gv graphviz perl +Requires: %{name}-devel = %{version}-%{release} BuildArch: noarch Provides: pprof = %{version}-%{release} Provides: google-perftools = %{version}-%{release} @@ -109,6 +109,9 @@ LD_LIBRARY_PATH=./.libs make check %{_mandir}/man1/*.1.gz %changelog +* Mon Feb 28 2022 liusirui - 2.9.1-4 +- remove the dependency of the main package and pprof + * Tue Jan 11 2021 QingqingLi - 2.9.1-3 - continue to release span until the end of one round - use %{?_smp_mflags} to build -- Gitee