happy is also needed when not building hadrian

This commit is contained in:
Jens Petersen 2023-02-11 00:13:31 +08:00
parent 6ad54b8225
commit f0b4448eb6

View File

@ -190,6 +190,7 @@ BuildRequires: elfutils-devel
#BuildRequires: gnupg2
%endif
%if %{with hadrian}
BuildRequires: happy
%if %{with build_hadrian}
BuildRequires: ghc-Cabal-static
BuildRequires: ghc-QuickCheck-static
@ -206,7 +207,6 @@ BuildRequires: ghc-stm-static
BuildRequires: ghc-transformers-static
BuildRequires: ghc-unordered-containers-static
BuildRequires: alex
BuildRequires: happy
%else
BuildRequires: %{name}-hadrian
%endif