[RPM] Upgrade GCC to 12.2.1

This commit is contained in:
liyancheng 2022-11-02 10:23:59 +08:00
parent c0dc71ee1b
commit 25e20dc298
3 changed files with 9 additions and 6 deletions

View File

@ -2,5 +2,5 @@ diff -Nurp a/gcc/BASE-VER b/gcc/BASE-VER
--- a/gcc/BASE-VER 2022-05-06 03:30:56.000000000 -0400
+++ b/gcc/BASE-VER 2022-08-04 08:59:09.152000000 -0400
@@ -1 +1 @@
-12.1.0
+12.1.1
-12.2.0
+12.2.1

View File

@ -1,8 +1,8 @@
%global scl 1
%global gcc_version 12.1.1
%global gcc_version 12.2.1
%global gcc_major 12
%global gcc_release 3
%global gcc_release 4
%global isl_version 0.18
%global _unpackaged_files_terminate_build 0
@ -92,7 +92,7 @@ Release: %{gcc_release}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Source0: https://ftp.gnu.org/gnu/gcc/gcc-12.1.0/gcc-12.1.0.tar.xz
Source0: https://ftp.gnu.org/gnu/gcc/gcc-12.2.0/gcc-12.2.0.tar.xz
Source1: https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.tar.bz2
URL: http://gcc.gnu.org
@ -593,7 +593,7 @@ not stable, so plugins must be rebuilt any time GCC is updated.
%prep
%setup -q -n gcc-12.1.0 -a 1
%setup -q -n gcc-12.2.0 -a 1
%patch0 -p1
@ -2670,6 +2670,9 @@ end
%doc rpm.doc/changelogs/libcc1/ChangeLog*
%changelog
* Wed Nov 02 2022 liyancheng <412998149@qq.com> 12.2.1-4
- Upgrade GCC to 12.2.1
* Thu Aug 25 2022 eastb233 <xiezhiheng@huawei.com> 12.1.1-3
- delete bundled(*) Provides in case of conflict with default gcc