refresh to cabal-rpm-0.13
This commit is contained in:
parent
b1fcb0b328
commit
173ac9d1af
|
@ -0,0 +1,34 @@
|
|||
name: control-monad-free
|
||||
version: 0.6.1
|
||||
x-revision: 2
|
||||
Cabal-Version: >= 1.6
|
||||
build-type: Simple
|
||||
license: PublicDomain
|
||||
author: Luke Palmer, Pepe Iborra
|
||||
maintainer: pepeiborra@gmail.com
|
||||
homepage: http://github.com/pepeiborra/control-monad-free
|
||||
description:
|
||||
This package provides datatypes to construct Free monads,
|
||||
Free monad transformers, and useful instances. In addition it
|
||||
provides the constructs to avoid quadratic complexity of left
|
||||
associative bind, as explained in:
|
||||
.
|
||||
* Janis Voigtlander, /Asymptotic Improvement of Computations over Free Monads, MPC'08/
|
||||
|
||||
synopsis: Free monads and monad transformers
|
||||
category: Control, Monads
|
||||
stability: experimental
|
||||
tested-with: GHC >= 6.8
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/pepeiborra/control-monad-free
|
||||
|
||||
Library
|
||||
buildable: True
|
||||
build-depends: base >= 4.7 && < 4.11, transformers, prelude-extras
|
||||
extensions: StandaloneDeriving, Rank2Types, MultiParamTypeClasses, FlexibleInstances, FlexibleContexts, UndecidableInstances, OverlappingInstances
|
||||
exposed-modules:
|
||||
Control.Monad.Free
|
||||
Control.Monad.Free.Zip
|
||||
Control.Monad.Free.Improve
|
|
@ -1,4 +1,4 @@
|
|||
# generated by cabal-rpm-0.12.1
|
||||
# generated by cabal-rpm-0.13
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name control-monad-free
|
||||
|
@ -6,16 +6,19 @@
|
|||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.6.1
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
Summary: Free monads and monad transformers
|
||||
|
||||
License: Public Domain
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-prelude-extras-devel
|
||||
BuildRequires: ghc-transformers-devel
|
||||
# End cabal-rpm deps
|
||||
|
@ -46,15 +49,22 @@ files.
|
|||
|
||||
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
%build
|
||||
# Begin cabal-rpm build:
|
||||
%ghc_lib_build
|
||||
# End cabal-rpm build
|
||||
|
||||
|
||||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_lib_install
|
||||
# End cabal-rpm install
|
||||
|
||||
|
||||
%post devel
|
||||
|
@ -66,12 +76,17 @@ files.
|
|||
|
||||
|
||||
%files -f %{name}.files
|
||||
# Begin cabal-rpm files:
|
||||
# End cabal-rpm files
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6.1-16
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue