Compare commits
No commits in common. "factory" and "main" have entirely different histories.
16
gcc.changes
16
gcc.changes
@ -1,19 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 10:32:48 UTC 2025 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Check is_opensuse for whether plugins are enabled.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 16:34:29 UTC 2024 - Eugenio Paolantonio <eugenio.paolantonio@suse.com>
|
||||
|
||||
- Ensure every -build package conflicts and provides the non-build
|
||||
counterpart (related to boo#1230628)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 7 14:06:50 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Make gcc-build-fortran provide and conflict gcc-fortran.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 1 10:53:40 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
|
118
gcc.spec
118
gcc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -92,10 +92,6 @@ The system GNU C Compiler.
|
||||
Summary: The system GNU C Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-32bit = %{version}
|
||||
Conflicts: gcc-32bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-32bit
|
||||
Requires: gcc%{gccsuffix} = %{version}
|
||||
|
||||
@ -106,10 +102,6 @@ The system GNU C Compiler.
|
||||
Summary: The system GNU C Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-64bit = %{version}
|
||||
Conflicts: gcc-64bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-64bit
|
||||
Requires: gcc%{gccsuffix} = %{version}
|
||||
|
||||
@ -132,10 +124,6 @@ The system GNU Preprocessor.
|
||||
Summary: The system GNU C Compiler Plugin development files
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-devel = %{version}
|
||||
Conflicts: gcc-devel
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-devel
|
||||
Requires: gcc%{gccsuffix} = %{version}
|
||||
|
||||
@ -146,10 +134,6 @@ The system GNU C Compiler Plugin development files.
|
||||
Summary: The system GNU Compiler locale files
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-locale = %{version}
|
||||
Conflicts: gcc-locale
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-locale
|
||||
|
||||
%description -n gcc%{gccsuffix}-locale
|
||||
@ -159,10 +143,6 @@ The system GNU Compiler locale files.
|
||||
Summary: The system GNU Compiler documentation
|
||||
License: GFDL-1.2-only
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-info = %{version}
|
||||
Conflicts: gcc-info
|
||||
%endif
|
||||
PreReq: %{install_info_prereq}
|
||||
PreReq: gcc%{gcc_version}-info
|
||||
|
||||
@ -178,9 +158,7 @@ The system GNU Compiler documentation.
|
||||
|
||||
|
||||
|
||||
|
||||
# install / update the entries
|
||||
|
||||
%post -n gcc%{gccsuffix}-info
|
||||
%install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz
|
||||
%install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz
|
||||
@ -215,10 +193,6 @@ The system GNU C++ Compiler.
|
||||
Summary: The system GNU C++ Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-c++-32bit = %{version}
|
||||
Conflicts: gcc-c++-32bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-c++-32bit
|
||||
Requires: gcc%{gccsuffix}-32bit = %{version}
|
||||
Requires: gcc%{gccsuffix}-c++ = %{version}
|
||||
@ -230,10 +204,6 @@ The system GNU C++ Compiler 32 bit support.
|
||||
Summary: The system GNU C++ Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-c++-64bit = %{version}
|
||||
Conflicts: gcc-c++-64bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-c++-64bit
|
||||
Requires: gcc%{gccsuffix}-64bit = %{version}
|
||||
Requires: gcc%{gccsuffix}-c++ = %{version}
|
||||
@ -258,10 +228,6 @@ The system GNU C++ development files.
|
||||
Summary: The system GNU C++ 32bit development files
|
||||
License: GPL-3.0-only WITH GCC-exception-3.1
|
||||
Group: System/Libraries
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: libstdc++-devel-32bit = %{version}
|
||||
Conflicts: libstdc++-devel-32bit
|
||||
%endif
|
||||
Requires: libstdc++%{gccsuffix}-devel
|
||||
Requires: libstdc++6-devel-gcc%{gcc_version}-32bit
|
||||
|
||||
@ -272,10 +238,6 @@ The system GNU C++ 32bit development files.
|
||||
Summary: The system GNU C++ 64bit development files
|
||||
License: GPL-3.0-only WITH GCC-exception-3.1
|
||||
Group: System/Libraries
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: libstdc++-devel-64bit = %{version}
|
||||
Conflicts: libstdc++-devel-64bit
|
||||
%endif
|
||||
Requires: libstdc++%{gccsuffix}-devel
|
||||
Requires: libstdc++6-devel-gcc%{gcc_version}-64bit
|
||||
|
||||
@ -286,10 +248,6 @@ The system GNU C++ 64bit development files.
|
||||
Summary: The system GNU Fortran Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Fortran
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-fortran = %{version}
|
||||
Conflicts: gcc-fortran
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-fortran
|
||||
Requires: gcc%{gccsuffix} = %{version}
|
||||
|
||||
@ -300,10 +258,6 @@ The system GNU Fortran Compiler.
|
||||
Summary: The system GNU Fortran Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Fortran
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-fortran-32bit = %{version}
|
||||
Conflicts: gcc-fortran-32bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-fortran-32bit
|
||||
Requires: gcc%{gccsuffix}-fortran = %{version}
|
||||
|
||||
@ -314,10 +268,6 @@ The system GNU Fortran Compiler 32 bit support.
|
||||
Summary: The system GNU Fortran Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Fortran
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-fortran-64bit = %{version}
|
||||
Conflicts: gcc-fortran-64bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-fortran-64bit
|
||||
Requires: gcc%{gccsuffix}-fortran = %{version}
|
||||
|
||||
@ -328,10 +278,6 @@ The system GNU Fortran Compiler 64 bit support.
|
||||
Summary: The system GNU Objective C Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-objc = %{version}
|
||||
Conflicts: gcc-objc
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-objc
|
||||
Requires: gcc%{gccsuffix} = %{version}
|
||||
%ifarch ppc64
|
||||
@ -345,10 +291,6 @@ The system GNU Objective C Compiler.
|
||||
Summary: The system GNU Objective C Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-objc-32bit = %{version}
|
||||
Conflicts: gcc-objc-32bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-objc-32bit
|
||||
Requires: gcc%{gccsuffix}-objc = %{version}
|
||||
|
||||
@ -359,10 +301,6 @@ The system GNU Objective C Compiler 32 bit support.
|
||||
Summary: The system GNU Objective C Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-objc-64bit = %{version}
|
||||
Conflicts: gcc-objc-64bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-objc-64bit
|
||||
Requires: gcc%{gccsuffix}-objc = %{version}
|
||||
|
||||
@ -373,10 +311,6 @@ The system GNU Objective C Compiler 64 bit support.
|
||||
Summary: The system GNU Objective C++ Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-objc-c++ = %{version}
|
||||
Conflicts: gcc-objc-c++
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-obj-c++
|
||||
Requires: gcc%{gccsuffix}-objc = %{version}
|
||||
|
||||
@ -387,10 +321,6 @@ The system GNU Objective C++ Compiler.
|
||||
Summary: A default configuration to build all binaries in PIE mode
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Other
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-PIE = %{version}
|
||||
Conflicts: gcc-PIE
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-PIE
|
||||
|
||||
%description -n gcc%{gccsuffix}-PIE
|
||||
@ -403,10 +333,6 @@ space randomization (ASLR).
|
||||
Summary: The system GNU Ada Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-ada = %{version}
|
||||
Conflicts: gcc-ada
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-ada
|
||||
Requires: gcc%{gccsuffix} = %{version}
|
||||
|
||||
@ -417,10 +343,6 @@ The system GNU Ada Compiler.
|
||||
Summary: The system GNU Ada Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-ada-32bit = %{version}
|
||||
Conflicts: gcc-ada-32bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-ada-32bit
|
||||
Requires: gcc%{gccsuffix}-ada = %{version}
|
||||
|
||||
@ -431,10 +353,6 @@ The system GNU Ada Compiler 32 bit support.
|
||||
Summary: The system GNU Ada Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-ada-64bit = %{version}
|
||||
Conflicts: gcc-ada-64bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-ada-64bit
|
||||
Requires: gcc%{gccsuffix}-ada = %{version}
|
||||
|
||||
@ -445,10 +363,6 @@ The system GNU Ada Compiler 64 bit support.
|
||||
Summary: The system GNU Go Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-go = %{version}
|
||||
Conflicts: gcc-go
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-go
|
||||
Requires: gcc%{gccsuffix} = %{version}
|
||||
Requires(post): update-alternatives
|
||||
@ -461,10 +375,6 @@ The system GNU Go Compiler.
|
||||
Summary: The system GNU Go Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-go-32bit = %{version}
|
||||
Conflicts: gcc-go-32bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-go-32bit
|
||||
Requires: gcc%{gccsuffix}-go = %{version}
|
||||
|
||||
@ -475,10 +385,6 @@ The system GNU Go Compiler 32bit support.
|
||||
Summary: The system GNU Go Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-go-64bit = %{version}
|
||||
Conflicts: gcc-go-64bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-go-64bit
|
||||
Requires: gcc%{gccsuffix}-go = %{version}
|
||||
|
||||
@ -489,10 +395,6 @@ The system GNU Go Compiler 64bit support.
|
||||
Summary: The system GNU D Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-d = %{version}
|
||||
Conflicts: gcc-d
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-d
|
||||
Requires: gcc%{gccsuffix} = %{version}
|
||||
Requires(post): update-alternatives
|
||||
@ -505,10 +407,6 @@ The system GNU D Compiler.
|
||||
Summary: The system GNU D Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-d-32bit = %{version}
|
||||
Conflicts: gcc-d-32bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-d-32bit
|
||||
Requires: gcc%{gccsuffix}-d = %{version}
|
||||
|
||||
@ -519,10 +417,6 @@ The system GNU D Compiler 32bit support.
|
||||
Summary: The system GNU D Compiler
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-d-64bit = %{version}
|
||||
Conflicts: gcc-d-64bit
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-d-64bit
|
||||
Requires: gcc%{gccsuffix}-d = %{version}
|
||||
|
||||
@ -533,10 +427,6 @@ The system GNU D Compiler 64bit support.
|
||||
Summary: Support for embedding GCC inside programs and libraries
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: libgccjit-devel = %{version}
|
||||
Conflicts: libgccjit-devel
|
||||
%endif
|
||||
Requires: libgccjit%{libgccjit_sover}-devel-gcc%{gcc_version}
|
||||
|
||||
%description -n libgccjit%{gccsuffix}-devel
|
||||
@ -546,10 +436,6 @@ Package contains header files and documentation for GCC JIT front-end.
|
||||
Summary: Development files for the quadprecision math library
|
||||
License: LGPL-2.1-only
|
||||
Group: Development/Languages/Fortran
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: libquadmath-devel = %{version}
|
||||
Conflicts: libquadmath-devel
|
||||
%endif
|
||||
Requires: libquadmath0-devel-gcc%{gcc_version}
|
||||
|
||||
%description -n libquadmath%{gccsuffix}-devel
|
||||
@ -667,7 +553,7 @@ fi
|
||||
%doc %{_mandir}/man1/cpp.1.gz
|
||||
|
||||
# Plugins are only enabled for Tumbleweed
|
||||
%if 0%{?is_opensuse}
|
||||
%if 0%{!?sle_version:1}
|
||||
%files -n gcc%{gccsuffix}-devel
|
||||
%defattr(-,root,root)
|
||||
# empty - only for the dependency
|
||||
|
Loading…
x
Reference in New Issue
Block a user