!37 修复由于依赖包使用c++17进行编译导致netdata编译失败的问题

From: @cherry530 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2024-04-09 02:43:00 +00:00 committed by Gitee
commit 714c72ffcc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -8,7 +8,7 @@
%global upver 1.42.1
Name: netdata
Version: 1.42.1
Release: 1
Release: 2
Summary: Real-time performance monitoring
License: GPLv3 and GPLv3+ and ASL 2.0 and CC-BY-4.0 and MIT and WTFPL
URL: https://github.com/%{name}/%{name}/
@ -92,6 +92,7 @@ rm -rf web/fonts web/gui/dashboard/static/media
cp %{SOURCE5} .
%build
export HAVE_CXX17="1"
autoreconf -ivf
%configure \
--prefix=%{_prefix} \
@ -279,6 +280,9 @@ fi
%attr(4755,root,root) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
%changelog
* Tue Apr 09 2024 xu_ping <707078654@qq.com> - 1.42.1-2
- Fixed a compilation failure due to a dependency package compiled using c++17.
* Thu Aug 24 2023 chenchen <chen_aka_jan@163.com> - 1.42.1-1
- Upgrade to version 1.42.1