revise .cabal

This commit is contained in:
Jens Petersen 2018-07-29 00:53:27 +09:00
parent 3187aa54f3
commit 486ceb2d29
2 changed files with 57 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-0.12.1 # generated by cabal-rpm-0.12.5
# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name transformers-base %global pkg_name transformers-base
@ -6,12 +6,13 @@
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.4.4 Version: 0.4.4
Release: 10%{?dist} Release: 11%{?dist}
Summary: Lift computations from the bottom of a transformer stack Summary: Lift computations from the bottom of a transformer stack
License: BSD License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
@ -43,6 +44,7 @@ files.
%prep %prep
%setup -q -n %{pkgver} %setup -q -n %{pkgver}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build %build
@ -69,6 +71,9 @@ files.
%changelog %changelog
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.4.4-11
- revise .cabal
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-10 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -0,0 +1,50 @@
Name: transformers-base
Version: 0.4.4
x-revision: 1
Category: Control
Stability: experimental
Synopsis: Lift computations from the bottom of a transformer stack
Description:
This package provides a straightforward port of @monadLib@'s BaseM
typeclass to @transformers@.
Homepage: https://github.com/mvv/transformers-base
Bug-Reports: https://github.com/mvv/transformers-base/issues
Author:
Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>,
Bas van Dijk <v.dijk.bas@gmail.com>
Maintainer: Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>
Copyright:
2011 Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com>,
Bas van Dijk <v.dijk.bas@gmail.com>
License: BSD3
License-File: LICENSE
Cabal-Version: >= 1.6.0
Build-Type: Simple
Source-Repository head
Type: git
Location: https://github.com/mvv/transformers-base.git
Flag OrphanInstances
Description:
Declare orphan Applicative instances for lazy and strict ST if needed
Default: True
Library
Build-Depends:
base >= 3 && < 5,
base < 4.4 || >= 4.5,
stm >= 2.3,
transformers >= 0.2,
transformers-compat >= 0.2
Hs-Source-Dirs: src
GHC-Options: -Wall
if flag(OrphanInstances)
CPP-Options: -DHS_TRANSFORMERS_BASE__ORPHANS=1
else
CPP-Options: -DHS_TRANSFORMERS_BASE__ORPHANS=0
Exposed-Modules:
Control.Monad.Base