diff --git a/.gitignore b/.gitignore index 0f8885d..1f737a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /bifunctors-5.4.2.tar.gz /bifunctors-5.5.tar.gz /bifunctors-5.5.3.tar.gz +/bifunctors-5.5.4.tar.gz diff --git a/bifunctors-5.5.4.cabal b/bifunctors-5.5.4.cabal new file mode 100644 index 0000000..befe681 --- /dev/null +++ b/bifunctors-5.5.4.cabal @@ -0,0 +1,119 @@ +name: bifunctors +category: Data, Functors +version: 5.5.4 +x-revision: 1 +license: BSD3 +cabal-version: >= 1.8 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/ekmett/bifunctors/ +bug-reports: http://github.com/ekmett/bifunctors/issues +copyright: Copyright (C) 2008-2016 Edward A. Kmett +synopsis: Bifunctors +description: Bifunctors. +build-type: Simple +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.4 + , GHC == 8.6.4 +extra-source-files: .travis.yml CHANGELOG.markdown README.markdown + +source-repository head + type: git + location: https://github.com/ekmett/bifunctors.git + +flag semigroups + default: True + manual: True + description: + You can disable the use of the `semigroups` package using `-f-semigroups`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +flag tagged + default: True + manual: True + description: + You can disable the use of the `tagged` package using `-f-tagged`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + +library + hs-source-dirs: src + build-depends: + base >= 4 && < 5, + base-orphans >= 0.5.2 && < 1, + comonad >= 4 && < 6, + containers >= 0.1 && < 0.7, + template-haskell >= 2.4 && < 2.16, + th-abstraction >= 0.2.2 && < 0.4, + transformers >= 0.2 && < 0.6 + + if !impl(ghc > 8.2) + build-depends: transformers-compat >= 0.5 && < 0.7 + + if flag(tagged) + build-depends: tagged >= 0.7.3 && < 1 + + if flag(semigroups) && !impl(ghc >= 8.0) + build-depends: semigroups >= 0.8.3.1 && < 1 + + if impl(ghc<7.9) + hs-source-dirs: old-src/ghc709 + exposed-modules: Data.Bifunctor + + if impl(ghc<8.1) + hs-source-dirs: old-src/ghc801 + exposed-modules: + Data.Bifoldable + Data.Bitraversable + + if impl(ghc>=7.2) && impl(ghc<7.5) + build-depends: ghc-prim == 0.2.0.0 + + exposed-modules: + Data.Biapplicative + Data.Bifunctor.Biff + Data.Bifunctor.Clown + Data.Bifunctor.Fix + Data.Bifunctor.Flip + Data.Bifunctor.Functor + Data.Bifunctor.Join + Data.Bifunctor.Joker + Data.Bifunctor.Product + Data.Bifunctor.Sum + Data.Bifunctor.Tannen + Data.Bifunctor.TH + Data.Bifunctor.Wrapped + + other-modules: + Data.Bifunctor.TH.Internal + Paths_bifunctors + + ghc-options: -Wall + + +test-suite bifunctors-spec + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Spec.hs + other-modules: BifunctorSpec + ghc-options: -Wall + build-tool-depends: hspec-discover:hspec-discover >= 1.8 + build-depends: + base >= 4 && < 5, + bifunctors, + hspec >= 1.8, + QuickCheck >= 2 && < 3, + template-haskell, + transformers, + transformers-compat + diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index 850862b..20f7cbf 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -7,14 +7,15 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 5.5.3 -Release: 6%{?dist} +Version: 5.5.4 +Release: 1%{?dist} Summary: Bifunctors License: BSD 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: @@ -29,7 +30,6 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-comonad-devel BuildRequires: ghc-containers-devel -BuildRequires: ghc-semigroups-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-th-abstraction-devel @@ -79,6 +79,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -119,6 +120,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 25 2019 Jens Petersen - 5.5.4-1 +- update to 5.5.4 + * Thu Jul 25 2019 Fedora Release Engineering - 5.5.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 98abfff..1c43bd8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bifunctors-5.5.3.tar.gz) = 4996c9afa60bd6c1de872ac7be09135a972f9c3075987834fa50bfba90111257ef51268b4b206a8652b3e68b231f94723e6e6f47eb44b457820cfe9b8ea82404 +SHA512 (bifunctors-5.5.4.tar.gz) = 16470cac8ad9f4d246ae2d8693ddc587d7ee1f6b405f365b1fba101e5556dc5d8cf4ce7b0973f40bf6794202ae177d7e39a5ee947d157c5343cf380d3997cc33