From 061fdc9cef3a21352c0e8e4bc54810d559f5b7a9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 15:33:36 +0000 Subject: [PATCH] update to 0.6 --- .gitignore | 1 + distributive-0.5.3.cabal | 107 --------------------------------------- ghc-distributive.spec | 12 ++--- sources | 2 +- 4 files changed, 8 insertions(+), 114 deletions(-) delete mode 100644 distributive-0.5.3.cabal diff --git a/.gitignore b/.gitignore index 6afae64..bd949a9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /cabal-doctest-1.0.4.tar.gz /distributive-0.5.3.tar.gz /cabal-doctest-1.0.6.tar.gz +/distributive-0.6.tar.gz diff --git a/distributive-0.5.3.cabal b/distributive-0.5.3.cabal deleted file mode 100644 index 6ed1891..0000000 --- a/distributive-0.5.3.cabal +++ /dev/null @@ -1,107 +0,0 @@ -name: distributive -category: Data Structures -version: 0.5.3 -x-revision: 6 -license: BSD3 -cabal-version: >= 1.8 -license-file: LICENSE -author: Edward A. Kmett -maintainer: Edward A. Kmett -stability: provisional -homepage: http://github.com/ekmett/distributive/ -bug-reports: http://github.com/ekmett/distributive/issues -copyright: Copyright (C) 2011-2016 Edward A. Kmett -synopsis: Distributive functors -- Dual to Traversable -description: Distributive functors -- Dual to Traversable -build-type: Custom -extra-source-files: - .travis.yml - .vim.custom - config - travis-cabal-apt-install - CHANGELOG.markdown - README.markdown - Warning.hs - -source-repository head - type: git - location: git://github.com/ekmett/distributive.git - -custom-setup - setup-depends: - base >= 4 && <5, - Cabal, - cabal-doctest >= 1 && <1.1 - -flag semigroups - manual: True - default: True - 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. - -flag tagged - manual: True - default: True - 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. - -library - build-depends: - base >= 4 && < 5, - base-orphans >= 0.5.2 && < 1, - transformers >= 0.2 && < 0.6, - transformers-compat >= 0.3 && < 1 - - hs-source-dirs: src - exposed-modules: - Data.Distributive - - if impl(ghc>=7.2) - exposed-modules: Data.Distributive.Generic - - if flag(tagged) - build-depends: tagged >= 0.7 && < 1 - - if impl(ghc>=7.2 && < 7.6) - build-depends: ghc-prim - - if impl(ghc < 8.0) - if flag(semigroups) - -- we need Functor Semi.Min etc. - build-depends: semigroups >= 0.13 && < 1 - - if impl(ghc < 7.8) - hs-source-dirs: src-compat - other-modules: Data.Coerce - - ghc-options: -Wall - --- Verify the results of the examples -test-suite doctests - type: exitcode-stdio-1.0 - main-is: doctests.hs - build-depends: - base >= 4, - distributive, - doctest >= 0.11.1 && <0.17 - ghc-options: -Wall -threaded - hs-source-dirs: tests - -test-suite spec - type: exitcode-stdio-1.0 - hs-source-dirs: tests - - build-depends: - base >= 4 && < 5, - distributive, - generic-deriving >= 1.11 && < 2, - hspec >= 2 && < 3 - - main-is: Spec.hs - other-modules: GenericsSpec - - ghc-options: -Wall -threaded -rtsopts diff --git a/ghc-distributive.spec b/ghc-distributive.spec index a0e45cd..679b2d7 100644 --- a/ghc-distributive.spec +++ b/ghc-distributive.spec @@ -7,15 +7,14 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.5.3 -Release: 13%{?dist} +Version: 0.6 +Release: 1%{?dist} Summary: Distributive functors -- Dual to Traversable 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: @@ -30,7 +29,6 @@ BuildRequires: ghc-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-tagged-devel -BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel %if %{with tests} BuildRequires: ghc-doctest-devel @@ -40,7 +38,7 @@ BuildRequires: ghc-hspec-devel # End cabal-rpm deps %description -Distributive functors -- Dual to Traversable. +Distributive functors -- Dual to 'Traversable'. %package devel @@ -77,7 +75,6 @@ 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 @@ -118,6 +115,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 25 2019 Jens Petersen - 0.6-1 +- update to 0.6 + * Thu Jul 25 2019 Fedora Release Engineering - 0.5.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 3172b2c..30d70c1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (distributive-0.5.3.tar.gz) = 34d6019dc4588d1a10a40daa09822b01660da9c485d06a28722727ca1d7850eeda676da255792335e38be509a2539c02e11a404d9c45618ae064d90718cad280 +SHA512 (distributive-0.6.tar.gz) = c0e1c60d72eaa6b9b7b1dc8808a6ea34a8daa9ea97068d9faa4f2f70fe99ccc1eec6b353e0c7b05249dcc55d46b76ac799325772ad482e84f2d21c6fbff392a4