Add RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-10-24 11:21:54 +02:00
parent a718c5dbc4
commit 590dea4d34
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: 8%{?dist}
Release: 8.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
* Wed Oct 24 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1.4.2-8.0.riscv64
- Add RISC-V (riscv64)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_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