change invalid_doc_attributes deny to warn for rust-1.78.0+ to enable build success

Signed-off-by: Whitney33 <shangqianli1@huawei.com>
(cherry picked from commit 2065ad3277cfe38e4b1202fc8d09595b9af2b94c)
This commit is contained in:
Whitney33 2024-08-20 02:27:17 +00:00 committed by openeuler-sync-bot
parent efb2a1bc08
commit 56c1f2c75a

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