Accepting request 1248079 from devel:gcc

- Check is_opensuse for whether plugins are enabled.

OBS-URL: https://build.opensuse.org/request/show/1248079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=79
This commit is contained in:
Dominique Leuenberger 2025-03-02 11:17:28 +00:00 committed by Git OBS Bridge
commit 527e1160a9
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> 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -180,6 +180,7 @@ 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
@ -666,7 +667,7 @@ fi
%doc %{_mandir}/man1/cpp.1.gz %doc %{_mandir}/man1/cpp.1.gz
# Plugins are only enabled for Tumbleweed # Plugins are only enabled for Tumbleweed
%if 0%{!?sle_version:1} %if 0%{?is_opensuse}
%files -n gcc%{gccsuffix}-devel %files -n gcc%{gccsuffix}-devel
%defattr(-,root,root) %defattr(-,root,root)
# empty - only for the dependency # empty - only for the dependency