Add riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-10-09 17:05:56 +03:00
parent 3f00ef90ea
commit 90842e8a34
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
2 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,7 @@
Name: ghc-srpm-macros
Version: 1.5.0
Release: 7%{?dist}
Release: 7.0.riscv64%{?dist}
Summary: RPM macros for building Haskell source packages
License: GPLv2+
@ -35,6 +35,9 @@ install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc-srpm
%changelog
* Sun Oct 09 2022 David Abdurachmanov <davidlt@rivosinc.com> - 1.5.0-7.0.riscv64
- Add riscv64
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -2,11 +2,11 @@
# from ghc-7.8 ghci is supported on all arch's
# former archs: armv5tel ppc sparcv9
%ghc_arches_with_ghci %{ix86} x86_64 armv7hl ppc64 ppc64le aarch64 s390 s390x %{mips}
%ghc_arches_with_ghci %{ix86} x86_64 armv7hl ppc64 ppc64le aarch64 s390 s390x %{mips} riscv64
# ghc_arches is not used in current packages but still here for back compat
# former archs: alpha ppc sparcv9 armv5tel
%ghc_arches %{ix86} x86_64 armv7hl ppc64 ppc64le aarch64 s390 s390x
%ghc_arches %{ix86} x86_64 armv7hl ppc64 ppc64le aarch64 s390 s390x riscv64
# control whether to BR devel or prof library packages
# (prof subpackages were introduced in F31)