From 687c79b2aff06c82306f0830c8aa8185ad6db54e0d1972901eebaf4b7b4b2229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 6 Jun 2013 10:53:25 +0000 Subject: [PATCH] - Rename pprof to pprof-jemalloc to prevent conflict with gperftools OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=13 --- jemalloc.changes | 5 +++++ jemalloc.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/jemalloc.changes b/jemalloc.changes index 4f6d4e1..022c5fd 100644 --- a/jemalloc.changes +++ b/jemalloc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 6 10:52:02 UTC 2013 - idonmez@suse.com + +- Rename pprof to pprof-jemalloc to prevent conflict with gperftools + ------------------------------------------------------------------- Wed Jun 5 14:49:45 UTC 2013 - idonmez@suse.com diff --git a/jemalloc.spec b/jemalloc.spec index 74a64f0..ce350d0 100644 --- a/jemalloc.spec +++ b/jemalloc.spec @@ -73,6 +73,7 @@ make %{?_smp_mflags}; %install b=%{buildroot}; make install DESTDIR="$b"; + chmod -x "%{buildroot}/%{_libdir}"/*.a; if [ "%_docdir" != "%{_datadir}/doc" ]; then # stupid Makefile does not allow to set it @@ -80,13 +81,15 @@ if [ "%_docdir" != "%{_datadir}/doc" ]; then mv "$b/%{_datadir}/doc/jemalloc" "$b/%_docdir/%{name}"; fi; +mv %{buildroot}/%{_bindir}/pprof %{buildroot}/%{_bindir}/pprof-jemalloc + %check make check %files %defattr(-,root,root) %{_bindir}/jemalloc.sh -%{_bindir}/pprof +%{_bindir}/pprof-jemalloc %{_mandir}/man*/* %_docdir/%{name}