From 74625d7cf8a83af1b7b29a65436126c0eb278328 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 20 Nov 2023 09:27:55 +0200 Subject: [PATCH] Disable tests on riscv64 Solves: [..] [2 of 2] Compiling Main : error: Couldn't find a target code interpreter. Try with -fexternal-interpreter error: Bad exit status from /var/tmp/rpm-tmp.iin36B (%build) Bad exit status from /var/tmp/rpm-tmp.iin36B (%build) RPM build errors: Child return code was: 1 [..] Signed-off-by: David Abdurachmanov --- ghc-th-lift-instances.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc-th-lift-instances.spec b/ghc-th-lift-instances.spec index 641bc8f..c1785e2 100644 --- a/ghc-th-lift-instances.spec +++ b/ghc-th-lift-instances.spec @@ -4,11 +4,15 @@ %global pkg_name th-lift-instances %global pkgver %{pkg_name}-%{version} +%ifnarch riscv64 %bcond_without tests +%else +%bcond_with tests +%endif Name: ghc-%{pkg_name} Version: 0.1.20 -Release: %autorelease +Release: %autorelease -e 0.riscv64 Summary: Lift instances for template-haskell for common data types License: BSD-3-Clause