Synchronize builds with devel:languages:haskell:lts:7.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-monad-control?expand=0&rev=12
This commit is contained in:
Peter Simons 2016-10-06 18:27:46 +00:00 committed by Git OBS Bridge
parent 1da09d3e56
commit 703d59a9ce

View File

@ -22,18 +22,16 @@ Version: 1.0.1.0
Release: 0
Summary: Lift control operations, like exception catching, through monad transformers
License: BSD-3-Clause
Group: System/Libraries
Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-stm-devel
BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-compat-devel
BuildRequires: ghc-transformers-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description
This package defines the type class 'MonadBaseControl', a subset of 'MonadBase'
@ -65,15 +63,12 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache