Accepting request 1159835 from home:rguenther:branches:devel:libraries:c_c++

- Avoid BuildRequire of 'gcc-c++ > 5' which is only a redundant
  check.  This interferes with Substitute.

OBS-URL: https://build.opensuse.org/request/show/1159835
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=324
This commit is contained in:
Arvin Schnell 2024-03-20 13:01:40 +00:00 committed by Git OBS Bridge
parent 5082e2019e
commit 5fff8c2869
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 20 12:15:08 UTC 2024 - Richard Biener <rguenther@suse.com>
- Avoid BuildRequire of 'gcc-c++ > 5' which is only a redundant
check. This interferes with Substitute.
-------------------------------------------------------------------
Wed Feb 21 09:18:53 CET 2024 - aschnell@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file for package boost
# spec file
#
# Copyright (c) 2024 SUSE LLC
#
@ -245,6 +245,7 @@ Patch21: boost-remove-cmakedir.patch
Patch22: boost-process.patch
%{?suse_build_hwcaps_libs}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gmp-devel
BuildRequires: libbz2-devel
BuildRequires: libexpat-devel
@ -252,11 +253,6 @@ BuildRequires: libicu-devel
BuildRequires: libzstd-devel
BuildRequires: xz-devel
BuildRequires: pkgconfig(zlib)
%if %{with boost_fiber}
BuildRequires: gcc-c++ > 5
%else
BuildRequires: gcc-c++
%endif
%if ! %{build_base}
BuildRequires: dos2unix
%if %{with python3}