diff --git a/gcc.spec b/gcc.spec index 303c5eca167a282a2a2dd277e01b7dc0a073a519..1e37adecc6b9d4c5db90326911cb6754756341f0 100644 --- a/gcc.spec +++ b/gcc.spec @@ -36,7 +36,12 @@ Summary: Various compilers (C, C++, Objective-C, Java, ...) Name: gcc Version: 7.3.0 -Release: 48 +# Remove DATE in release version will cause the new verison being smaller +# than the old ones, which results in an update failure. So we use a const +# number 2020033101 meaning the openEuler 20.03 release date plus 01 to +# replace DATE and will never change it in the future. +%global openEulerDATE 2020033101 +Release: %{openEulerDATE}.49 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD Group: Development/Languages #Source0: hcc-aarch64-linux-release.tar.bz2 @@ -3333,6 +3338,9 @@ fi %changelog +* Wed Apr 20 2022 benniaobufeijiushiji - 7.3.0-2020033101.49 +- gcc.spec: Bugfix for removing Date in release version, use a const number instead. + * Mon Mar 21 2022 kkz - 7.3.0-48 - Add patch Remove-_GLIBCXX_USE_INT128-autoconf-macro.patch to resolve int128 related compile issue - refer to https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=ad0a3be4df5eecc79075d899fd79179d0f61270e