The package rpms/hlint.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/hlint.git/commit/?id=bbaf32555566....
Change:
+%ifarch armv7hl
Thanks.
Full change:
============
commit bbaf32555566ef3d60784f76be227a4ef20652bd
Author: Jens Petersen <petersen(a)redhat.com>
Date: Mon Jul 20 16:05:33 2020 +0800
enable armv7hl with -O0 (#1806116)
diff --git a/hlint.spec b/hlint.spec
index 744907e..38c014b 100644
--- a/hlint.spec
+++ b/hlint.spec
@@ -11,7 +11,7 @@
Name: %{pkg_name}
Version: 3.1.6
# can only be reset when all subpkgs bumped
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Haskell source code suggestions
License: BSD
@@ -64,9 +64,10 @@ BuildRequires: ghc-unix-prof
# for ghc-lib-parser
BuildRequires: alex
BuildRequires: happy
+# may require ghc-8.10 to build
#
https://github.com/digital-asset/ghc-lib/issues/184 (s390x)
-# ghc-lib crashes on armv7hl
-ExcludeArch: armv7hl s390x
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1806109
+ExcludeArch: s390x
%description
HLint gives suggestions on how to improve your source code.
@@ -139,6 +140,10 @@ This package provides the Haskell %{name} profiling library.
%build
+%ifarch armv7hl
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1806116
+%define cabal_configure_options --ghc-options="-O0"
+%endif
# Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
%ghc_lib_build
@@ -192,6 +197,9 @@ echo "%{_datadir}/%{ghclibparser}/" >>
%{ghclibparser}/ghc-ghc-lib-parser.files
%changelog
+* Mon Jul 20 2020 Jens Petersen <petersen(a)redhat.com> - 3.1.6-4
+- enable armv7hl with -O0
+
* Thu Jul 16 2020 Jens Petersen <petersen(a)redhat.com> - 3.1.6-3
- update to 3.1.6