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:
commit
527e1160a9
@ -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>
|
||||||
|
|
||||||
|
11
gcc.spec
11
gcc.spec
@ -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
|
||||||
@ -451,7 +452,7 @@ Conflicts: gcc-go
|
|||||||
Requires: gcc%{gcc_version}-go
|
Requires: gcc%{gcc_version}-go
|
||||||
Requires: gcc%{gccsuffix} = %{version}
|
Requires: gcc%{gccsuffix} = %{version}
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
|
|
||||||
%description -n gcc%{gccsuffix}-go
|
%description -n gcc%{gccsuffix}-go
|
||||||
The system GNU Go Compiler.
|
The system GNU Go Compiler.
|
||||||
@ -495,7 +496,7 @@ Conflicts: gcc-d
|
|||||||
Requires: gcc%{gcc_version}-d
|
Requires: gcc%{gcc_version}-d
|
||||||
Requires: gcc%{gccsuffix} = %{version}
|
Requires: gcc%{gccsuffix} = %{version}
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
|
|
||||||
%description -n gcc%{gccsuffix}-d
|
%description -n gcc%{gccsuffix}-d
|
||||||
The system GNU D Compiler.
|
The system GNU D Compiler.
|
||||||
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user