Hello community,
here is the log from the commit of package google-perftools
checked in at Wed Sep 24 01:45:55 CEST 2008.
--------
--- google-perftools/google-perftools.changes 2007-10-24 17:53:44.000000000 +0200
+++ /d/STABLE/google-perftools/google-perftools.changes 2008-09-19 17:12:01.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep 19 15:10:33 CEST 2008 - cgardner@suse.de
+
+- Update to 0.98. Builds and runs only on ix86, x86_64 and ppc.
+
+-------------------------------------------------------------------
Old:
----
google.m4
google-perftools-0.8.tar.gz
google-perftools_build_on_s390.patch
google-perftools_fix_memset_call_in_test_progs.patch
google-perftools_fix_random_returns.patch
google-perftools_fix_string_compare.patch
google-perftools_fix_syscalls.patch
google-perftools_libunwind_for_x86-64.patch
New:
----
google-perftools-0.98.tar.bz2
google-perftools-fix_dirent_header.patch
google-perftools-memcmp_from_string_h.patch
google-perftools-ppc_asm_stat_h_old.patch
google-perftools-ppc_asm_stat_h.patch
google-perftools_stacktrace_env.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ google-perftools.spec ++++++
--- /var/tmp/diff_new_pack.R21035/_old 2008-09-24 01:45:39.000000000 +0200
+++ /var/tmp/diff_new_pack.R21035/_new 2008-09-24 01:45:39.000000000 +0200
@@ -1,34 +1,51 @@
#
-# spec file for package google-perftools (Version 0.8)
+# spec file for package google-perftools (Version 0.98)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+# needsrootforbuild
+
Name: google-perftools
-Version: 0.8
-Release: 48
+Version: 0.98
+Release: 1
Group: System/Libraries
License: BSD 3-Clause
Url: http://goog-perftools.sourceforge.net
-Source0: %{name}-%{version}.tar.gz
-Source1: google.m4
-Patch0: %{name}_fix_random_returns.patch
-Patch1: %{name}_fix_syscalls.patch
-Patch2: %{name}_build_on_s390.patch
-Patch3: %{name}_fix_string_compare.patch
+Source0: %{name}-%{version}.tar.bz2
+# Source1: google.m4
+# Patch0: %{name}_fix_random_returns.patch
+# Patch1: %{name}_fix_syscalls.patch
+# Patch2: %{name}_build_on_s390.patch
+# Patch3: %{name}_fix_string_compare.patch
Patch4: %{name}-fix_docdir.patch
-Patch5: %{name}_libunwind_for_x86-64.patch
-Patch6: %{name}_fix_memset_call_in_test_progs.patch
+# Patch5: %{name}_libunwind_for_x86-64.patch
+# Patch6: %{name}_fix_memset_call_in_test_progs.patch
+Patch7: %{name}-memcmp_from_string_h.patch
+# Patch8: %{name}_stacktrace_env.patch
+Patch9: %{name}-fix_dirent_header.patch
+Patch10: %{name}-ppc_asm_stat_h.patch
BuildRequires: gcc-c++
-%ifarch x86_64
-BuildRequires: libunwind-devel
+# Can't use libunwind. See bnc#393927 and bnc#395623
+%ifarch x86_64 ia64 ppc ppc64 s390 s390x
+%define no_libunwind_on_64 "-DNO_TCMALLOC_SAMPLES"
+%define no_libunwind_on_64_config "--enable-frame-pointers"
+%else
+%define no_libunwind_on_64 ""
+%define no_libunwind_on_64_config ""
%endif
-#Requires:
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Performance Tools for C++
@@ -40,9 +57,10 @@
%package devel
+License: BSD 3-Clause
Group: System/Libraries
Summary: Performance tools for C++
-Requires: libstdc++-devel google-perftools
+Requires: libstdc++-devel, google-perftools = %{version}
%description devel
The google-perftools-devel package contains static and debug libraries
@@ -53,30 +71,30 @@
%prep
%setup
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+#patch0 -p1
+#patch1 -p1
+#patch2 -p1
+#patch3 -p1
%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-install -d aclocal/
-install %{SOURCE1} aclocal/
-rm libtool
+#patch5 -p1
+#patch6 -p1
+%patch7 -p1
+#patch8 -p1
+%patch9 -p1
+%patch10 -p1
+# install -d aclocal/
+# install %{SOURCE1} aclocal/
+# rm libtool
%build
autoreconf -fi
-./configure CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
- CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
+./configure CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %no_libunwind_on_64" \
+ CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %no_libunwind_on_64" \
--libdir=%_libdir \
--mandir=%_mandir \
--prefix=%_prefix \
- --with-gnu-ld --with-pic
-%ifarch x86_64
-make EXTRA_LIBADD=-lunwind-x86_64
-%else
+ --with-gnu-ld --with-pic %no_libunwind_on_64_config
make
-%endif
%install
make DESTDIR=$RPM_BUILD_ROOT install
@@ -92,7 +110,7 @@
%defattr(-,root,root)
/usr/bin/pprof
%_libdir/libprofiler.so.0*
-%_libdir/libstacktrace.so.0*
+# %_libdir/libstacktrace.so.0* # libstacktrace.so got removed in 0.96
%_libdir/libtcmalloc.so.0*
%_libdir/libtcmalloc_minimal.so.0*
%_mandir/man1/pprof.1.gz
@@ -104,10 +122,14 @@
/usr/share/doc/packages/%{name}/NEWS
/usr/share/doc/packages/%{name}/README
/usr/share/doc/packages/%{name}/TODO
-/usr/share/doc/packages/%{name}/cpu_profiler.html
+/usr/share/doc/packages/%{name}/README.windows
+/usr/share/doc/packages/%{name}/cpuprofile.html
+/usr/share/doc/packages/%{name}/cpuprofile-fileformat.html
+/usr/share/doc/packages/%{name}/designstyle.css
+/usr/share/doc/packages/%{name}/heapprofile.html
+/usr/share/doc/packages/%{name}/pprof_remote_servers.html
/usr/share/doc/packages/%{name}/heap-example1.png
/usr/share/doc/packages/%{name}/heap_checker.html
-/usr/share/doc/packages/%{name}/heap_profiler.html
/usr/share/doc/packages/%{name}/index.html
/usr/share/doc/packages/%{name}/overview.dot
/usr/share/doc/packages/%{name}/overview.gif
@@ -148,42 +170,38 @@
%files devel
%defattr(-,root,root)
%dir %attr(775,root,root) /usr/include/google
-%dir %attr(775,root,root) /usr/include/google/perftools
/usr/include/google/heap-checker.h
/usr/include/google/heap-profiler.h
/usr/include/google/malloc_extension.h
/usr/include/google/malloc_hook.h
-/usr/include/google/perftools/config.h
-/usr/include/google/perftools/hash_set.h
-/usr/include/google/perftools/stacktrace_generic-inl.h
-/usr/include/google/perftools/stacktrace_libunwind-inl.h
-/usr/include/google/perftools/stacktrace_x86-inl.h
-/usr/include/google/perftools/stacktrace_x86_64-inl.h
/usr/include/google/profiler.h
/usr/include/google/stacktrace.h
%_libdir/libprofiler.*a
%_libdir/libprofiler.so
-%_libdir/libstacktrace.*a
-%_libdir/libstacktrace.so
+# %_libdir/libstacktrace.*a # libstacktrace.so got removed in 0.96
+# %_libdir/libstacktrace.so # libstacktrace.so got removed in 0.96
%_libdir/libtcmalloc.*a
%_libdir/libtcmalloc.so
%_libdir/libtcmalloc_minimal.*a
%_libdir/libtcmalloc_minimal.so
+
%changelog
-* Wed Oct 24 2007 - cgardner@suse.de
+* Fri Sep 19 2008 cgardner@suse.de
+- Update to 0.98. Builds and runs only on ix86, x86_64 and ppc.
+* Wed Oct 24 2007 cgardner@suse.de
- Fix memset calls in test programs for gcc 4.3
-* Sun Jun 10 2007 - schwab@suse.de
+* Sun Jun 10 2007 schwab@suse.de
- Fix dependencies.
-* Sat Jun 09 2007 - cgardner@suse.de
+* Sat Jun 09 2007 cgardner@suse.de
- Fixed build for gcc 4.2 for x86_64.
-* Wed Apr 18 2007 - cgardner@suse.de
+* Wed Apr 18 2007 cgardner@suse.de
- Fixed build on s390 and s390x.
-* Thu Apr 05 2007 - cgardner@novell.com
+* Thu Apr 05 2007 cgardner@novell.com
- Bug#260744: Fix location of docs
-* Mon Feb 26 2007 - cgardner@suse.de
+* Mon Feb 26 2007 cgardner@suse.de
- Fixed errors regarding strcmp()
- Fixed warnings about strict-aliasing
- Fixed _syscallN() to build on x86_64 10.3
- Near Fix to sigcontext struct to build on s390{,x}
-* Wed Feb 21 2007 - cgardner@novell.com
+* Wed Feb 21 2007 cgardner@novell.com
- Initial submission of 0.8
++++++ google-perftools-fix_dirent_header.patch ++++++
Index: google-perftools-0.98/src/base/linuxthreads.c
===================================================================
--- google-perftools-0.98.orig/src/base/linuxthreads.c
+++ google-perftools-0.98/src/base/linuxthreads.c
@@ -49,7 +49,7 @@ extern "C" {
#include