diff --git a/alex.spec b/alex.spec index e26117b..6805562 100644 --- a/alex.spec +++ b/alex.spec @@ -14,6 +14,7 @@ Summary: Tool for generating lexical analysers in Haskell License: BSD URL: http://hackage.haskell.org/package/%{name} Source0: http://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +Patch1: alex-3.0.5-tests-base.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -39,7 +40,7 @@ lex or flex for C/C++. %prep %setup -q - +%patch1 -p1 -b .orig %build %ghc_bin_build