automatic version update by autodist [release 10.2.0-1mamba;Fri Jul 24 2020]

This commit is contained in:
Automatic Build System 2024-01-05 22:37:52 +01:00
parent 507d443445
commit c53ce92725

View File

@ -39,8 +39,8 @@
%define majver %(echo %version | cut -d. -f 1-2) %define majver %(echo %version | cut -d. -f 1-2)
Name: gcc Name: gcc
Version: 10.1.0 Version: 10.2.0
Release: 2mamba Release: 1mamba
Summary: GNU Compiler Collection (C, C++, Fortran, Go, Ada) Summary: GNU Compiler Collection (C, C++, Fortran, Go, Ada)
Group: Applications/Development Group: Applications/Development
Vendor: openmamba Vendor: openmamba
@ -106,19 +106,12 @@ BuildRequires: glibc-devel >= 2.5
BuildRequires: tetex >= 3.0 BuildRequires: tetex >= 3.0
BuildRequires: libgtk2-devel >= 2.8.17 BuildRequires: libgtk2-devel >= 2.8.17
BuildRequires: libalsa-devel >= 1.0.11 BuildRequires: libalsa-devel >= 1.0.11
%if "%{?disable_jack}" != "1"
BuildRequires: dssi-devel >= 0.9
BuildRequires: libjack-devel >= 0.101.1
%endif
%if "%{?disable_gjdoc}" != "1"
BuildRequires: antlr
%endif
BuildRequires: libcairo-devel >= 1.4.10 BuildRequires: libcairo-devel >= 1.4.10
BuildRequires: libxcb-util-devel >= 0.2 BuildRequires: libxcb-util-devel >= 0.2
BuildRequires: libisl-devel >= 0.14 BuildRequires: libisl-devel >= 0.14
#% endif #% endif
#% else %else
# BuildRequires: cross-%{target_cpu}-glibc%{?glibc_require_append} >= 2.5 BuildRequires: cross-%{target_cpu}-glibc%{?glibc_require_append} >= 2.5
%endif %endif
Requires(post):%{__install_info} Requires(post):%{__install_info}
@ -661,6 +654,13 @@ case %{_target_platform} in
ADDITIONAL_OPTS="--with-slibdir=$slibdir --enable-multilib" ADDITIONAL_OPTS="--with-slibdir=$slibdir --enable-multilib"
%endif %endif
;; ;;
aarch64-*)
%if "%{_target_platform}" != "%{_host}"
ADDITIONAL_OPTS="--with-slibdir=/usr/%{_target_platform}/lib64"
%else
ADDITIONAL_OPTS="--with-slibdir=$slibdir"
%endif
;;
*) *)
echo "Error: target not supported." echo "Error: target not supported."
exit 1 exit 1
@ -731,9 +731,6 @@ CROSS_SYSTEM_HEADER_DIR=/usr/%{_target_platform}/include \
--x-libraries=%{_libdir} \ --x-libraries=%{_libdir} \
--with-system-zlib \ --with-system-zlib \
--with-isl \ --with-isl \
%if "%{?disable_jack}" == "1"
--disable-dssi \
%endif
%if "%{_target_platform}" != "%{_host}" %if "%{_target_platform}" != "%{_host}"
--enable-symvers=gnu \ --enable-symvers=gnu \
--disable-libsanitizer \ --disable-libsanitizer \
@ -845,7 +842,7 @@ mv %{buildroot}%{_prefix}/lib32/libstdc++.so.*-gdb.py %{buildroot}%{_datadir}/gd
#done) #done)
# fix permissions # fix permissions
#chmod 755 %{buildroot}/%{_lib}/libgcc_s.so.1 chmod 755 %{buildroot}/%{_libdir}/libgcc_s.so.1
#cp gcc/doc/*.pdf ../gcc-%{version}%{?gcc_extraver}/gcc/doc/ #cp gcc/doc/*.pdf ../gcc-%{version}%{?gcc_extraver}/gcc/doc/
%else # target_platform != host %else # target_platform != host
@ -938,7 +935,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
%{_bindir}/%{_target_platform}-gcov %{_bindir}/%{_target_platform}-gcov
%dir %{_libdir}/gcc %dir %{_libdir}/gcc
%{_libdir}/gcc/* %{_libdir}/gcc/*
%ifarch x86_64 %ifarch x86_64 aarch64
%exclude %{_libdir}/gcc/%{_target_platform}/%{version}/32/* %exclude %{_libdir}/gcc/%{_target_platform}/%{version}/32/*
%endif %endif
%dir %{_prefix}/libexec/gcc/%{_target_platform}/%{version} %dir %{_prefix}/libexec/gcc/%{_target_platform}/%{version}
@ -1076,7 +1073,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
%files -n libasan %files -n libasan
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libasan.so.* %{_libdir}/libasan.so.*
%ifarch x86_64 %ifarch x86_64 aarch64
%{_libdir}/libtsan.so.* %{_libdir}/libtsan.so.*
%endif %endif
@ -1086,14 +1083,14 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
%{_libdir}/libasan.la %{_libdir}/libasan.la
%{_libdir}/libasan.so %{_libdir}/libasan.so
%{_libdir}/libasan_preinit.o %{_libdir}/libasan_preinit.o
%ifarch x86_64 %ifarch x86_64 aarch64
%{_libdir}/libtsan.a %{_libdir}/libtsan.a
%{_libdir}/libtsan.la %{_libdir}/libtsan.la
%{_libdir}/libtsan.so %{_libdir}/libtsan.so
%{_libdir}/libtsan_preinit.o %{_libdir}/libtsan_preinit.o
%endif %endif
%ifarch x86_64 %ifarch x86_64 aarch64
%files -n liblsan %files -n liblsan
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/liblsan.so.* %{_libdir}/liblsan.so.*
@ -1256,7 +1253,7 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
%endif %endif
%endif # disable_fortran != 1 %endif # disable_fortran != 1
%ifnarch arm %ifnarch arm aarch64
%files -n libquadmath %files -n libquadmath
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libquadmath.so.* %{_libdir}/libquadmath.so.*
@ -1468,6 +1465,9 @@ rm -f %{buildroot}%{_infodir}/libffi.info*
%endif # cross-platform %endif # cross-platform
%changelog %changelog
* Fri Jul 24 2020 Automatic Build System <autodist@mambasoft.it> 10.2.0-1mamba
- automatic version update by autodist
* Mon Jun 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 10.1.0-2mamba * Mon Jun 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 10.1.0-2mamba
- arm: added patch to provide futex atomic functions _M_futex_notify_all and _M_futex_wait_until (armv7) - arm: added patch to provide futex atomic functions _M_futex_notify_all and _M_futex_wait_until (armv7)