Accepting request 101849 from devel:gcc
- Change licenses to follow SPDX convention. - use the target gcc binary for finding the right cc1 path OBS-URL: https://build.opensuse.org/request/show/101849 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=38
This commit is contained in:
commit
b480ec6674
10
gcc.changes
10
gcc.changes
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 27 15:30:38 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Change licenses to follow SPDX convention.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 13:41:02 CEST 2011 - dmueller@suse.de
|
||||
|
||||
- use the target gcc binary for finding the right cc1 path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 11 08:15:44 UTC 2011 - rguenther@novell.com
|
||||
|
||||
|
105
gcc.spec
105
gcc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gcc
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,9 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: gcc
|
||||
%define separate_bi32 0
|
||||
%define separate_bi64 0
|
||||
@ -30,11 +27,11 @@ Name: gcc
|
||||
Url: http://gcc.gnu.org/
|
||||
%define gcc_version 46
|
||||
%define gcc_suffix 4.6
|
||||
License: GPLv3+
|
||||
Version: 4.6
|
||||
Release: 1
|
||||
Group: Development/Languages/C and C++
|
||||
Release: 0
|
||||
Summary: The system GNU C Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Provides: c_compiler
|
||||
Obsoletes: gcc-mudflap
|
||||
Requires: cpp gcc%{gcc_version}
|
||||
@ -48,9 +45,9 @@ The system GNU C Compiler.
|
||||
|
||||
|
||||
%package -n gcc-32bit
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU C Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-32bit
|
||||
Requires: gcc = %{version}
|
||||
|
||||
@ -60,9 +57,9 @@ The system GNU C Compiler.
|
||||
|
||||
|
||||
%package -n gcc-64bit
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU C Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-64bit
|
||||
Requires: gcc = %{version}
|
||||
|
||||
@ -72,9 +69,9 @@ The system GNU C Compiler.
|
||||
|
||||
|
||||
%package -n cpp
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU Preprocessor
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: cpp%{gcc_version}
|
||||
|
||||
%description -n cpp
|
||||
@ -83,9 +80,9 @@ The system GNU Preprocessor.
|
||||
|
||||
|
||||
%package -n gcc-locale
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU Compiler locale files
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-locale
|
||||
|
||||
%description -n gcc-locale
|
||||
@ -94,9 +91,9 @@ The system GNU Compiler locale files.
|
||||
|
||||
|
||||
%package -n gcc-info
|
||||
License: GFDLv1.2
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU Compiler documentation
|
||||
License: GFDL-1.2
|
||||
Group: Development/Languages/C and C++
|
||||
PreReq: %{install_info_prereq}
|
||||
Requires: gcc%{gcc_version}-info
|
||||
|
||||
@ -115,9 +112,9 @@ The system GNU Compiler documentation.
|
||||
%install_info --info-dir=%{_infodir} --name=gfortran --description=\\"The GNU Fortran compiler.\\" %{_infodir}/gfortran-%{gcc_suffix}.info.gz
|
||||
|
||||
%package -n gcc-c++
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU C++ Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Provides: c++_compiler
|
||||
Requires: gcc%{gcc_version}-c++
|
||||
Requires: gcc = %{version}
|
||||
@ -127,9 +124,9 @@ The system GNU C++ Compiler.
|
||||
|
||||
|
||||
%package -n gcc-c++-32bit
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU C++ Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc-c++ = %{version}
|
||||
Requires: gcc-32bit = %{version}
|
||||
Requires: libstdc++%{gcc_version}-devel-32bit
|
||||
@ -139,9 +136,9 @@ The system GNU C++ Compiler 32 bit support.
|
||||
|
||||
|
||||
%package -n gcc-c++-64bit
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU C++ Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc-c++ = %{version}
|
||||
Requires: gcc-64bit = %{version}
|
||||
Requires: libstdc++%{gcc_version}-devel-64bit
|
||||
@ -152,9 +149,9 @@ The system GNU C++ Compiler 64 bit support.
|
||||
|
||||
|
||||
%package -n libstdc++-devel
|
||||
License: GPLv3+ <<ex(GCC Runtime Library Exception 3.1)
|
||||
Group: System/Libraries
|
||||
Summary: The system GNU C++ development files
|
||||
License: GPL-3.0-with-GCC-exception
|
||||
Group: System/Libraries
|
||||
Requires: libstdc++%{gcc_version}-devel
|
||||
|
||||
%description -n libstdc++-devel
|
||||
@ -163,9 +160,9 @@ The system GNU C++ development files.
|
||||
|
||||
|
||||
%package -n gcc-fortran
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/Fortran
|
||||
Summary: The system GNU Fortran Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Fortran
|
||||
Requires: gcc%{gcc_version}-fortran
|
||||
Requires: gcc = %{version}
|
||||
|
||||
@ -174,9 +171,9 @@ The system GNU Fortran Compiler.
|
||||
|
||||
|
||||
%package -n gcc-fortran-32bit
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/Fortran
|
||||
Summary: The system GNU Fortran Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Fortran
|
||||
Requires: gcc%{gcc_version}-fortran-32bit
|
||||
Requires: gcc-fortran = %{version}
|
||||
|
||||
@ -185,9 +182,9 @@ The system GNU Fortran Compiler 32 bit support.
|
||||
|
||||
|
||||
%package -n gcc-fortran-64bit
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/Fortran
|
||||
Summary: The system GNU Fortran Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Fortran
|
||||
Requires: gcc%{gcc_version}-fortran-64bit
|
||||
Requires: gcc-fortran = %{version}
|
||||
|
||||
@ -196,9 +193,9 @@ The system GNU Fortran Compiler 64 bit support.
|
||||
|
||||
|
||||
%package -n gcc-java
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/Java
|
||||
Summary: The system GNU Java Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Java
|
||||
Requires: gcc%{gcc_version}-java
|
||||
Requires: libgcj-devel = %{version}
|
||||
Recommends: gcc-gij = %{version}
|
||||
@ -210,9 +207,9 @@ The system GNU Java Compiler.
|
||||
|
||||
|
||||
%package -n libgcj-devel
|
||||
License: GPLv2+ <<ex(LIBGCJ runtime library exception)
|
||||
Group: Development/Libraries/Java
|
||||
Summary: The system GNU Java development files.
|
||||
License: GPL-2.0-with-classpath-exception
|
||||
Group: Development/Libraries/Java
|
||||
Requires: libgcj%{gcc_version}-devel
|
||||
|
||||
%description -n libgcj-devel
|
||||
@ -221,9 +218,9 @@ The system GNU Java development files.
|
||||
|
||||
|
||||
%package -n gcc-gij
|
||||
License: GPLv2+
|
||||
Group: Development/Languages/Java
|
||||
Summary: The system GNU Java bytecode interpreter
|
||||
License: GPL-2.0+
|
||||
Group: Development/Languages/Java
|
||||
Requires: gcc%{gcc_version}-gij
|
||||
|
||||
%description -n gcc-gij
|
||||
@ -232,9 +229,9 @@ The system GNU Java bytecode interpreter.
|
||||
|
||||
|
||||
%package -n gcc-gij-32bit
|
||||
License: GPLv2+
|
||||
Group: Development/Languages/Java
|
||||
Summary: The system GNU Java bytecode interpreter
|
||||
License: GPL-2.0+
|
||||
Group: Development/Languages/Java
|
||||
Requires: gcc%{gcc_version}-gij-32bit
|
||||
|
||||
%description -n gcc-gij-32bit
|
||||
@ -243,9 +240,9 @@ The system GNU Java bytecode interpreter as 32 bit application.
|
||||
|
||||
|
||||
%package -n gcc-gij-64bit
|
||||
License: GPLv2+
|
||||
Group: Development/Languages/Java
|
||||
Summary: The system GNU Java bytecode interpreter
|
||||
License: GPL-2.0+
|
||||
Group: Development/Languages/Java
|
||||
Requires: gcc%{gcc_version}-gij-64bit
|
||||
|
||||
%description -n gcc-gij-64bit
|
||||
@ -254,9 +251,9 @@ The system GNU Java bytecode interpreter as 64 bit application.
|
||||
|
||||
|
||||
%package -n gcc-objc
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/Other
|
||||
Summary: The system GNU Objective C Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Other
|
||||
Requires: gcc%{gcc_version}-objc
|
||||
Requires: gcc = %{version}
|
||||
%ifarch ppc64
|
||||
@ -269,9 +266,9 @@ The system GNU Objective C Compiler.
|
||||
|
||||
|
||||
%package -n gcc-objc-32bit
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/Other
|
||||
Summary: The system GNU Objective C Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Other
|
||||
Requires: gcc%{gcc_version}-objc-32bit
|
||||
Requires: gcc-objc = %{version}
|
||||
|
||||
@ -281,9 +278,9 @@ The system GNU Objective C Compiler 32 bit support.
|
||||
|
||||
|
||||
%package -n gcc-objc-64bit
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/Other
|
||||
Summary: The system GNU Objective C Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Other
|
||||
Requires: gcc%{gcc_version}-objc-64bit
|
||||
Requires: gcc-objc = %{version}
|
||||
|
||||
@ -293,9 +290,9 @@ The system GNU Objective C Compiler 64 bit support.
|
||||
|
||||
|
||||
%package -n gcc-obj-c++
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/Other
|
||||
Summary: The system GNU Objective C++ Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/Other
|
||||
Requires: gcc%{gcc_version}-obj-c++
|
||||
Requires: gcc-objc = %{version}
|
||||
|
||||
@ -305,9 +302,9 @@ The system GNU Objective C++ Compiler.
|
||||
|
||||
|
||||
%package -n gcc-ada
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU Ada Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc%{gcc_version}-ada
|
||||
Requires: gcc = %{version}
|
||||
|
||||
@ -316,9 +313,9 @@ The system GNU Ada Compiler.
|
||||
|
||||
|
||||
%package -n gcc-z9
|
||||
License: GPLv3+
|
||||
Group: Development/Languages/C and C++
|
||||
Summary: The system GNU C Compiler
|
||||
License: GPL-3.0+
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: gcc
|
||||
|
||||
%description -n gcc-z9
|
||||
@ -383,7 +380,7 @@ ln -sf gcc-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/cc
|
||||
ln -sf g++-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/c++.1.gz
|
||||
ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
|
||||
%ifarch s390 s390x
|
||||
dir=`gcc -print-prog-name=cc1`
|
||||
dir=`gcc-%{gcc_suffix} -print-prog-name=cc1`
|
||||
dir=${dir%/cc1}
|
||||
mkdir -p $RPM_BUILD_ROOT/$dir
|
||||
cat > $RPM_BUILD_ROOT/$dir/defaults.spec <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user