From 754bb3d1fddeff07a91fe842e81e84cf0ce07d07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 24 May 2020 14:20:52 +0200 Subject: [PATCH] - up to 0.5.1.1 --- ghc-8.10.patch | 11 +++++++++++ ghc-tar.spec | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 ghc-8.10.patch diff --git a/ghc-8.10.patch b/ghc-8.10.patch new file mode 100644 index 0000000..c50ccf1 --- /dev/null +++ b/ghc-8.10.patch @@ -0,0 +1,11 @@ +--- 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, diff --git a/ghc-tar.spec b/ghc-tar.spec index aff5658..66acf00 100644 --- a/ghc-tar.spec +++ b/ghc-tar.spec @@ -1,12 +1,13 @@ %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 @@ -37,6 +38,7 @@ Dokumentacja w formacie HTML dla %{pkgname}. %prep %setup -q -n %{pkgname}-%{version} +%patch0 -p1 %build runhaskell Setup.lhs configure -v2 \ -- 2.44.0