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}