Do not include the libraries and devel stuff into the "Provides"

...to avoid overriding the system libraries.

Thanks to Andrey Bondrov for pointing that out.
This commit is contained in:
Evgenii Shatokhin 2018-02-14 12:38:08 +03:00
parent c1d9a7b5bb
commit 3c577a2737

View file

@ -214,11 +214,16 @@
%bcond_with x32_bootstrap
# Do not include the libraries and devel stuff into the "Provides" to avoid
# overriding the system libraries.
%define __noautoprov '(.*)\\.so(.*)|devel\\(.*'
#-----------------------------------------------------------------------
Summary: GNU Compiler Collection
Name: gcc%{majorver}
Release: 2
Release: 3
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Group: Development/C
Url: http://gcc.gnu.org/