From c899af1f0b6143d3edb9d1a050f082d45dd23a7d Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 4 Jun 2014 12:29:55 +0100 Subject: [PATCH] Update to new upstream 2.2 release, Add support for new arches (aarch64, ppc64le, mips) --- .gitignore | 1 + gperftools.spec | 17 +++++++++-------- sources | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index a8c6cc7..fdd9359 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gperftools-2.0.tar.gz +/gperftools-2.2.tar.gz diff --git a/gperftools.spec b/gperftools.spec index d875384..65c5591 100644 --- a/gperftools.spec +++ b/gperftools.spec @@ -3,18 +3,17 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: gperftools -Version: 2.1 -Release: 5%{?dist} +Version: 2.2 +Release: 1%{?dist} License: BSD Group: Development/Tools Summary: Very fast malloc and performance analysis tools URL: http://code.google.com/p/gperftools/ -Source0: http://gperftools.googlecode.com/files/%{name}-%{version}.tar.gz -ExclusiveArch: %{ix86} x86_64 ppc %{power64} %{arm} +Source0: https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/%{name}-%{version}.tar.gz +ExcludeArch: s390 s390x %ifnarch ppc %{power64} BuildRequires: libunwind-devel %endif -BuildRequires: autoconf, automake, libtool Requires: gperftools-devel = %{version}-%{release} Requires: pprof = %{version}-%{release} @@ -62,9 +61,7 @@ Pprof is a heap and CPU profiler tool, part of the gperftools suite. sed -i 's/\r//' README_windows.txt # No need to have exec permissions on source code -chmod -x src/sampler.h src/sampler.cc - -autoreconf -i +chmod -x src/*.h src/*.cc %build CFLAGS=`echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -DTCMALLOC_LARGE_PAGES | sed -e 's|-fexceptions||g'` @@ -111,6 +108,10 @@ rm -rf %{buildroot}%{_pkgdocdir}/INSTALL %{_libdir}/*.so.* %changelog +* Wed Jun 4 2014 Peter Robinson 2.2-1 +- Update to new upstream 2.2 release +- Add support for new arches (aarch64, ppc64le, mips) + * Tue May 13 2014 Jaromir Capik - 2.1-5 - Replacing ppc64 with the power64 macro (#1077632) diff --git a/sources b/sources index 2a60686..ad3b4f0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5e5a981caf9baa9b4afe90a82dcf9882 gperftools-2.1.tar.gz +56368e558f4fd36fcd27c92b7951c839 gperftools-2.2.tar.gz