From 79efee88d27d288ac341cac56a312b2fa7eb74f9 Mon Sep 17 00:00:00 2001 From: Qian Li Date: Thu, 11 Apr 2024 17:53:20 +0800 Subject: [PATCH] [gcc-cross] fix spec files are packaged in src.rpm without source code files --- gcc-cross.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gcc-cross.spec b/gcc-cross.spec index ea61bd3..0430c11 100644 --- a/gcc-cross.spec +++ b/gcc-cross.spec @@ -1,11 +1,17 @@ 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 URL: http://gcc.gnu.org +Source0: build.sh +Source1: config.xml +Source2: download.sh +Source3: gcc_arm32le +Source4: gcc_arm64le +Source5: README.en.md BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: binutils, gettext, gmp-devel, isl-devel, libmpc-devel, mpfr-devel, python3-sphinx, sharutils @@ -44,6 +50,13 @@ cp %{_builddir}/output/gcc_arm32le/gcc_arm32le.tar.gz %{buildroot}/tmp %attr(755, root, root) /tmp/gcc_arm32le.tar.gz %changelog +* Thu Apr 11 2024 liqian - 1.0-7 +-Type:Fix +-ID:NA +-SUG:NA +-DESC: Fix Only the spec file is packaged in src.rpm without the source code file, + so it cannot be directly decompressed and compiled using src.rpm + * Mon Mar 11 2024 zhengchenhui - 1.0-6 -Type:Fix -ID:NA -- Gitee