This commit is contained in:
Tom Callaway 2013-07-31 11:42:41 -04:00
parent c855f1233b
commit 991304bb39
2 changed files with 8 additions and 6 deletions

View File

@ -1,16 +1,13 @@
# This package used to be called "google-perftools", but it was renamed on 2012-02-03.
Name: gperftools
Version: 2.0
Release: 11%{?dist}.3
Version: 2.1
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
# Update to latest svn, since google forgets how to make releases
Patch0: gperftools-svn-r190.patch
Patch1: gperftools-2.0-svn190-to-svn218.patch
ExclusiveArch: %{ix86} x86_64 ppc %{arm}
BuildRequires: autoconf, automake, libtool
BuildRequires: libunwind-devel
@ -65,9 +62,11 @@ sed -i 's/\r//' README_windows.txt
# No need to have exec permissions on source code
chmod -x src/sampler.h src/sampler.cc
%if 0%{?rhel} == 6
# Hey, I bet this still works.
sed -i 's|2.68|2.63|g' configure.ac
autoreconf -i
%endif
%build
CFLAGS=`echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -DTCMALLOC_LARGE_PAGES | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' | sed -e 's|-fexceptions||g'`
@ -117,6 +116,9 @@ rm -rf %{buildroot}%{_docdir}/%{name}-%{version}/INSTALL
%{_libdir}/*.so.*
%changelog
* Wed Jul 31 2013 Tom Callaway <spot@fedoraproject.org> - 2.1-1
- update to 2.1
* Wed Jul 10 2013 Tom Callaway <spot@fedoraproject.org> - 2.0-11.3
- use libunwind
- disable -fexceptions, as that breaks things on el6

View File

@ -1 +1 @@
13f6e8961bc6a26749783137995786b6 gperftools-2.0.tar.gz
5e5a981caf9baa9b4afe90a82dcf9882 gperftools-2.1.tar.gz