RPM macros for building Haskell source packages
Go to file
Petr Šabata 07640a30c7 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/ghc-srpm-macros#44e8d03945bd45cdc860aa93af14cadcdcc799d4
2020-10-15 01:24:21 +02:00
.gitignore New branch setup 2020-10-08 12:27:21 +00:00
ghc-srpm-macros.spec RHEL 9.0.0 Alpha bootstrap 2020-10-15 01:24:21 +02:00
macros.ghc-srpm RHEL 9.0.0 Alpha bootstrap 2020-10-15 01:24:21 +02:00
README RHEL 9.0.0 Alpha bootstrap 2020-10-15 01:24:21 +02:00
sources RHEL 9.0.0 Alpha bootstrap 2020-10-15 01:24:21 +02:00

RPM macros to control the build arch's available for
Fedora Haskell packages with ghc-rpm-macros.

%ghc_arches_with_ghci:

The ghci interactive environment is needed when compiling
packages that use Template Haskell.  It is not available
on all archs.  Use "ExclusiveArch: %{ghc_arches_with_ghci}"
in packages that need the ghci capability to build,
or require a dependency that can only build with ghci.

%ghc_arches:

Deprecated but still used in older releases/packages.
Currently (as of F21) ghc is available on all actively
maintained architectures, but we could use %ghc_arches
again in the future if that is no longer true again.

Please report any issues in Red Hat bugzilla under
the Fedora product and ghc-srpm-macros component.