]> git.pld-linux.org Git - packages/abseil-cpp.git/blobdiff - abseil-cpp.spec
- updated to 20211102.0 (new LTS, new sonames)
[packages/abseil-cpp.git] / abseil-cpp.spec
index 9f695c70d6947672d8bf8908d0b7c0fe42e78885..fe2be2c9d589e2c8b24a3d02f08e8ad15da76818 100644 (file)
@@ -5,18 +5,21 @@
 Summary:       Abseil - C++ common libraries
 Summary(pl.UTF-8):     Abseil - wspólne biblioteki C++
 Name:          abseil-cpp
-Version:       20210324.2
+Version:       20211102.0
 Release:       1
 License:       Apache v2.0
 Group:         Libraries
 #Source0Download: https://github.com/abseil/abseil-cpp/releases
-Source0:       https://github.com/abseil/abseil-cpp/archive/refs/tags/%{version}.tar.gz
-# Source0-md5: e0b585398b89ee92a10d8c68ef7eed48
+Source0:       https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: bdca561519192543378b7cade101ec43
 URL:           https://abseil.io/
-BuildRequires: cmake >= 3.5
-BuildRequires: libstdc++-devel >= 6:4.7
+BuildRequires: cmake >= 3.8
+BuildRequires: libstdc++-devel >= 6:7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# refers to _ZN4absl12lts_2021110213cord_internal17cordz_next_sampleE non-function symb ol from libabsl_condz_functions
+%define                skip_post_check_so      libabsl_cord.so.*
+
 %description
 Abseil is an open-source collection of C++ library code designed to
 augment the C++ standard library. The Abseil library code is collected
@@ -34,7 +37,7 @@ Summary:      Header files for Abseil libraries
 Summary(pl.UTF-8):     Pliki nagłówkowe bibliotek Abseil
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      libstdc++-devel >= 6:4.7
+Requires:      libstdc++-devel >= 6:7
 
 %description devel
 Header files for Abseil libraries.
@@ -62,7 +65,9 @@ Statyczne biblioteki Abseil.
 install -d build-static
 cd build-static
 %cmake .. \
-       -DBUILD_SHARED_LIBS=OFF
+       -DABSL_PROPAGATE_CXX_STD=ON \
+       -DBUILD_SHARED_LIBS=OFF \
+       -DCMAKE_CXX_STANDARD=17
 
 %{__make}
 cd ..
@@ -70,7 +75,9 @@ cd ..
 
 install -d build
 cd build
-%cmake ..
+%cmake .. \
+       -DABSL_PROPAGATE_CXX_STD=ON \
+       -DCMAKE_CXX_STANDARD=17
 
 %{__make}
 
This page took 0.078365 seconds and 4 git commands to generate.