revise .cabal

This commit is contained in:
Jens Petersen 2018-07-29 00:53:28 +09:00
parent d71880cec6
commit c363c9d870
2 changed files with 78 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
%global pkg_name profunctors
@ -6,12 +6,13 @@
Name: ghc-%{pkg_name}
Version: 5.2.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Profunctors
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
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-rpm-macros
@ -59,6 +60,7 @@ documentation.
%prep
%setup -q -n %{pkgver}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
@ -92,6 +94,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev
%changelog
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 5.2.2-3
- revise .cabal
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

71
profunctors-5.2.2.cabal Normal file
View File

@ -0,0 +1,71 @@
name: profunctors
category: Control, Categories
version: 5.2.2
x-revision: 2
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: experimental
homepage: http://github.com/ekmett/profunctors/
bug-reports: http://github.com/ekmett/profunctors/issues
copyright: Copyright (C) 2011-2015 Edward A. Kmett
synopsis: Profunctors
description: Profunctors.
tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1
build-type: Simple
extra-source-files:
.ghci
.gitignore
.travis.yml
.vim.custom
README.markdown
CHANGELOG.markdown
HLint.hs
source-repository head
type: git
location: git://github.com/ekmett/profunctors.git
library
build-depends:
base >= 4 && < 5,
base-orphans >= 0.4 && < 0.9,
bifunctors >= 5.2 && < 6,
comonad >= 4 && < 6,
contravariant >= 1 && < 2,
distributive >= 0.4.4 && < 1,
semigroups >= 0.11 && < 0.19,
tagged >= 0.4.4 && < 1,
transformers >= 0.2 && < 0.6
exposed-modules:
Data.Profunctor
Data.Profunctor.Adjunction
Data.Profunctor.Cayley
Data.Profunctor.Choice
Data.Profunctor.Closed
Data.Profunctor.Composition
Data.Profunctor.Mapping
Data.Profunctor.Monad
Data.Profunctor.Ran
Data.Profunctor.Rep
Data.Profunctor.Sieve
Data.Profunctor.Strong
Data.Profunctor.Traversing
Data.Profunctor.Types
Data.Profunctor.Unsafe
Data.Profunctor.Yoneda
ghc-options: -Wall -O2
hs-source-dirs: src
default-language: Haskell2010
other-extensions:
CPP
GADTs
FlexibleContexts
FlexibleInstances
UndecidableInstances
TypeFamilies