Update to new upstream 2.2 release, Add support for new arches (aarch64, ppc64le, mips)
This commit is contained in:
parent
fd279e35f6
commit
c899af1f0b
|
@ -1 +1,2 @@
|
||||||
/gperftools-2.0.tar.gz
|
/gperftools-2.0.tar.gz
|
||||||
|
/gperftools-2.2.tar.gz
|
||||||
|
|
|
@ -3,18 +3,17 @@
|
||||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
Name: gperftools
|
Name: gperftools
|
||||||
Version: 2.1
|
Version: 2.2
|
||||||
Release: 5%{?dist}
|
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: https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/%{name}-%{version}.tar.gz
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc %{power64} %{arm}
|
ExcludeArch: s390 s390x
|
||||||
%ifnarch ppc %{power64}
|
%ifnarch ppc %{power64}
|
||||||
BuildRequires: libunwind-devel
|
BuildRequires: libunwind-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: autoconf, automake, libtool
|
|
||||||
Requires: gperftools-devel = %{version}-%{release}
|
Requires: gperftools-devel = %{version}-%{release}
|
||||||
Requires: pprof = %{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
|
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/*.h src/*.cc
|
||||||
|
|
||||||
autoreconf -i
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS=`echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -DTCMALLOC_LARGE_PAGES | sed -e 's|-fexceptions||g'`
|
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.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.2-1
|
||||||
|
- Update to new upstream 2.2 release
|
||||||
|
- Add support for new arches (aarch64, ppc64le, mips)
|
||||||
|
|
||||||
* Tue May 13 2014 Jaromir Capik <jcapik@redhat.com> - 2.1-5
|
* Tue May 13 2014 Jaromir Capik <jcapik@redhat.com> - 2.1-5
|
||||||
- Replacing ppc64 with the power64 macro (#1077632)
|
- Replacing ppc64 with the power64 macro (#1077632)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue