Sync from SUSE:SLFO:Main gcc revision 5f043c8f3afcbf6c9913d5130cf8e14d

This commit is contained in:
Adrian Schröter 2025-02-25 19:20:37 +01:00
parent 7b50143961
commit 2b473462b1
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

View File

@ -1,7 +1,7 @@
#
# spec file for package gcc
# spec file
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -180,6 +180,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
@ -451,7 +452,7 @@ Conflicts: gcc-go
Requires: gcc%{gcc_version}-go
Requires: gcc%{gccsuffix} = %{version}
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
%description -n gcc%{gccsuffix}-go
The system GNU Go Compiler.
@ -495,7 +496,7 @@ Conflicts: gcc-d
Requires: gcc%{gcc_version}-d
Requires: gcc%{gccsuffix} = %{version}
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
%description -n gcc%{gccsuffix}-d
The system GNU D Compiler.
@ -666,7 +667,7 @@ fi
%doc %{_mandir}/man1/cpp.1.gz
# Plugins are only enabled for Tumbleweed
%if 0%{!?sle_version:1}
%if 0%{?is_opensuse}
%files -n gcc%{gccsuffix}-devel
%defattr(-,root,root)
# empty - only for the dependency