From 241de0bc71f8d330345cab91a5207a7d72bdb36d Mon Sep 17 00:00:00 2001 From: mrostecki <> Date: Nov 02 2020 08:39:56 +0000 Subject: Update abseil-cpp to version 20200225.2 / rev 14 via SR 844359 https://build.opensuse.org/request/show/844359 by user mrostecki + dimstar_suse --- diff --git a/.files b/.files index 1f3ab8a..d1d0bd1 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index e203816..69e5dea 100644 --- a/.rev +++ b/.rev @@ -121,4 +121,12 @@ Automatic submission by obs-autosubmit 834036 + + fbd317b6c526e049e6a41f63fdec32e5 + 20200225.2 + + dimstar_suse + + 844359 + diff --git a/.servicemark b/.servicemark index 34f5978..ae676c2 100644 --- a/.servicemark +++ b/.servicemark @@ -1 +1 @@ -eae949f5b875898f45d117d3fa47c916 +658035514d79135648ce04597db2766f diff --git a/abseil-cpp.changes b/abseil-cpp.changes index 2aab4d6..2c64b10 100644 --- a/abseil-cpp.changes +++ b/abseil-cpp.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Oct 27 09:16:46 UTC 2020 - Jan Engelhardt + +- Build shared libraries of abseil for use by grpc + (related to https://github.com/grpc/grpc/issues/24476) + +------------------------------------------------------------------- Sat Sep 5 20:03:38 UTC 2020 - Jan Engelhardt - Switch the package to noarch. diff --git a/abseil-cpp.spec b/abseil-cpp.spec index ab66475..df0780b 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -25,14 +25,24 @@ License: Apache-2.0 URL: https://abseil.io/ Source0: https://github.com/abseil/abseil-cpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc +BuildRequires: c++_compiler +BuildRequires: cmake BuildRequires: fdupes -BuildArch: noarch %description Abseil is a collection of C++11 libraries which augment the C++ standard library. It also provides features incorporated into C++14 and C++17 standards. +%package devel +Summary: Header files for Abseil +Requires: %{name} = %{version} + +%description devel +Abseil is a collection of C++11 libraries which augment the C++ +standard library. +This package contains headers and build system files for it. + %package source Summary: Source code of Abseil @@ -42,14 +52,28 @@ which augment the C++ standard library. It also provides features incorporated into C++14 and C++17 standards. %prep -%setup -q +%autosetup -p1 %build +# let rpm/OBS have some versioning to work with when it comes to upgrades and rebuilds +cat >"%_builddir/abslx.sym" <<-EOF + ABSL_%version { global: *; }; +EOF +%define build_ldflags -Wl,--version-script=%_builddir/abslx.sym +%cmake -DBUILD_SHARED_LIBS:BOOL=ON %install +%cmake_install mkdir -p %{buildroot}%{src_install_dir} cp -r * %{buildroot}%{src_install_dir} -%fdupes %{buildroot}%{src_install_dir} +%fdupes %{buildroot}/%{_prefix} + +%files +%{_libdir}/libabsl_*.so + +%files devel +%{_includedir}/absl/ +%{_libdir}/cmake/ %files source %license LICENSE