From 2065ad3277cfe38e4b1202fc8d09595b9af2b94c Mon Sep 17 00:00:00 2001 From: Whitney33 Date: Tue, 20 Aug 2024 02:27:17 +0000 Subject: [PATCH] change invalid_doc_attributes deny to warn for rust-1.78.0+ to enable build success Signed-off-by: Whitney33 --- icedtea-web.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/icedtea-web.spec b/icedtea-web.spec index f8566f5..3fe8bf9 100644 --- a/icedtea-web.spec +++ b/icedtea-web.spec @@ -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 - 1.8.4-9 +- fixes failed: with rust-1.78.0, ignore invalid_doc_attributes, to enable build success. + * Fri Jul 30 2021 chenyanpanHW - 1.8.4-8 - DESC: delete -S git from %autosetup, and delete BuildRequires git -- Gitee