Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Jens Petersen | b155119ba5 |
12
hlint.spec
12
hlint.spec
|
@ -10,7 +10,7 @@
|
|||
Name: %{pkg_name}
|
||||
Version: 2.1.26
|
||||
# can only be reset when all subpkgs bumped
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Haskell source code suggestions
|
||||
|
||||
License: BSD
|
||||
|
@ -61,8 +61,7 @@ BuildRequires: ghc-unix-prof
|
|||
BuildRequires: alex
|
||||
BuildRequires: happy
|
||||
# https://github.com/digital-asset/ghc-lib/issues/184 (s390x)
|
||||
# ghc-lib crashes on armv7hl
|
||||
ExcludeArch: armv7hl s390x
|
||||
ExcludeArch: s390x
|
||||
|
||||
%description
|
||||
HLint gives suggestions on how to improve your source code.
|
||||
|
@ -135,6 +134,10 @@ This package provides the Haskell %{name} profiling library.
|
|||
|
||||
%build
|
||||
# Begin cabal-rpm build:
|
||||
%ifarch armv7hl
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1806116
|
||||
%define cabal_configure_options --ghc-options="-O0"
|
||||
%endif
|
||||
%ghc_libs_build %{subpkgs}
|
||||
%ghc_lib_build
|
||||
# End cabal-rpm build
|
||||
|
@ -197,6 +200,9 @@ echo "%{_datadir}/%{ghclibparser}/" >> %{ghclibparser}/ghc-ghc-lib-parser.files
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 1 2021 Jens Petersen <petersen@redhat.com> - 2.1.26-2
|
||||
- enable armv7hl with -O0 (#1806116)
|
||||
|
||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 2.1.26-1
|
||||
- update to 2.1.26
|
||||
- add ghc-lib-parser: exclude s390x (#1806109) and armv7hl (#1806116)
|
||||
|
|
Loading…
Reference in New Issue