- 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
|
Wed Jun 5 14:49:45 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@ make %{?_smp_mflags};
|
|||||||
%install
|
%install
|
||||||
b=%{buildroot};
|
b=%{buildroot};
|
||||||
make install DESTDIR="$b";
|
make install DESTDIR="$b";
|
||||||
|
|
||||||
chmod -x "%{buildroot}/%{_libdir}"/*.a;
|
chmod -x "%{buildroot}/%{_libdir}"/*.a;
|
||||||
if [ "%_docdir" != "%{_datadir}/doc" ]; then
|
if [ "%_docdir" != "%{_datadir}/doc" ]; then
|
||||||
# stupid Makefile does not allow to set it
|
# 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}";
|
mv "$b/%{_datadir}/doc/jemalloc" "$b/%_docdir/%{name}";
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
mv %{buildroot}/%{_bindir}/pprof %{buildroot}/%{_bindir}/pprof-jemalloc
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/jemalloc.sh
|
%{_bindir}/jemalloc.sh
|
||||||
%{_bindir}/pprof
|
%{_bindir}/pprof-jemalloc
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
%_docdir/%{name}
|
%_docdir/%{name}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user