Fix GTS version in the package name

Related: RHEL-81741
This commit is contained in:
Siddhesh Poyarekar 2025-05-12 12:49:34 -04:00 committed by Siddhesh Poyarekar
parent 2133a48667
commit 5bc48aaa13

View File

@ -1,5 +1,6 @@
%{?scl_package:%global scl gcc-toolset-14}
%global scl_prefix gcc-toolset-14-
%global gts_ver 15
%{?scl_package:%global scl gcc-toolset-%{gts_ver}}
%global scl_prefix gcc-toolset-%{gts_ver}-
BuildRequires: scl-utils-build
%global __python /usr/bin/python3
%{?scl:%global __strip %%{_scl_root}/usr/bin/strip}
@ -152,7 +153,7 @@ BuildRequires: scl-utils-build
Summary: GCC version %{gcc_major}
Name: %{?scl_prefix}gcc
Version: %{gcc_version}
Release: %{gcc_release}.1%{?dist}
Release: %{gcc_release}.2%{?dist}
# License notes for some of the less obvious ones:
# gcc/doc/cppinternals.texi: Linux-man-pages-copyleft-2-para
# isl: MIT, BSD-2-Clause
@ -2796,5 +2797,8 @@ fi
%endif
%changelog
* Mon May 12 2025 Siddhesh Poyarekar <siddhesh@redhat.com> 14.2.1-7.2
- Fix GTS version in package name.
* Mon Apr 14 2025 Marek Polacek <polacek@redhat.com> 14.2.1-7.1
- new package (RHEL-81741)