packages: google-perftools/google-perftools.spec - rel 2; mv libtcmalloc an...
arekm
arekm at pld-linux.org
Mon Nov 14 19:13:27 CET 2011
Author: arekm Date: Mon Nov 14 18:13:27 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 2; mv libtcmalloc and libtcmalloc_minimal to /lib{,64}, so these can be used in xfs_repair for example
---- Files affected:
packages/google-perftools:
google-perftools.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/google-perftools/google-perftools.spec
diff -u packages/google-perftools/google-perftools.spec:1.2 packages/google-perftools/google-perftools.spec:1.3
--- packages/google-perftools/google-perftools.spec:1.2 Thu Oct 13 23:38:41 2011
+++ packages/google-perftools/google-perftools.spec Mon Nov 14 19:13:22 2011
@@ -2,7 +2,7 @@
Summary: Fast, multi-threaded malloc and performance analysis tools
Name: google-perftools
Version: 1.8.3
-Release: 1
+Release: 2
License: BSD
Group: Libraries
Source0: http://google-perftools.googlecode.com/files/%{name}-%{version}.tar.gz
@@ -49,9 +49,18 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_lib}
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+for pkg in libtcmalloc libtcmalloc_minimal; do
+ mv $RPM_BUILD_ROOT%{_libdir}/${pkg}.so.* \
+ $RPM_BUILD_ROOT/%{_lib}
+ ln -snf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/${pkg}.so.*.*.*) \
+ $RPM_BUILD_ROOT/%{_libdir}/${pkg}.so
+done
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -65,14 +74,14 @@
%attr(755,root,root) %{_bindir}/pprof
%ghost %{_libdir}/libprofiler.so.0
%attr(755,root,root) %{_libdir}/libprofiler.so.*.*.*
-%ghost %{_libdir}/libtcmalloc.so.0
-%attr(755,root,root) %{_libdir}/libtcmalloc.so.*.*.*
+%ghost /%{_lib}/libtcmalloc.so.0
+%attr(755,root,root) /%{_lib}/libtcmalloc.so.*.*.*
%ghost %{_libdir}/libtcmalloc_and_profiler.so.0
%attr(755,root,root) %{_libdir}/libtcmalloc_and_profiler.so.*.*.*
%ghost %{_libdir}/libtcmalloc_debug.so.0
%attr(755,root,root) %{_libdir}/libtcmalloc_debug.so.*.*.*
-%ghost %{_libdir}/libtcmalloc_minimal.so.0
-%attr(755,root,root) %{_libdir}/libtcmalloc_minimal.so.*.*.*
+%ghost /%{_lib}/libtcmalloc_minimal.so.0
+%attr(755,root,root) /%{_lib}/libtcmalloc_minimal.so.*.*.*
%ghost %{_libdir}/libtcmalloc_minimal_debug.so.0
%attr(755,root,root) %{_libdir}/libtcmalloc_minimal_debug.so.*.*.*
%{_mandir}/man1/pprof.1*
@@ -114,6 +123,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2011/11/14 18:13:22 arekm
+- rel 2; mv libtcmalloc and libtcmalloc_minimal to /lib{,64}, so these can be used in xfs_repair for example
+
Revision 1.2 2011/10/13 21:38:41 glen
- up to 1.8.3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/google-perftools/google-perftools.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list