From 17b0dd6ffe526bed9ea338338235d260810b8e4a Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 1 Mar 2023 10:35:36 +0200 Subject: [PATCH] Disable tests on riscv64 Hardware (SiFive HiFive Unmatched) is not fast enough. [..] Tests summary: -------------- Passed: 82622 Failed: 1 Failed with core: 0 ASan failures: 0 Unknown status: 2 TinderboxPrint:Unknown: 2 error: Bad exit status from /var/tmp/rpm-tmp.C2RdRB (%check) [..] Most likely: [..] ------------- time ---------------------- real 1.40 user 1.07 sys 0.31 1 seconds sdr.sh: #9: pwdecrypt no time regression - FAILED [..] Signed-off-by: David Abdurachmanov --- nss.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nss.spec b/nss.spec index ff7b7d4..85b70bc 100644 --- a/nss.spec +++ b/nss.spec @@ -17,7 +17,11 @@ %global dracut_modules_dir %{dracutlibdir}/modules.d/05nss-softokn/ %global dracut_conf_dir %{dracutlibdir}/dracut.conf.d +%ifnarch riscv64 %bcond_without tests +%else +%bcond_with tests +%endif %bcond_with dbm # Produce .chk files for the final stripped binaries @@ -60,7 +64,7 @@ rpm.define(string.format("nss_release_tag NSS_%s_RTM", Summary: Network Security Services Name: nss Version: %{nss_version} -Release: %{nss_release}%{?dist} +Release: %{nss_release}.0.riscv64%{?dist} License: MPLv2.0 URL: http://www.mozilla.org/projects/security/pki/nss/ Requires: nspr >= %{nspr_version} @@ -1094,6 +1098,9 @@ update-crypto-policies &> /dev/null || : %changelog +* Wed Mar 1 2023 David Abdurachmanov - 3.87.0-2.0.riscv64 +- Disable tests on riscv64 + * Tue Jan 24 2023 Bob Relyea - 3.87.0-2 - Fix rebuild errors