diff --git a/hledger-mtl-compat.patch b/hledger-mtl-compat.patch deleted file mode 100644 index a9c2018..0000000 --- a/hledger-mtl-compat.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- hledger-0.27.1/hledger.cabal~ 2016-05-28 02:34:17.000000000 +0900 -+++ hledger-0.27.1/hledger.cabal 2016-09-05 16:35:19.499499817 +0900 -@@ -69,7 +69,6 @@ - , haskeline >= 0.6 && <= 0.8 - , HUnit - , mtl -- , mtl-compat - , old-time - , parsec >= 3 - , process -@@ -143,7 +142,6 @@ - , haskeline >= 0.6 && <= 0.8 - , HUnit - , mtl -- , mtl-compat - , old-time - , parsec >= 3 - , process -@@ -196,7 +194,6 @@ - , haskeline >= 0.6 && <= 0.8 - , HUnit - , mtl -- , mtl-compat - , old-time - , parsec >= 3 - , process diff --git a/hledger.spec b/hledger.spec index f65992d..d39a329 100644 --- a/hledger.spec +++ b/hledger.spec @@ -13,7 +13,6 @@ 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 -Patch0: hledger-mtl-compat.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -82,7 +81,7 @@ This package provides the Haskell %{name} library development files. %prep %setup -q -%patch0 -p1 -b .orig +cabal-tweak-drop-dep mtl-compat %build