- Add conflicts where -build variants provide the non-build variant.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=128
This commit is contained in:
parent
b49cf631e7
commit
97fc35c75f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 20 09:48:44 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Add conflicts where -build variants provide the non-build variant.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 13:47:32 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
|
4
gcc.spec
4
gcc.spec
@ -63,6 +63,7 @@ Group: Development/Languages/C and C++
|
||||
Provides: c_compiler
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc = %{version}
|
||||
Conflicts: gcc
|
||||
%endif
|
||||
Requires: cpp%{gccsuffix}
|
||||
Requires: gcc%{gcc_version}
|
||||
@ -155,6 +156,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
|
||||
@ -177,6 +179,7 @@ Group: Development/Languages/C and C++
|
||||
Provides: c++_compiler
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: gcc-c++ = %{version}
|
||||
Conflicts: gcc-c++
|
||||
%endif
|
||||
Requires: gcc%{gcc_version}-c++
|
||||
Requires: gcc%{gccsuffix} = %{version}
|
||||
@ -212,6 +215,7 @@ License: GPL-3.0-only WITH GCC-exception-3.1
|
||||
Group: System/Libraries
|
||||
%if "%{gccsuffix}" != ""
|
||||
Provides: libstdc++-devel = %{version}
|
||||
Conflicts: libstdc++-devel
|
||||
%endif
|
||||
Requires: libstdc++6-devel-gcc%{gcc_version}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user