downgrade to 0.5.2 for now
it builds with transformers-0.3 without transformer-compat, unlike 0.6 (0.6 probably would need transformers-0.4 to build without compat) ghc-7.8 contains transformers-0.3 so we need -compat before we can move to 0.6.
This commit is contained in:
parent
85ac27f2df
commit
9d2abd35e2
|
@ -1,12 +0,0 @@
|
|||
--- contravariant-0.4.4/contravariant.cabal~ 2013-08-20 23:16:27.000000000 +0900
|
||||
+++ contravariant-0.4.4/contravariant.cabal 2014-03-24 16:16:35.242334031 +0900
|
||||
@@ -25,8 +25,7 @@
|
||||
build-depends:
|
||||
base < 5,
|
||||
tagged >= 0.4.4 && < 1,
|
||||
- transformers >= 0.2 && < 0.4,
|
||||
- transformers-compat >= 0.1 && < 1
|
||||
+ transformers >= 0.3 && < 0.4
|
||||
exposed-modules:
|
||||
Data.Functor.Contravariant
|
||||
Data.Functor.Contravariant.Compose
|
|
@ -0,0 +1,12 @@
|
|||
--- contravariant-0.6/contravariant.cabal~ 2014-05-12 18:03:41.000000000 +0900
|
||||
+++ contravariant-0.6/contravariant.cabal 2014-07-04 17:54:32.138253457 +0900
|
||||
@@ -32,8 +32,7 @@
|
||||
library
|
||||
build-depends:
|
||||
base < 5,
|
||||
- transformers >= 0.2 && < 0.5,
|
||||
- transformers-compat >= 0.3 && < 1
|
||||
+ transformers >= 0.2 && < 0.5
|
||||
|
||||
if flag(tagged) && !impl(ghc >= 7.7)
|
||||
build-depends: tagged >= 0.4.4 && < 1
|
|
@ -6,14 +6,14 @@
|
|||
%global debug_package %{nil}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.6
|
||||
Version: 0.5.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Contravariant functors
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Patch0: %{name}-%{version}-without-transformers-compat.patch
|
||||
Patch0: %{name}-without-transformers-compat.patch
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
|
@ -69,8 +69,8 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 12 2014 Ricky Elrod <relrod@redhat.com> - 0.6-1
|
||||
- Update to latest release.
|
||||
* Thu Jun 12 2014 Ricky Elrod <relrod@redhat.com> - 0.5.2-1
|
||||
- Update to 0.5.2 release.
|
||||
- Add comment above patch.
|
||||
- Nuke debuginfo package.
|
||||
- Prepare for initial import into Fedora.
|
||||
|
|
Loading…
Reference in New Issue