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 Gitee
parent 6ca06e84c4
commit 257ec0b812
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

10
gc.spec
View File

@ -1,12 +1,12 @@
Name: gc
Version: 8.0.6
Release: 1
Release: 2
Summary: A garbage collector for C and C++
License: BSD and GPLv1+
Url: http://www.hboehm.info/gc/
Source0: http://www.hboehm.info/gc/gc_source/gc-%{version}.tar.gz
BuildRequires: gcc gcc-c++ libtool libatomic_ops-devel
BuildRequires: gcc gcc-c++ libtool
%description
The Boehm-Demers-Weiser conservative garbage collector can be
@ -72,6 +72,12 @@ make check
%changelog
* Tue Oct 18 2022 Liu Zixian <liuzixian4@huawei.com> - 8.0.6-2
- Type:cleancode
- ID:NA
- SUG:NA
- DESC:Remove unused BuildRequires
* Thu Dec 2 2021 wangjie <wangjie375@huawei.com> - 8.0.6-1
- Type:enhancement
- ID:NA