!30 [sync] PR-28: change invalid_doc_attributes deny to warn for rust-1.78.0+ to enable build success

From: @openeuler-sync-bot 
Reviewed-by: @cf-zhao 
Signed-off-by: @cf-zhao
This commit is contained in:
openeuler-ci-bot 2024-10-14 08:03:56 +00:00 committed by Gitee
commit f2ab1a6b63
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -10,7 +10,7 @@
%global debug_package %{nil}
Name: icedtea-web
Version: 1.8.4
Release: 8
Release: 9
Summary: Additional Java components for OpenJDK - Java Web Start implementation
License: LGPLv2+ and GPLv2 with exceptions
URL: http://icedtea.classpath.org/wiki/IcedTea-Web
@ -61,6 +61,8 @@ Help documents for icedtea-web.
%build
autoreconf -vfi
RUSTFLAGS="-W invalid_doc_attributes"
export RUSTFLAGS
CXXFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS" \
%configure \
--with-pkgversion=fedora-%{release}-%{_arch} \
@ -167,6 +169,9 @@ exit 0
%{_datadir}/man/man1/*
%changelog
* Tue Aug 20 2024 Whitney33 <shangqianli1@huawei.com> - 1.8.4-9
- fixes failed: with rust-1.78.0, ignore invalid_doc_attributes, to enable build success.
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.8.4-8
- DESC: delete -S git from %autosetup, and delete BuildRequires git