2.1
This commit is contained in:
parent
c855f1233b
commit
991304bb39
@ -1,16 +1,13 @@
|
|||||||
# This package used to be called "google-perftools", but it was renamed on 2012-02-03.
|
# This package used to be called "google-perftools", but it was renamed on 2012-02-03.
|
||||||
|
|
||||||
Name: gperftools
|
Name: gperftools
|
||||||
Version: 2.0
|
Version: 2.1
|
||||||
Release: 11%{?dist}.3
|
Release: 1%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Summary: Very fast malloc and performance analysis tools
|
Summary: Very fast malloc and performance analysis tools
|
||||||
URL: http://code.google.com/p/gperftools/
|
URL: http://code.google.com/p/gperftools/
|
||||||
Source0: http://gperftools.googlecode.com/files/%{name}-%{version}.tar.gz
|
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}
|
ExclusiveArch: %{ix86} x86_64 ppc %{arm}
|
||||||
BuildRequires: autoconf, automake, libtool
|
BuildRequires: autoconf, automake, libtool
|
||||||
BuildRequires: libunwind-devel
|
BuildRequires: libunwind-devel
|
||||||
@ -65,9 +62,11 @@ sed -i 's/\r//' README_windows.txt
|
|||||||
# No need to have exec permissions on source code
|
# No need to have exec permissions on source code
|
||||||
chmod -x src/sampler.h src/sampler.cc
|
chmod -x src/sampler.h src/sampler.cc
|
||||||
|
|
||||||
|
%if 0%{?rhel} == 6
|
||||||
# Hey, I bet this still works.
|
# Hey, I bet this still works.
|
||||||
sed -i 's|2.68|2.63|g' configure.ac
|
sed -i 's|2.68|2.63|g' configure.ac
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%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'`
|
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.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jul 10 2013 Tom Callaway <spot@fedoraproject.org> - 2.0-11.3
|
||||||
- use libunwind
|
- use libunwind
|
||||||
- disable -fexceptions, as that breaks things on el6
|
- disable -fexceptions, as that breaks things on el6
|
||||||
|
Loading…
Reference in New Issue
Block a user