Disable tests on riscv64

Solves:
[..]
Preprocessing test suite 'spec' for generic-deriving-1.14.4..
Building test suite 'spec' for generic-deriving-1.14.4..
[1 of 8] Compiling DefaultSpec
[2 of 8] Compiling EmptyCaseSpec
<no location info>: error:
    Couldn't find a target code interpreter. Try with -fexternal-interpreter
[3 of 8] Compiling ExampleSpec
<no location info>: error:
    Couldn't find a target code interpreter. Try with -fexternal-interpreter
[4 of 8] Compiling T68Spec
<no location info>: error:
    Couldn't find a target code interpreter. Try with -fexternal-interpreter
[5 of 8] Compiling T80Spec
<no location info>: error:
    Couldn't find a target code interpreter. Try with -fexternal-interpreter
[6 of 8] Compiling T82Spec
<no location info>: error:
    Couldn't find a target code interpreter. Try with -fexternal-interpreter
[7 of 8] Compiling TypeInTypeSpec
<no location info>: error:
    Couldn't find a target code interpreter. Try with -fexternal-interpreter
error: Bad exit status from /var/tmp/rpm-tmp.qPmyRW (%build)
    Bad exit status from /var/tmp/rpm-tmp.qPmyRW (%build)
RPM build errors:
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-19 14:16:13 +02:00
parent 9f99a98c41
commit 0c3a088a86
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 5 additions and 1 deletions

View File

@ -4,11 +4,15 @@
%global pkg_name generic-deriving
%global pkgver %{pkg_name}-%{version}
%ifnarch riscv64
%bcond_without tests
%else
%bcond_with tests
%endif
Name: ghc-%{pkg_name}
Version: 1.14.4
Release: %autorelease
Release: %autorelease -e 0.riscv64
Summary: Generic programming library for generalised deriving
License: BSD-3-Clause