add requires gcc-c++ to resolution -fsigned-char does not take effect for g++.

Signed-off-by: cherry530 <707078654@qq.com>
(cherry picked from commit dbc62855d28d926179932ffcfbb18e88e3fbfa87)
This commit is contained in:
cherry530 2024-06-12 19:23:45 +08:00 committed by openeuler-sync-bot
parent 9ffb30de80
commit ad1de19163

View File

@ -3,12 +3,12 @@ Summary: Enforcing secure compile options for abuild
License: GPL-2.0-only
Group: System/Management
Version: 1.0
Release: 0.12
Release: 0.13
BuildRoot: %{_tmppath}/%{name}-%{version}
BuildRequires: util-linux coreutils
Requires: util-linux rpm grep binutils gcc coreutils rpm-build
Requires: util-linux rpm grep binutils gcc coreutils rpm-build gcc-c++
%description
Enforcing secure compile option for abuild
@ -160,6 +160,12 @@ rm -rf %{_tmppath}/%{name}-%{version}
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
%changelog
* Fri Nov 25 2022 Ge Wang<wnagge20@h-partners.com> - 1.0-0.13
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: add requires gcc-c++
* Thu Jul 28 2022 Chenyx <chenyixiong3@huawei.com> - 1.0-0.12
- License compliance rectification