diff --git a/download.sh b/download.sh index aae24c3be8c363de003d20d36da7dec15ce25054..7903f1ef5c1ae75c5b8af7ec4e9a19a7038b0ea7 100755 --- a/download.sh +++ b/download.sh @@ -5,7 +5,7 @@ readonly LIB_PATH="$PWD/../open_source" source $PWD/config.xml build_rpmdir=`rpm --eval "%{_builddir}"` src_rpmdir=`rpm --eval "%{_sourcedir}"` -SRC_BRANCH="master" +SRC_BRANCH="openEuler-25.03" #judge the open_source @@ -21,6 +21,8 @@ cd $LIB_PATH && delete_dir $GCC $BINUTILS $GMP $MPC $MPFR $ISL pushd $LIB_PATH function do_patch() { pushd $1 + git lfs install + git lfs pull cp -f * $src_rpmdir specfile=`ls *.spec` rpmbuild -bp $src_rpmdir/$specfile diff --git a/gcc-cross.spec b/gcc-cross.spec index ea61bd321259782b756356054db5c53534471d91..81dbfc532c7030cbe87053dd1f296064d33ac9f9 100644 --- a/gcc-cross.spec +++ b/gcc-cross.spec @@ -1,7 +1,7 @@ Summary: C/C++ Cross Compiler Toolchain Name: gcc-cross Version: 1.0 -Release: 6 +Release: 7 # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -12,8 +12,8 @@ BuildRequires: binutils, gettext, gmp-devel, isl-devel, libmpc-devel, mpfr-devel BuildRequires: audit-libs-devel, gd-devel, libcap-devel, libpng-devel, libselinux-devel, libstdc++-static, systemtap-sdt-devel, valgrind BuildRequires: jansson-devel BuildRequires: gdb, native-turbo-tools, gcc, gcc-c++, make, git, flex, bison, rpm-build, automake, autoconf -BuildRequires: libtool, ncurses-devel, bc, zlib-devel, openssl-devel, texinfo, rsync, chrpath -#ExclusiveArch: i386 x86-64 +BuildRequires: libtool, ncurses-devel, bc, zlib-devel, openssl-devel, texinfo, rsync, chrpath, git-lfs +ExclusiveArch: i386 x86_64 %description C/C++ Cross Compiler Toolchain @@ -44,6 +44,12 @@ cp %{_builddir}/output/gcc_arm32le/gcc_arm32le.tar.gz %{buildroot}/tmp %attr(755, root, root) /tmp/gcc_arm32le.tar.gz %changelog +* Tue Feb 11 2025 zhengchenhui - 1.0-7 +-Type:Fix +-ID:NA +-SUG:NA +-DESC: Fix binutils download error. + * Mon Mar 11 2024 zhengchenhui - 1.0-6 -Type:Fix -ID:NA