Accepting request 1139988 from home:dirkmueller:Factory

- fix build for non-SUSE distributions

      The flags library now provides suggestions for the closest
  * minor warning fix
    hexadecimal strings
- Update to version 20190808

OBS-URL: https://build.opensuse.org/request/show/1139988
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=24
This commit is contained in:
Dan Čermák 2024-01-22 07:34:22 +00:00 committed by Git OBS Bridge
parent a9176ee102
commit f1649699e2
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 19 15:53:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
- fix build for non-SUSE distributions
-------------------------------------------------------------------
Fri Oct 6 17:44:18 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package abseil-cpp
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ License: Apache-2.0
URL: https://abseil.io/
Source0: https://github.com/abseil/abseil-cpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
%if 0%{?suse_version} < 1500
%if 0%{?suse_version} && 0%{?suse_version} < 1500
BuildRequires: gcc7
BuildRequires: gcc7-c++
%else
@ -36,7 +36,7 @@ BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: pkgconfig
# PATCH-FIX-OPENSUSE options-{old,cxx17}.patch Ensure ABI stability regardless of compiler options
%if 0%{?suse_version} < 1550
%if 0%{?suse_version} && 0%{?suse_version} < 1550
Patch0: options-old.patch
Patch1: cmake.patch
%else
@ -71,7 +71,7 @@ This package contains headers and build system files for it.
%autosetup -p1
%build
%if 0%{?suse_version} < 1500
%if 0%{?suse_version} && 0%{?suse_version} < 1500
export CC="gcc-7"
export CXX="g++-7"
%endif