diff --git a/ghc-hledger-lib.spec b/ghc-hledger-lib.spec index 0f75918..baab79c 100644 --- a/ghc-hledger-lib.spec +++ b/ghc-hledger-lib.spec @@ -13,7 +13,6 @@ Summary: Core data types, parsers and functionality for the hledger accou License: GPLv3 Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Patch0: hledger-lib-mtl-compat.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -70,7 +69,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -%patch0 -p1 -b .orig +cabal-tweak-drop-dep mtl-compat %build diff --git a/hledger-lib-mtl-compat.patch b/hledger-lib-mtl-compat.patch deleted file mode 100644 index 6ce1dc5..0000000 --- a/hledger-lib-mtl-compat.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- hledger-lib-0.27.1/hledger-lib.cabal~ 2016-05-28 02:34:13.000000000 +0900 -+++ hledger-lib-0.27.1/hledger-lib.cabal 2016-09-05 15:41:59.403085393 +0900 -@@ -63,7 +63,6 @@ - , directory - , filepath - , mtl -- , mtl-compat - , old-time - , parsec >= 3 - , regex-tdfa -@@ -141,7 +140,6 @@ - , directory - , filepath - , mtl -- , mtl-compat - , old-time - , parsec >= 3 - , regex-tdfa