- 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
This commit is contained in:
parent
27cdf8d474
commit
687c79b2af
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user