diff --git a/gperftools.changes b/gperftools.changes index 3e4b14e..baef74c 100644 --- a/gperftools.changes +++ b/gperftools.changes @@ -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 diff --git a/gperftools.spec b/gperftools.spec index 3e91df3..8d087bd 100644 --- a/gperftools.spec +++ b/gperftools.spec @@ -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