Accepting request 880700 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/880700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gperftools?expand=0&rev=28
This commit is contained in:
Richard Brown 2021-03-29 16:21:24 +00:00 committed by Git OBS Bridge
commit e46fd2b2db
4 changed files with 34 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12f07a8ba447f12a3ae15e6e3a6ad74de35163b787c0c7b76288d7395f2f74e0
size 1598384

3
gperftools-2.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea566e528605befb830671e359118c2da718f721c27225cbbc93858c7520fee3
size 1581218

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Mar 17 15:24:53 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Update to 2.9.1:
* usage of unsupportable linux_syscall_support.h has been
removed from few places.
* Incorrect assertion failure was fixed that crashed tcmalloc
if assertions were on and sized delete was used
* there is now better backtracing support for aarch64 and riscv
x86-64 with frame pointers now also defaults to this new
"generic" frame pointer backtracer.
- Use golang version of pprof
- Split doc into subpackage
-------------------------------------------------------------------
Fri Jan 8 19:27:51 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -17,13 +17,13 @@
Name: gperftools
Version: 2.8.1
Version: 2.9.1
Release: 0
Summary: Performance Tools for C++
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://github.com/gperftools/gperftools
Source0: https://github.com/gperftools/gperftools/releases/download/gperftools-%{version}/gperftools-%{version}.tar.gz
Source0: %{url}/releases/download/gperftools-%{version}/gperftools-%{version}.tar.gz
Patch1: %{name}_fix_unassigned_malloc_in_unittest.patch
Patch2: %{name}_gcc46.patch
BuildRequires: autoconf >= 2.59
@ -33,6 +33,7 @@ BuildRequires: libtool
BuildRequires: pkgconfig
Provides: google-perftools
Obsoletes: google-perftools
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
@ -91,6 +92,16 @@ Requires: %{name}-devel = %{version}
The gperftools-devel-static package contains static libraries for developing
applications that use the gperftools package.
%package doc
Summary: Documentation for performance tools for C++
Group: Documentation/HTML
BuildArch: noarch
%description doc
Documentation for gperftools package which contains some utilities to improve and analyze the
performance of C++ programs
%prep
%autosetup -p1
@ -106,6 +117,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL"
%configure \
--with-gnu-ld \
--with-pic \
--disable-deprecated-pprof \
--docdir=%{_defaultdocdir}/%{name}
%make_build
@ -119,10 +131,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%postun -n libtcmalloc4 -p /sbin/ldconfig
%files
%{_bindir}/pprof
%{_bindir}/pprof-symbolize
%{_mandir}/man1/pprof.1%{?ext_man}
%{_docdir}/%{name}
%files -n libprofiler0
%{_libdir}/libprofiler.so.0*
@ -153,4 +162,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/libtcmalloc_minimal_debug.a
%{_libdir}/libtcmalloc_and_profiler.a
%files doc
%{_docdir}/%{name}
%changelog