diff --git a/hledger.spec b/hledger.spec index 70d95cf..f3f86db 100644 --- a/hledger.spec +++ b/hledger.spec @@ -12,8 +12,10 @@ Summary: The main command-line interface for the hledger accounting tool License: GPLv3 Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +# http://www.yesodweb.com/blog/2014/04/consolidation-progress +Patch0: hledger-0.24-req-new-shakespeare.patch # rhbz(974725) -Patch0: hledger-0.24-no-pretty-show.patch +Patch1: hledger-0.24-no-pretty-show.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -80,7 +82,8 @@ This package provides the Haskell %{name} library development files. %prep %setup -q -%patch0 -p1 -b .no-pretty-show +%patch0 -p1 -b .req-new-shakespeare +%patch1 -p1 -b .no-pretty-show %build