!3 [RPM] delete the Provides of lib.* files in rpm package

From: @eastb233 
Reviewed-by: @peilin-guo 
Signed-off-by: @peilin-guo
This commit is contained in:
openeuler-ci-bot 2022-08-25 03:15:56 +00:00 committed by Gitee
commit c70b57b1b4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
%global gcc_version 12.1.1
%global gcc_major 12
%global gcc_release 1
%global gcc_release 2
%global isl_version 0.18
%global _unpackaged_files_terminate_build 0
@ -15,6 +15,8 @@
%if 0%{?scl:1}
%global scl_prefix gcc-toolset-12-
%global _prefix /opt/openEuler/gcc-toolset-12/root/usr
%define __provides_exclude ^lib.*$
%endif
# Strip will fail on nvptx-none *.a archives and the brp-* scripts will
@ -132,7 +134,7 @@ AutoReq: true
Provides: bundled(libiberty)
Provides: bundled(libbacktrace)
Provides: bundled(libffi)
Provides: gcc(major) = %{gcc_major}
Provides: %{?scl_prefix}gcc(major) = %{gcc_major}
Patch0: 0001-change-gcc-version.patch
@ -2668,5 +2670,8 @@ end
%doc rpm.doc/changelogs/libcc1/ChangeLog*
%changelog
* Wed Aug 24 2022 eastb233 <xiezhiheng@huawei.com> 12.1.1-2
- delete the Provides of lib.* files in rpm package
* Tue Aug 09 2022 eastb233 <xiezhiheng@huawei.com> 12.1.1-1
- Init gcc toolset gcc 12.1.1