- Add gcc-build flavor for building ALP packages, but disabled for
openSUSE. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=123
This commit is contained in:
parent
53d2a33602
commit
682f641ea9
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<flavor>build</flavor>
|
||||||
|
</multibuild>
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 14 09:27:54 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Add gcc-build flavor for building ALP packages, but disabled for
|
||||||
|
openSUSE.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 13 14:46:11 UTC 2024 - Richard Biener <rguenther@suse.com>
|
Tue Feb 13 14:46:11 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
21
gcc.spec
21
gcc.spec
@ -16,7 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
|
||||||
|
%if "%{flavor}" == "build"
|
||||||
|
%define gccsuffix -build
|
||||||
|
%define gcc_version 13
|
||||||
|
%define gcc_suffix 13
|
||||||
|
%else
|
||||||
%define gccsuffix %{nil}
|
%define gccsuffix %{nil}
|
||||||
|
%define gcc_version 13
|
||||||
|
%define gcc_suffix 13
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: gcc%{gccsuffix}
|
Name: gcc%{gccsuffix}
|
||||||
%define separate_bi32 0
|
%define separate_bi32 0
|
||||||
@ -45,9 +55,7 @@ Name: gcc%{gccsuffix}
|
|||||||
%endif
|
%endif
|
||||||
%define libgccjit_sover 0
|
%define libgccjit_sover 0
|
||||||
URL: http://gcc.gnu.org/
|
URL: http://gcc.gnu.org/
|
||||||
%define gcc_version 13
|
Version: %{gcc_version}
|
||||||
%define gcc_suffix 13
|
|
||||||
Version: 13
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The system GNU C Compiler
|
Summary: The system GNU C Compiler
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@ -67,6 +75,9 @@ BuildRequires: gcc%{gcc_version}-ada
|
|||||||
BuildRequires: gcc%{gcc_version}-d
|
BuildRequires: gcc%{gcc_version}-d
|
||||||
%endif
|
%endif
|
||||||
Source: cpp
|
Source: cpp
|
||||||
|
%if "%{gccsuffix}" != "" && 0%{?is_opensuse}
|
||||||
|
ExclusiveArch: do-not-build
|
||||||
|
%endif
|
||||||
|
|
||||||
%description -n gcc%{gccsuffix}
|
%description -n gcc%{gccsuffix}
|
||||||
The system GNU C Compiler.
|
The system GNU C Compiler.
|
||||||
@ -142,8 +153,10 @@ The system GNU Compiler documentation.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# install / update the entries
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# install / update the entries
|
||||||
%post -n gcc%{gccsuffix}-info
|
%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=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
|
%install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user