diff --git a/.gitignore b/.gitignore index 6fa5104..54e50a3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /contravariant-1.2.0.1.tar.gz /contravariant-1.4.tar.gz /StateVar-1.1.0.4.tar.gz +/contravariant-1.4.1.tar.gz diff --git a/contravariant-1.4.1.cabal b/contravariant-1.4.1.cabal new file mode 100644 index 0000000..626b39e --- /dev/null +++ b/contravariant-1.4.1.cabal @@ -0,0 +1,98 @@ +name: contravariant +category: Control, Data +version: 1.4.1 +x-revision: 1 +license: BSD3 +cabal-version: >= 1.6 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/ekmett/contravariant/ +bug-reports: http://github.com/ekmett/contravariant/issues +copyright: Copyright (C) 2007-2015 Edward A. Kmett +synopsis: Contravariant functors +description: Contravariant functors. +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.1 +extra-source-files: + .travis.yml + CHANGELOG.markdown + README.markdown + HLint.hs + +source-repository head + type: git + location: git://github.com/ekmett/contravariant.git + +flag tagged + description: + You can disable the use of the `tagged` package using `-f-tagged`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: True + +flag semigroups + description: + You can disable the use of the `semigroups` package using `-f-semigroups`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: True + +flag safe + description: Get Safe guarantees rather than merely Trustworthy, but with worse constant factors. + default: False + manual: True + +flag StateVar + description: + You can disable the use of the `StateVar` package using `-f-StateVar`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: True + +library + hs-source-dirs: src + build-depends: + base < 4.12, + transformers >= 0.2 && < 0.6, + transformers-compat >= 0.3 && < 1 + + if !impl(ghc >= 7.9) + build-depends: void >= 0.6 && < 1 + + if flag(tagged) && !impl(ghc >= 7.7) + build-depends: tagged >= 0.4.4 && < 1 + + if flag(semigroups) && !impl(ghc >= 7.11) + build-depends: semigroups >= 0.15.2 && < 1 + + if flag(StateVar) + build-depends: StateVar >= 1.1 && < 1.2 + + if impl(ghc >= 7.2 && < 7.6) + build-depends: ghc-prim + + if flag(safe) + cpp-options: -DSAFE + + exposed-modules: + Data.Functor.Contravariant + Data.Functor.Contravariant.Compose + Data.Functor.Contravariant.Divisible + + if impl(ghc >= 7.4) + exposed-modules: Data.Functor.Contravariant.Generic + + ghc-options: -Wall diff --git a/ghc-contravariant.spec b/ghc-contravariant.spec index a05ca00..49b2407 100644 --- a/ghc-contravariant.spec +++ b/ghc-contravariant.spec @@ -1,26 +1,25 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name contravariant %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 1.4 -Release: 7%{?dist} +Version: 1.4.1 +Release: 1%{?dist} Summary: Contravariant functors 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 # Begin cabal-rpm deps: BuildRequires: ghc-StateVar-devel -BuildRequires: ghc-semigroups-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel -BuildRequires: ghc-void-devel # End cabal-rpm deps %description @@ -44,6 +43,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -67,10 +67,13 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files -%doc CHANGELOG.markdown +%doc CHANGELOG.markdown README.markdown %changelog +* Sun Jul 22 2018 Jens Petersen - 1.4.1-1 +- update to 1.4.1 + * Fri Jul 13 2018 Fedora Release Engineering - 1.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index e6c9399..9f271a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (contravariant-1.4.tar.gz) = 6d99a8ed4694ad8494e1a705e911f16ade01f31c92cc8fc21cf49f5b03beafd25597781abc304c4ee360a3ba9473470a4c96069604ab563fb8ae194e09cdf56a +SHA512 (contravariant-1.4.1.tar.gz) = df7f6f1999eb1a99a383cca6435781270d05e08a583fd3927707baba2d1553976b604ef6b66473cde9026784bc44bfa38b59ac15e91ff5f1437ce7d80e68e405