From 90842e8a34e861e112768f634d2ee1a841f470b3 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Sun, 9 Oct 2022 17:05:56 +0300 Subject: [PATCH] Add riscv64 Signed-off-by: David Abdurachmanov --- ghc-srpm-macros.spec | 5 ++++- macros.ghc-srpm | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ghc-srpm-macros.spec b/ghc-srpm-macros.spec index a70e49a..c50e23b 100644 --- a/ghc-srpm-macros.spec +++ b/ghc-srpm-macros.spec @@ -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 - 1.5.0-7.0.riscv64 +- Add riscv64 + * Thu Jul 21 2022 Fedora Release Engineering - 1.5.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/macros.ghc-srpm b/macros.ghc-srpm index 6701c64..94382a6 100644 --- a/macros.ghc-srpm +++ b/macros.ghc-srpm @@ -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)