define ghc_smp_mflags to speed up package builds

suggested in https://github.com/fedora-haskell/ghc-rpm-macros/issues/10
epel9
Jens Petersen 2 years ago
parent d5f701318c
commit dfe7e03c1c

@ -7,8 +7,8 @@
%endif %endif
Name: ghc-rpm-macros Name: ghc-rpm-macros
Version: 2.4.4 Version: 2.4.5
Release: 2%{?dist} Release: 1%{?dist}
Summary: RPM macros for building Haskell packages for GHC Summary: RPM macros for building Haskell packages for GHC
License: GPLv3+ License: GPLv3+
@ -193,6 +193,9 @@ EOF
%changelog %changelog
* Thu Sep 15 2022 Jens Petersen <petersen@redhat.com> - 2.4.5-1
- define ghc_smp_mflags to speed up package builds
* Sat Aug 6 2022 Jens Petersen <petersen@redhat.com> - 2.4.4-2 * Sat Aug 6 2022 Jens Petersen <petersen@redhat.com> - 2.4.4-2
- F36 obsoletes regex-applicative-text - F36 obsoletes regex-applicative-text

@ -11,3 +11,6 @@
# enable library documentation in doc subpkgs # enable library documentation in doc subpkgs
%with_haddock 1 %with_haddock 1
# %%{?_smp_ncpus_max:--jobs=%%{?_smp_ncpus_max}}
%ghc_smp_mflags %{?_smp_mflags}

Loading…
Cancel
Save