!8 [sync] PR-7: Add BuildRequires: gcc-c++ solves build error

From: @openeuler-sync-bot 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-02-18 01:20:56 +00:00 committed by Gitee
commit bffb13757e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: execstack Name: execstack
Version: 0.5.0 Version: 0.5.0
Release: 16 Release: 17
Summary: Utility to set/clear/query executable stack bit Summary: Utility to set/clear/query executable stack bit
%global commit 4c79120bcdbde0616f592458ccde7035e92ca3d8 %global commit 4c79120bcdbde0616f592458ccde7035e92ca3d8
@ -15,6 +15,7 @@ Patch1: coverity.patch
BuildRequires: elfutils-libelf-devel BuildRequires: elfutils-libelf-devel
BuildRequires: libselinux-devel, libselinux-utils BuildRequires: libselinux-devel, libselinux-utils
BuildRequires: gcc-c++
Requires: glibc >= 2.2.4-18, coreutils, findutils Requires: glibc >= 2.2.4-18, coreutils, findutils
Requires: util-linux, gawk, grep Requires: util-linux, gawk, grep
@ -55,6 +56,9 @@ install -Dm0644 doc/execstack.8 %{buildroot}%{_mandir}/man8/execstack.8
%{_mandir}/man8/execstack.8.* %{_mandir}/man8/execstack.8.*
%changelog %changelog
* Fri Feb 11 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.5.0-17
- Add BuildRequires: gcc-c++ solves build error
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.5.0-16 * Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.5.0-16
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git - DESC: delete -Sgit from %autosetup, and delete BuildRequires git