forked from pool/gperftools
Accepting request 617022 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/617022 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gperftools?expand=0&rev=22
This commit is contained in:
commit
c42ae90872
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 8 14:54:18 UTC 2018 - mrostecki@suse.com
|
||||
|
||||
- Add devel-static package, which is needed for building Envoy
|
||||
(https://www.envoyproxy.io/) and Cilium with Envoy integration
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 00:35:41 CEST 2018 - ro@suse.de
|
||||
|
||||
|
@ -78,6 +78,15 @@ Obsoletes: google-perftools-devel
|
||||
The gperftools-devel package contains static and debug libraries and header
|
||||
files for developing applications that use the gperftools package.
|
||||
|
||||
%package devel-static
|
||||
Summary: Static libraries for performance tools for C++
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-devel = %{version}
|
||||
|
||||
%description devel-static
|
||||
The gperftools-devel-static package contains static libraries for developing
|
||||
applications that use the gperftools package.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
@ -95,7 +104,6 @@ export CPPFLAGS="$VALGRIND_FL"
|
||||
export CXXFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL"
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL"
|
||||
%configure \
|
||||
--disable-static \
|
||||
--with-gnu-ld \
|
||||
--with-pic \
|
||||
--docdir=%{_defaultdocdir}/%{name}
|
||||
@ -143,4 +151,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_libdir}/libtcmalloc_and_profiler.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%files devel-static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libprofiler.a
|
||||
%{_libdir}/libtcmalloc.a
|
||||
%{_libdir}/libtcmalloc_debug.a
|
||||
%{_libdir}/libtcmalloc_minimal.a
|
||||
%{_libdir}/libtcmalloc_minimal_debug.a
|
||||
%{_libdir}/libtcmalloc_and_profiler.a
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user