[ghc-srpm-macros] import (#1093541)

Jens Petersen petersen at fedoraproject.org
Fri Jun 27 01:20:12 UTC 2014


commit daf32363a0ec2fa87d98cc7b756fee19977afa6c
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Jun 27 10:20:13 2014 +0900

    import (#1093541)

 ghc-srpm-macros.spec |   38 ++++++++++++++++++++++++++++++++++++++
 macros.ghc-srpm      |    4 ++++
 2 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/ghc-srpm-macros.spec b/ghc-srpm-macros.spec
new file mode 100644
index 0000000..b8d8631
--- /dev/null
+++ b/ghc-srpm-macros.spec
@@ -0,0 +1,38 @@
+# ghc has been bootstrapped on all Fedora archs except aarch64.
+# The ghc interpreter ghci is only supported on a subset of archs.
+
+%global macros_dir %{_rpmconfigdir}/macros.d
+
+Name:           ghc-srpm-macros
+Version:        1.3
+Release:        1%{?dist}
+Summary:        RPM macros for building Haskell source packages
+
+License:        GPLv3+
+BuildArch:      noarch
+
+Source0:        macros.ghc-srpm
+
+%description
+Macros used when generating Haskell source RPM packages.
+
+
+%prep
+%{nil}
+
+
+%build
+echo no build stage needed
+
+
+%install
+install -p -D -m 0644 %{SOURCE0} %{buildroot}/%{macros_dir}/macros.ghc-srpm
+
+
+%files
+%{macros_dir}/macros.ghc-srpm
+
+
+%changelog
+* Fri May  2 2014 Jens Petersen <petersen at redhat.com> - 1.3-1
+- separate from ghc-rpm-macros
diff --git a/macros.ghc-srpm b/macros.ghc-srpm
new file mode 100644
index 0000000..e79f0cc
--- /dev/null
+++ b/macros.ghc-srpm
@@ -0,0 +1,4 @@
+# Macros needed for building srpms of Haskell packages
+
+# ghci is currently only supported on the following archs
+%ghc_arches_with_ghci %{ix86} x86_64 ppc sparcv9 armv7hl armv5tel


More information about the scm-commits mailing list