Remove unused BuildRequires

From gc official website:
Starting with 8.0, libatomic_ops is only required if the compiler does not understand gcc's C atomic intrinsics.

Signed-off-by: sdlzx <liuzixian4@huawei.com>
This commit is contained in:
sdlzx 2022-10-18 01:41:59 +00:00 committed by liqingqing_1229
parent 928b646a85
commit fc8732cd28

10
gc.spec
View File

@ -1,6 +1,6 @@
Name: gc
Version: 8.0.6
Release: 2
Release: 3
Summary: A garbage collector for C and C++
License: BSD and GPLv1+
Url: http://www.hboehm.info/gc/
@ -8,7 +8,7 @@ Source0: http://www.hboehm.info/gc/gc_source/gc-%{version}.tar.gz
Patch0: Fix-typo-in-GC_malloc_explicitly_typed-comment.patch
BuildRequires: gcc gcc-c++ libtool libatomic_ops-devel
BuildRequires: gcc gcc-c++ libtool
%description
The Boehm-Demers-Weiser conservative garbage collector can be
@ -74,6 +74,12 @@ make check
%changelog
* Wed Oct 26 2022 Liu Zixian <liuzixian4@huawei.com> - 8.0.6-3
- Type:cleancode
- ID:NA
- SUG:NA
- DESC:Remove unused BuildRequires
* Wed Oct 19 2022 zhangruifang <zhangruifang1@h-partners.com> - 8.0.6-2
- Type:bugfix
- ID:NA