From de2fb511b8634e1c796152e3d17765f88be277b1 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Sat, 4 Mar 2023 17:25:31 +0200 Subject: [PATCH] Add riscv64 arch Signed-off-by: David Abdurachmanov --- ghc-srpm-macros.spec | 5 ++++- macros.ghc-srpm | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-srpm-macros.spec b/ghc-srpm-macros.spec index b274c14..9807366 100644 --- a/ghc-srpm-macros.spec +++ b/ghc-srpm-macros.spec @@ -5,7 +5,7 @@ Name: ghc-srpm-macros Version: 1.6.1 -Release: 1%{?dist} +Release: 1.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 +* Sat Mar 04 2023 David Abdurachmanov - 1.6.1-1.0.riscv64 +- Add riscv64 arch + * Mon Jan 30 2023 Jens Petersen - 1.6.1-1 - restore ghc_devel_prof for existing ghc spec files diff --git a/macros.ghc-srpm b/macros.ghc-srpm index d340cae..4c80aea 100644 --- a/macros.ghc-srpm +++ b/macros.ghc-srpm @@ -2,7 +2,7 @@ # 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 ppc64le aarch64 s390x +%ghc_arches %{ix86} x86_64 armv7hl ppc64le aarch64 s390x riscv64 # deprecated - kept for ghc.spec back compatibility %ghc_devel_prof prof