[SPEC] Bugfix for removing date in release

Removing Date in release version will cause new version being smaller than old ones,
and wll cause an update failure.  So we use a const number 2020033101 instead and will never change it.
This commit is contained in:
benniaobufeijiushiji 2022-04-20 15:10:18 +08:00
parent 30ac3b7164
commit 1a0842d539

View File

@ -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 <linda7@huawei.com> - 7.3.0-2020033101.49
- gcc.spec: Bugfix for removing Date in release version, use a const number instead.
* Mon Mar 21 2022 kkz <zhaoshuang@uniontech.com> - 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