Add RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2019-02-19 16:01:04 +01:00
parent 67b5378f4e
commit 23c724e96b
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
2 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,7 @@
Name: ghc-srpm-macros
Version: 1.4.2
Release: 9%{?dist}
Release: 9.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
* Tue Feb 19 2019 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1.4.2-9.0.riscv64
- Add RISC-V (riscv64)
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -2,8 +2,8 @@
# 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