diff --git a/gawk.spec b/gawk.spec index 56e026e..8934887 100644 --- a/gawk.spec +++ b/gawk.spec @@ -47,7 +47,7 @@ Name: gawk Summary: The GNU version of the AWK text processing utility Version: 5.1.1 -Release: 5%{?dist} +Release: 5.0.riscv64%{?dist} License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD @@ -205,6 +205,10 @@ git commit --all --amend --no-edit > /dev/null # --------------- %build +%ifarch riscv64 +%define _pkg_extra_cflags -ffp-contract=off +%endif + # NOTE: The re-generating of ./configure (below) should be removed once the # direct dependency on 'aclocal-1.15' is fixed in upstream and backported. autoreconf --force --verbose @@ -292,6 +296,9 @@ install -m 0644 -p awklib/eg/data/* %{buildroot}%{_docdir}/%{name}/eg/data/ # ============================================================================= %changelog +* Wed Mar 01 2023 David Abdurachmanov - 5.1.1-5.0.riscv64 +- Build with -ffp-contract=off on riscv64 + * Thu Jan 19 2023 Fedora Release Engineering - 5.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild