diff --git a/0001-Update-target-gcc.patch b/0001-Update-target-gcc.patch new file mode 100644 index 0000000000000000000000000000000000000000..9fb70e74ed18bb1d185d9262502c22fb7fa3b034 --- /dev/null +++ b/0001-Update-target-gcc.patch @@ -0,0 +1,14 @@ +diff --git a/build/download.sh b/build/download.sh +index 7082b70..043cb57 100644 +--- a/build/download.sh ++++ b/build/download.sh +@@ -50,7 +50,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-24.03-LTS-Next https://gitee.com/src-openeuler/$GCC_NAME.git + download $BINUTILS_NAME + download $GMP_NAME + download $TEXINFO_NAME diff --git a/gcc-for-openEuler.spec b/gcc-for-openEuler.spec index e07d7a98e20949ef229cbf951fa2bef74af347c0..ff7dc3c2caf631825ec2a2d2df21e9660612e5f0 100644 --- a/gcc-for-openEuler.spec +++ b/gcc-for-openEuler.spec @@ -1,6 +1,6 @@ Name: gcc-for-openEuler Version: 2.0.3 -Release: 1 +Release: 2 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 @@ ExclusiveArch: aarch64 BuildRequires: git bison flex texinfo autoconf libtool elfutils-libelf-devel glibc-static BuildRequires: chrpath centos-release-scl devtoolset-7 python3 zlib-devel lksctp-tools-devel python3-setuptools +Patch1: 0001-Update-target-gcc.patch %description GCC released as a binary package for openEuler and other OSes. @@ -45,8 +46,11 @@ sha256sum %{build_name}.tar.gz > %{build_name}.tar.gz.sha256 %attr(755, root, root) /%{build_name}.tar.gz.sha256 %changelog +* Thu Jun 19 2025 Cao jiaju <272503532@qq.com> - 2.0.3-2 +- Update target gcc. + * Sat Jun 14 2025 Cao Jiaju <272503532@qq.com> - 2.0.3-1 -- version number compatible with 24.03 LTS SP2 & fix path error of lib/lib64 +- version number compatible with 24.03 LTS SP2 & fix path error of lib/lib64. * Thu Apr 10 2025 Zheng Chenhui - 2.0.2-4 - -Move AI4C to lib64_public.