--- /dev/null
+--- tar-0.5.1.1/tar.cabal~ 2001-09-09 03:46:40.000000000 +0200
++++ tar-0.5.1.1/tar.cabal 2020-05-24 14:19:44.685276164 +0200
+@@ -40,7 +40,7 @@
+
+ library
+
+- build-depends: base >= 4 && < 4.14,
++ build-depends: base >= 4 && < 5,
+ filepath < 1.5,
+ array < 0.6,
+ containers >= 0.2 && < 0.7,
%define pkgname tar
Summary: Library for working with ".tar" archive files
Name: ghc-%{pkgname}
-Version: 0.4.0.1
+Version: 0.5.1.1
Release: 1
License: BSD
Group: Development/Languages
Source0: http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5: a037976a434d6a55cad3e07f54686ffd
+# Source0-md5: 03938648a3d6d62cfd27d1f9d5d86f8b
+Patch0: ghc-8.10.patch
URL: http://hackage.haskell.org/package/tar/
BuildRequires: ghc >= 6.12.3
BuildRequires: rpmbuild(macros) >= 1.608
%prep
%setup -q -n %{pkgname}-%{version}
+%patch0 -p1
%build
runhaskell Setup.lhs configure -v2 \