diff --git a/contravariant-1.4.1.cabal b/contravariant-1.4.1.cabal index 626b39e..cbf69d5 100644 --- a/contravariant-1.4.1.cabal +++ b/contravariant-1.4.1.cabal @@ -1,98 +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 +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 bd552d1..0fc4230 100644 --- a/ghc-contravariant.spec +++ b/ghc-contravariant.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.5 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name contravariant @@ -6,17 +6,19 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Contravariant functors 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: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-StateVar-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel @@ -42,16 +44,22 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -p %{SOURCE1} %{pkg_name}.cabal +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 @@ -63,7 +71,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -71,6 +81,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Feb 17 2019 Jens Petersen - 1.4.1-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild