[google-perftools/f16] split out libraries
Tom Callaway
spot at fedoraproject.org
Mon Oct 24 19:33:24 UTC 2011
commit 2b5f0343dd37b78bb48e87ea75bdb5bd1c63f334
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date: Mon Oct 24 15:33:22 2011 -0400
split out libraries
google-perftools.spec | 37 +++++++++++++++++++++++++++----------
sources | 2 +-
2 files changed, 28 insertions(+), 11 deletions(-)
---
diff --git a/google-perftools.spec b/google-perftools.spec
index b56efde..8cfe22b 100644
--- a/google-perftools.spec
+++ b/google-perftools.spec
@@ -1,19 +1,18 @@
Name: google-perftools
-Version: 1.8
-Release: 1%{?dist}
+Version: 1.8.3
+Release: 2%{?dist}
License: BSD
Group: Development/Tools
Summary: Very fast malloc and performance analysis tools
URL: http://code.google.com/p/google-perftools/
Source0: http://google-perftools.googlecode.com/files/google-perftools-%{version}.tar.gz
-# http://code.google.com/p/google-perftools/issues/detail?id=355
-Patch0: google-perftools-1.8-std-ptrdiff_t.patch
# ppc64 still broken, bz 238390
ExclusiveArch: %{ix86} x86_64 ppc
%ifnarch ppc ppc64
BuildRequires: libunwind-devel
%endif
Requires: gv, graphviz
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description
Perf Tools is a collection of performance analysis tools, including a
@@ -24,14 +23,19 @@ a heap profiler, and a cpu-profiler.
%package devel
Summary: Development libraries and headers for google-perftools
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Libraries and headers for developing applications that use google-perftools.
+%package libs
+Summary: Libraries provided by google-perftools
+
+%description libs
+Libraries provided by google-perftools, including libtcmalloc and libprofiler.
+
%prep
%setup -q
-%patch0 -p1 -b .std-ptrdifft
%build
CXXFLAGS=`echo $RPM_OPT_FLAGS -DTCMALLOC_LARGE_PAGES| sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g'`
@@ -57,22 +61,35 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/NEWS
# LD_LIBRARY_PATH=./.libs make check
%endif
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%files
%{_bindir}/pprof
%{_mandir}/man1/*
%{_docdir}/%{name}-%{version}/
-%{_libdir}/*.so.*
%files devel
%{_includedir}/google
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
+%files libs
+%{_libdir}/*.so.*
+
%changelog
+* Mon Oct 24 2011 Tom Callaway <spot at fedoraproject.org> - 1.8.3-2
+- split libraries out into subpackage to minimize dependencies
+
+* Tue Aug 30 2011 Tom Callaway <spot at fedoraproject.org> - 1.8.3-1
+- update to 1.8.3
+
+* Mon Aug 22 2011 Tom Callaway <spot at fedoraproject.org> - 1.8.2-1
+- update to 1.8.2
+
+* Thu Jul 28 2011 Tom Callaway <spot at fedoraproject.org> - 1.8.1-1
+- update to 1.8.1
+
* Mon Jul 18 2011 Tom Callaway <spot at fedoraproject.org> - 1.8-1
- update to 1.8
diff --git a/sources b/sources
index 10ab2b1..0bf23c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-13062bc53acfa01a57d851927a03d460 google-perftools-1.8.tar.gz
+70c95322c9bac97e67f0162e4cc55996 google-perftools-1.8.3.tar.gz
More information about the scm-commits
mailing list