diff --git a/gcc.spec b/gcc.spec index 8e2c337..8c316fd 100644 --- a/gcc.spec +++ b/gcc.spec @@ -14,7 +14,7 @@ %define _ld ld %endif -%define gcc_ver %(echo %{version} | cut -d. -f 1-3) +%define gcc_ver %(echo %{version} | cut -d+ -f1) # use stage1 == 1 to have a gcc build not depending on # glibc library; this is usually the first needed step in @@ -30,14 +30,14 @@ # % define bootstrap_append -stage2 #% endif -%define gittag %(echo %version | cut -d. -f5) +%define gittag %(echo %version | cut -d+ -f2 | cut -d. -f2) %define libstdcxx_name libstdc++6 %define MAJver %(echo %version | cut -d. -f 1) %define majver %(echo %version | cut -d. -f 1-2) Name: gcc -Version: 14.2.0 +Version: 14.2.1+20240909git.3951efed Release: 1mamba Summary: GNU Compiler Collection (C, C++, Fortran, Go, Ada) Group: Applications/Development @@ -45,12 +45,19 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://gcc.gnu.org/ -Source: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz -#Source: https://sourceware.org/git/gcc.git/releases%2Fgcc-14@%{gittag}/gcc-%{version}.tar.bz2 +#Source: https://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.bz2 +Source: https://sourceware.org/git/gcc.git/releases%2Fgcc-14@%{gittag}/gcc-%{version}.tar.bz2 Patch0: gcc-10.1.0-arm-provide-futex-atomic-functions.patch Patch1: gcc-13.1.1-libgomp-workaround-null-environ.patch License: GPL ## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgmp-devel +BuildRequires: libisl-devel +BuildRequires: libmpc-devel +BuildRequires: libmpfr-devel +BuildRequires: libz-devel +BuildRequires: libzstd-devel ## AUTOBUILDREQ-END %if "%{?cross_target_cpu}" == "" BuildRequires: binutils @@ -897,30 +904,6 @@ rm -f %{buildroot}%{_infodir}/libquadmath.info* %clean [ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" -%post -n libgcc -p /sbin/ldconfig -%postun -n libgcc -p /sbin/ldconfig - -%post -n %{libstdcxx_name} -p /sbin/ldconfig -%postun -n %{libstdcxx_name} -p /sbin/ldconfig - -%post -n libgdruntime -p /sbin/ldconfig -%postun -n libgdruntime -p /sbin/ldconfig - -%post -n libgfortran -p /sbin/ldconfig -%postun -n libgfortran -p /sbin/ldconfig - -%post -n libquadmath -p /sbin/ldconfig -%postun -n libquadmath -p /sbin/ldconfig - -%post -n libatomic -p /sbin/ldconfig -%postun -n libatomic -p /sbin/ldconfig - -%post -n libasan -p /sbin/ldconfig -%postun -n libasan -p /sbin/ldconfig - -%post -n liblsan -p /sbin/ldconfig -%postun -n liblsan -p /sbin/ldconfig - %post doc %install_info cppinternals.info %install_info gcc.info @@ -962,6 +945,7 @@ rm -f %{buildroot}%{_infodir}/libquadmath.info* %{_bindir}/%{_target_platform}-gcc-nm %{_bindir}/%{_target_platform}-gcc-ranlib %{_bindir}/%{_target_platform}-gcov +%{_bindir}/%{_target_platform}-gcc-%{gcc_ver} %dir %{_libdir}/gcc %{_libdir}/gcc/* %ifarch x86_64 aarch64 @@ -1350,6 +1334,9 @@ rm -f %{buildroot}%{_infodir}/libquadmath.info* %endif %changelog +* Mon Sep 09 2024 Silvan Calarco 14.2.1+20240909git.3951efed-1mamba +- update to 14.2.1+20240909git.3951efed + * Tue Aug 13 2024 Automatic Build System 14.2.0-1mamba - automatic version update by autodist