summaryrefslogtreecommitdiff
path: root/macros.ghc-srpm
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-02 07:03:22 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-02 07:03:22 +0000
commit5e484e88d64869bd3c6c79a4771b3c7351691ddb (patch)
treef213d5e9fff315de5fba91e25a90146f6ed75f95 /macros.ghc-srpm
parent1a6268410a37e45bded65d8716487508d8f96602 (diff)
automatic import of ghc-srpm-macrosopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'macros.ghc-srpm')
-rw-r--r--macros.ghc-srpm13
1 files changed, 13 insertions, 0 deletions
diff --git a/macros.ghc-srpm b/macros.ghc-srpm
new file mode 100644
index 0000000..6701c64
--- /dev/null
+++ b/macros.ghc-srpm
@@ -0,0 +1,13 @@
+# Macros needed for building srpms of Haskell packages
+
+# 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 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
+
+# control whether to BR devel or prof library packages
+# (prof subpackages were introduced in F31)
+%ghc_devel_prof prof