+++ /dev/null
-diff -urN xmonad-contrib-0.11.4.orig/XMonad/Hooks/DebugEvents.hs xmonad-contrib-0.11.4/XMonad/Hooks/DebugEvents.hs
---- xmonad-contrib-0.11.4.orig/XMonad/Hooks/DebugEvents.hs 2015-03-29 20:31:49.750052992 +0200
-+++ xmonad-contrib-0.11.4/XMonad/Hooks/DebugEvents.hs 2015-03-29 20:33:37.373383041 +0200
-@@ -30,6 +30,7 @@
-
- -- import Graphics.X11.Xlib.Extras.GetAtomName (getAtomName)
-
-+import Control.Applicative
- import Control.Exception.Extensible as E
- import Control.Monad.State
- import Control.Monad.Reader
-diff -urN xmonad-contrib-0.11.4.orig/XMonad/Util/Invisible.hs xmonad-contrib-0.11.4/XMonad/Util/Invisible.hs
---- xmonad-contrib-0.11.4.orig/XMonad/Util/Invisible.hs 2015-03-29 20:32:10.070052372 +0200
-+++ xmonad-contrib-0.11.4/XMonad/Util/Invisible.hs 2015-03-29 20:31:03.553387735 +0200
-@@ -22,6 +22,8 @@
- , fromIMaybe
- ) where
-
-+import Control.Applicative
-+
- -- $usage
- -- A wrapper data type to store layout state that shouldn't be persisted across
- -- restarts. A common wrapped type to use is @Maybe a@.
%define pkgname xmonad-contrib
Summary: Third party extensions for xmonad
Name: ghc-%{pkgname}
-Version: 0.11.4
+Version: 0.12
Release: 1
License: BSD
Group: Development/Languages
Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5: a41c886280a5414105c1cf241f0fd2f4
-Patch0: applicative.patch
+# Source0-md5: 39345f462f069f2f0e4a488f7e435dbb
URL: http://www.xmonad.org
BuildRequires: ghc >= 6.12.3
-BuildRequires: ghc-X11 >= 1.6
+BuildRequires: ghc-X11 >= 1.6.1
BuildRequires: ghc-extensible-exceptions
BuildRequires: ghc-mtl
BuildRequires: ghc-random
BuildRequires: ghc-utf8-string
BuildRequires: rpmbuild(macros) >= 1.608
-BuildRequires: xmonad >= 0.11
+BuildRequires: xmonad >= 0.12
%requires_eq ghc
-Requires: ghc-X11 >= 1.6
+Requires: ghc-X11 >= 1.6.1
Requires: ghc-extensible-exceptions
Requires: ghc-mtl
Requires: ghc-random
Requires: ghc-utf8-string
-Requires: xmonad >= 0.11
+Requires: xmonad >= 0.12
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
%prep
%setup -q -n %{pkgname}-%{version}
-%patch0 -p1
%build
runhaskell Setup.lhs configure -v2 \