diff --git a/ghc-microlens-th.spec b/ghc-microlens-th.spec index 812e4fb..bebfab8 100644 --- a/ghc-microlens-th.spec +++ b/ghc-microlens-th.spec @@ -4,11 +4,15 @@ %global pkg_name microlens-th %global pkgver %{pkg_name}-%{version} +%ifnarch riscv64 %bcond_without tests +%else +%bcond_with tests +%endif Name: ghc-%{pkg_name} Version: 0.4.3.11 -Release: %autorelease +Release: %autorelease -e 0.riscv64 Summary: Automatic generation of record lenses for microlens License: BSD-3-Clause