Pin Requires to same major version of GTS main package
Resolves: RHEL-94762
This commit is contained in:
parent
0424e3f492
commit
7b26c22d77
@ -4,6 +4,7 @@
|
|||||||
%global have_scl_utils 0
|
%global have_scl_utils 0
|
||||||
%endif
|
%endif
|
||||||
%global gts_ver 15
|
%global gts_ver 15
|
||||||
|
%global gts_next %(v="%{gts_ver}"; echo $((++v)))
|
||||||
%{?scl_package:%global scl gcc-toolset-%{gts_ver}}
|
%{?scl_package:%global scl gcc-toolset-%{gts_ver}}
|
||||||
%global scl_prefix gcc-toolset-%{gts_ver}-
|
%global scl_prefix gcc-toolset-%{gts_ver}-
|
||||||
%if %have_scl_utils
|
%if %have_scl_utils
|
||||||
@ -300,7 +301,7 @@ Requires: libgcc >= 4.1.2-43
|
|||||||
Requires: libgomp >= 4.4.4-13
|
Requires: libgomp >= 4.4.4-13
|
||||||
# lto-wrapper invokes make
|
# lto-wrapper invokes make
|
||||||
Requires: make
|
Requires: make
|
||||||
Requires: %{?scl_prefix}runtime >= %{gts_ver}.0
|
Requires: (%{?scl_prefix}runtime >= %{gts_ver} with %{?scl_prefix}runtime < %{gts_next})
|
||||||
AutoReq: true
|
AutoReq: true
|
||||||
# Various libraries are imported. #1859893 asks us to list them all.
|
# Various libraries are imported. #1859893 asks us to list them all.
|
||||||
Provides: bundled(libiberty)
|
Provides: bundled(libiberty)
|
||||||
|
Loading…
Reference in New Issue
Block a user