Remove the dependency of the main package and pprof

This commit is contained in:
liusirui 2022-02-28 15:38:10 +08:00
parent debaa52925
commit 032b95bd1a

View File

@ -1,6 +1,6 @@
Name: gperftools
Version: 2.9.1
Release: 2
Release: 3
Summary: high-performance malloc and performance analysis tools
License: BSD
@ -16,8 +16,7 @@ Patch9002: avoid-exceed-int-range.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
@ -50,6 +49,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}
@ -107,6 +107,9 @@ LD_LIBRARY_PATH=./.libs make check
%{_mandir}/man1/*.1.gz
%changelog
* Mon Feb 28 2022 liusirui <liusirui@huawei.com> - 2.9.1-3
- remove the dependency of the main package and pprof
* Fri Dec 3 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2.9.1-2
- rebuild package