From 5e00d7eff80e81bdf37970b9721fe3fe8286870c Mon Sep 17 00:00:00 2001 From: xiongzhou4 Date: Fri, 30 Dec 2022 20:44:33 +0800 Subject: [PATCH] [gcc-for-openEuler] Change branch name for gcc. --- 0002-Change-branch-name-for-gcc.patch | 26 ++++++++++++++++++++++++++ gcc-for-openEuler.spec | 6 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 0002-Change-branch-name-for-gcc.patch diff --git a/0002-Change-branch-name-for-gcc.patch b/0002-Change-branch-name-for-gcc.patch new file mode 100644 index 0000000..eab10a0 --- /dev/null +++ b/0002-Change-branch-name-for-gcc.patch @@ -0,0 +1,26 @@ +From e1db0bb68a9566d6cf14597ea0ddf8399b00fac6 Mon Sep 17 00:00:00 2001 +From: xiongzhou4 +Date: Fri, 30 Dec 2022 20:39:27 +0800 +Subject: [PATCH] [gcc-for-openEuler] Change branch name for gcc. + +--- + build/download.sh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/build/download.sh b/build/download.sh +index a1e1b66..3f91fe6 100644 +--- a/build/download.sh ++++ b/build/download.sh +@@ -31,7 +31,8 @@ download() { + # Download packages. + pushd $OPEN_SOURCE_PATH + +-download $GCC_NAME +++[ -d "$GCC_NAME" ] && rm -rf $GCC_NAME +++echo "Download $GCC_NAME" && git clone -b openEuler-22.03-LTS-Next-release-20221230 https://gitee.com/src-openeuler/$GCC_NAME.git + download $BINUTILS_NAME + download $GMP_NAME + download $MPC_NAME +-- +2.33.0 + diff --git a/gcc-for-openEuler.spec b/gcc-for-openEuler.spec index 651e2b6..bd29cb7 100644 --- a/gcc-for-openEuler.spec +++ b/gcc-for-openEuler.spec @@ -1,6 +1,6 @@ Name: gcc-for-openEuler Version: 1.0.4 -Release: 7 +Release: 8 Summary: GCC released as a binary package for openEuler and other OSes. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2 and BSD @@ -16,6 +16,7 @@ BuildRequires: git bison flex texinfo autoconf libtool elfutils-libelf-devel gl BuildRequires: chrpath centos-release-scl devtoolset-7 python3 zlib-devel lksctp-tools-devel Patch1: 0001-Change-branch-name-for-optimized-routines.patch +Patch2: 0002-Change-branch-name-for-gcc.patch %description GCC released as a binary package for openEuler and other OSes. @@ -43,6 +44,9 @@ sha256sum %{build_name}.tar.gz > %{build_name}.tar.gz.sha256 %attr(755, root, root) /%{build_name}.tar.gz.sha256 %changelog +* Fri Dec 30 2022 Xiong Zhou - 1.0.4-8 +- Change branch name for gcc. + * Tue Dec 27 2022 Xiong Zhou - 1.0.4-7 - Change branch name for optimized routines. -- Gitee