aboutsummaryrefslogtreecommitdiffstats
path: root/arm-linux-gnueabi-toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'arm-linux-gnueabi-toolchain')
-rw-r--r--arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/10/arm-linux-gnueabi-gcc.spec28
1 files changed, 9 insertions, 19 deletions
diff --git a/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/10/arm-linux-gnueabi-gcc.spec b/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/10/arm-linux-gnueabi-gcc.spec
index 916fa69..f66504e 100644
--- a/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/10/arm-linux-gnueabi-gcc.spec
+++ b/arm-linux-gnueabi-toolchain/arm-linux-gnueabi-gcc/10/arm-linux-gnueabi-gcc.spec
@@ -28,28 +28,16 @@
%bcond_without ada
-%global date 20200425
-%global gitrev 8fc8bf801e46d0d478c50bddecf5d8edf9511849
-%global shortgitrev %(c=%{gitrev}; echo "${c:0:7}")
-
Name: %{cross_triplet}-gcc%{pkg_suffix}
-Version: 10.0.1
-Release: 2.%{date}git%{shortgitrev}%{?dist}
+Version: 10.1.0
+Release: 1%{?dist}
Summary: The GNU Compiler Collection (%{cross_triplet})
%global major_version %(echo %{version} | sed 's/\\..*$//')
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
URL: https://gcc.gnu.org
-
-# Uncomment this line when GCC 10 is released.
-# Source0: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
-#
-# Temporarily switch to git snapshot. The source tarball is generated by:
-# git clone --depth 1 https://gcc.gnu.org/git/gcc.git gcc-dir.tmp
-# git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin %%{gitrev}
-# git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-%%{version}-%%{date}/ %%{gitrev} | xz -9e > gcc-%%{version}-%%{date}.tar.xz
-Source0: gcc-%{version}-%{date}.tar.xz
+Source0: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
BuildRequires: gcc, gcc-c++, gcc-gnat
BuildRequires: texinfo, gettext, flex, bison, zlib-devel
@@ -86,11 +74,10 @@ Provides: %{cross_triplet}-gcc-stage3 = %{version}
%prep
-%autosetup -p1 -Tb 0 -n gcc-%{version}-%{date}
+%autosetup -p1 -Tb 0 -n gcc-%{version}
%build
-./contrib/gcc_update --touch
mkdir -p %{_builddir}/gcc-build
cd %{_builddir}/gcc-build
export AR_FOR_TARGET=%{_bindir}/%{cross_triplet}-ar
@@ -103,7 +90,7 @@ export RANLIB_FOR_TARGET=%{_bindir}/%{cross_triplet}-ranlib
export STRIP_FOR_TARGET=%{_bindir}/%{cross_triplet}-strip
export WINDRES_FOR_TARGET=%{_bindir}/%{cross_triplet}-windres
export WINDMC_FOR_TARGET=%{_bindir}/%{cross_triplet}-windmc
-%global _configure ../gcc-%{version}-%{date}/configure
+%global _configure ../gcc-%{version}/configure
%global _program_prefix %{cross_triplet}-
%global _hardening_ldflags \\\
%(echo "%{_hardening_ldflags}" | sed -e 's/-specs=[^ ]*//g')
@@ -227,7 +214,7 @@ rmdir --ignore-fail-on-non-empty %{buildroot}%{_libexecdir}/gcc/%{cross_triplet}
%files
%license COPYING COPYING.LIB COPYING.RUNTIME COPYING3 COPYING3.LIB
-%doc ChangeLog ChangeLog.jit ChangeLog.tree-ssa MAINTAINERS README
+%doc ChangeLog ChangeLog.jit ChangeLog.tree-ssa MAINTAINERS NEWS README
%{_bindir}/%{cross_triplet}-cpp
%{_bindir}/%{cross_triplet}-gcc
%{_bindir}/%{cross_triplet}-gcc-ar
@@ -391,6 +378,9 @@ rmdir --ignore-fail-on-non-empty %{buildroot}%{_libexecdir}/gcc/%{cross_triplet}
%changelog
+* Sat May 09 2020 Ting-Wei Lan <lantw44@gmail.com> - 10.1.0-1
+- Update to new stable release 10.1.0
+
* Tue Apr 28 2020 Ting-Wei Lan <lantw44@gmail.com> - 10.0.1-2.20200425git8fc8bf8
- Quote strings in if conditionals for RPM 4.16
- Remove __ar_no_strip and define __strip to a dummy command