Accepting request 703444 from devel:gcc
- Add ada links on riscv64 (forwarded request 703442 from Andreas_Schwab) OBS-URL: https://build.opensuse.org/request/show/703444 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=63
This commit is contained in:
commit
a3cc8c8f9b
15
gcc.changes
15
gcc.changes
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 13:23:19 UTC 2019 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Add ada links on riscv64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 10 07:23:58 UTC 2019 - rguenther@suse.com
|
||||
|
||||
- Package default D compiler.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 30 09:09:39 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Switch gcc to default 9.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 13 07:13:07 UTC 2018 - rguenther@suse.com
|
||||
|
||||
|
122
gcc.spec
122
gcc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gcc
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -28,19 +28,24 @@ Name: gcc
|
||||
# Ada currently fails to build on a few platforms, enable it only
|
||||
# on those that work
|
||||
# Note that AdaCore only supports %ix86, x86_64 and ia64
|
||||
%ifarch %ix86 x86_64 ppc ppc64 ppc64le s390 s390x ia64 aarch64
|
||||
%ifarch %ix86 x86_64 ppc ppc64 ppc64le s390 s390x ia64 aarch64 riscv64
|
||||
%define build_ada 1
|
||||
%else
|
||||
# alpha hppa arm
|
||||
%define build_ada 0
|
||||
%endif
|
||||
%ifarch x86_64 %ix86 %arm aarch64 riscv64 s390x
|
||||
%define build_d 1
|
||||
%else
|
||||
%define build_d 0
|
||||
%endif
|
||||
Url: http://gcc.gnu.org/
|
||||
%define gcc_version 8
|
||||
%define gcc_suffix 8
|
||||
Version: 8
|
||||
%define gcc_version 9
|
||||
%define gcc_suffix 9
|
||||
Version: 9
|
||||
Release: 0
|
||||
Summary: The system GNU C Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Provides: c_compiler
|
||||
Obsoletes: gcc-ar
|
||||
@ -60,7 +65,7 @@ The system GNU C Compiler.
|
||||
|
||||
%package -n gcc-32bit
|
||||
Summary: The system GNU C Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc = %{version}
|
||||
Requires: gcc%{gcc_version}-32bit
|
||||
@ -72,7 +77,7 @@ The system GNU C Compiler.
|
||||
|
||||
%package -n gcc-64bit
|
||||
Summary: The system GNU C Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc = %{version}
|
||||
Requires: gcc%{gcc_version}-64bit
|
||||
@ -84,7 +89,7 @@ The system GNU C Compiler.
|
||||
|
||||
%package -n cpp
|
||||
Summary: The system GNU Preprocessor
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: cpp%{gcc_version}
|
||||
|
||||
@ -94,7 +99,7 @@ The system GNU Preprocessor.
|
||||
|
||||
%package -n gcc-devel
|
||||
Summary: The system GNU C Compiler Plugin development files
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc = %{version}
|
||||
Requires: gcc%{gcc_version}-devel
|
||||
@ -105,7 +110,7 @@ The system GNU C Compiler Plugin development files.
|
||||
|
||||
%package -n gcc-locale
|
||||
Summary: The system GNU Compiler locale files
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-locale
|
||||
|
||||
@ -116,7 +121,7 @@ The system GNU Compiler locale files.
|
||||
|
||||
%package -n gcc-info
|
||||
Summary: The system GNU Compiler documentation
|
||||
License: GFDL-1.2
|
||||
License: GFDL-1.2-only
|
||||
Group: Development/Languages/C and C++
|
||||
PreReq: %{install_info_prereq}
|
||||
PreReq: gcc%{gcc_version}-info
|
||||
@ -142,7 +147,7 @@ fi
|
||||
|
||||
%package -n gcc-c++
|
||||
Summary: The system GNU C++ Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Provides: c++_compiler
|
||||
Requires: gcc = %{version}
|
||||
@ -154,7 +159,7 @@ The system GNU C++ Compiler.
|
||||
|
||||
%package -n gcc-c++-32bit
|
||||
Summary: The system GNU C++ Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-c++-32bit
|
||||
Requires: gcc-32bit = %{version}
|
||||
@ -166,7 +171,7 @@ The system GNU C++ Compiler 32 bit support.
|
||||
|
||||
%package -n gcc-c++-64bit
|
||||
Summary: The system GNU C++ Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-c++-64bit
|
||||
Requires: gcc-64bit = %{version}
|
||||
@ -212,7 +217,7 @@ The system GNU C++ 64bit development files.
|
||||
|
||||
%package -n gcc-fortran
|
||||
Summary: The system GNU Fortran Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Fortran
|
||||
Requires: gcc = %{version}
|
||||
Requires: gcc%{gcc_version}-fortran
|
||||
@ -223,7 +228,7 @@ The system GNU Fortran Compiler.
|
||||
|
||||
%package -n gcc-fortran-32bit
|
||||
Summary: The system GNU Fortran Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Fortran
|
||||
Requires: gcc%{gcc_version}-fortran-32bit
|
||||
Requires: gcc-fortran = %{version}
|
||||
@ -234,7 +239,7 @@ The system GNU Fortran Compiler 32 bit support.
|
||||
|
||||
%package -n gcc-fortran-64bit
|
||||
Summary: The system GNU Fortran Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Fortran
|
||||
Requires: gcc%{gcc_version}-fortran-64bit
|
||||
Requires: gcc-fortran = %{version}
|
||||
@ -246,7 +251,7 @@ The system GNU Fortran Compiler 64 bit support.
|
||||
|
||||
%package -n gcc-objc
|
||||
Summary: The system GNU Objective C Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
Requires: gcc = %{version}
|
||||
Requires: gcc%{gcc_version}-objc
|
||||
@ -261,7 +266,7 @@ The system GNU Objective C Compiler.
|
||||
|
||||
%package -n gcc-objc-32bit
|
||||
Summary: The system GNU Objective C Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
Requires: gcc%{gcc_version}-objc-32bit
|
||||
Requires: gcc-objc = %{version}
|
||||
@ -273,7 +278,7 @@ The system GNU Objective C Compiler 32 bit support.
|
||||
|
||||
%package -n gcc-objc-64bit
|
||||
Summary: The system GNU Objective C Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
Requires: gcc%{gcc_version}-objc-64bit
|
||||
Requires: gcc-objc = %{version}
|
||||
@ -285,7 +290,7 @@ The system GNU Objective C Compiler 64 bit support.
|
||||
|
||||
%package -n gcc-obj-c++
|
||||
Summary: The system GNU Objective C++ Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
Requires: gcc%{gcc_version}-obj-c++
|
||||
Requires: gcc-objc = %{version}
|
||||
@ -297,7 +302,7 @@ The system GNU Objective C++ Compiler.
|
||||
|
||||
%package -n gcc-PIE
|
||||
Summary: A default configuration to build all binaries in PIE mode
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
Requires: gcc
|
||||
|
||||
@ -310,7 +315,7 @@ space randomization (ASLR).
|
||||
|
||||
%package -n gcc-ada
|
||||
Summary: The system GNU Ada Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc = %{version}
|
||||
Requires: gcc%{gcc_version}-ada
|
||||
@ -320,7 +325,7 @@ The system GNU Ada Compiler.
|
||||
|
||||
%package -n gcc-ada-32bit
|
||||
Summary: The system GNU Ada Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-ada-32bit
|
||||
Requires: gcc-ada = %{version}
|
||||
@ -330,7 +335,7 @@ The system GNU Ada Compiler 32 bit support.
|
||||
|
||||
%package -n gcc-ada-64bit
|
||||
Summary: The system GNU Ada Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-ada-64bit
|
||||
Requires: gcc-ada = %{version}
|
||||
@ -341,7 +346,7 @@ The system GNU Ada Compiler 64 bit support.
|
||||
|
||||
%package -n gcc-go
|
||||
Summary: The system GNU Go Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc = %{version}
|
||||
Requires: gcc%{gcc_version}-go
|
||||
@ -353,7 +358,7 @@ The system GNU Go Compiler.
|
||||
|
||||
%package -n gcc-go-32bit
|
||||
Summary: The system GNU Go Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-go-32bit
|
||||
Requires: gcc-go = %{version}
|
||||
@ -363,7 +368,7 @@ The system GNU Go Compiler 32bit support.
|
||||
|
||||
%package -n gcc-go-64bit
|
||||
Summary: The system GNU Go Compiler
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-go-64bit
|
||||
Requires: gcc-go = %{version}
|
||||
@ -372,6 +377,39 @@ Requires: gcc-go = %{version}
|
||||
The system GNU Go Compiler 64bit support.
|
||||
|
||||
|
||||
%package -n gcc-d
|
||||
Summary: The system GNU D Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc = %{version}
|
||||
Requires: gcc%{gcc_version}-d
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
|
||||
%description -n gcc-d
|
||||
The system GNU D Compiler.
|
||||
|
||||
%package -n gcc-d-32bit
|
||||
Summary: The system GNU D Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-d-32bit
|
||||
Requires: gcc-d = %{version}
|
||||
|
||||
%description -n gcc-d-32bit
|
||||
The system GNU D Compiler 32bit support.
|
||||
|
||||
%package -n gcc-d-64bit
|
||||
Summary: The system GNU D Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-d-64bit
|
||||
Requires: gcc-d = %{version}
|
||||
|
||||
%description -n gcc-d-64bit
|
||||
The system GNU D Compiler 64bit support.
|
||||
|
||||
|
||||
%prep
|
||||
|
||||
%install
|
||||
@ -391,6 +429,9 @@ for program in \
|
||||
%if %{build_ada}
|
||||
gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr \
|
||||
gnatlink gnatls gnatmake gnatname gnatprep gnatxref gprmake \
|
||||
%endif
|
||||
%if %{build_d}
|
||||
gdc \
|
||||
%endif
|
||||
gcc-ar gcc-nm gcc-ranlib \
|
||||
; do
|
||||
@ -407,6 +448,9 @@ for man1 in \
|
||||
cpp \
|
||||
gfortran \
|
||||
gccgo \
|
||||
%if %{build_d}
|
||||
gdc \
|
||||
%endif
|
||||
; do
|
||||
ln -sf $man1-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$man1.1.gz
|
||||
done
|
||||
@ -545,6 +589,13 @@ fi
|
||||
%ghost %{_sysconfdir}/alternatives/gofmt
|
||||
%doc %{_mandir}/man1/gccgo.1.gz
|
||||
|
||||
%if %{build_d}
|
||||
%files -n gcc-d
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gdc
|
||||
%doc %{_mandir}/man1/gdc.1.gz
|
||||
%endif
|
||||
|
||||
%if %{separate_bi32}
|
||||
|
||||
%files -n gcc-32bit
|
||||
@ -577,6 +628,11 @@ fi
|
||||
%defattr(-,root,root)
|
||||
# empty - only for the dependency
|
||||
|
||||
%if %{build_d}
|
||||
%files -n gcc-d-32bit
|
||||
%defattr(-,root,root)
|
||||
# empty - only for the dependency
|
||||
%endif
|
||||
%endif
|
||||
%if %{separate_bi64}
|
||||
|
||||
@ -610,6 +666,12 @@ fi
|
||||
%defattr(-,root,root)
|
||||
# empty - only for the dependency
|
||||
|
||||
%if %{build_d}
|
||||
%files -n gcc-d-64bit
|
||||
%defattr(-,root,root)
|
||||
# empty - only for the dependency
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user