From faaefe12cf830b857a5444d2c8b76b4d6d3958ac Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 21 Feb 2019 10:29:54 +0800 Subject: [PATCH] update to 2.5.5 --- .gitignore | 1 + ghc-hspec-core.spec | 11 ++- hspec-core-2.5.5.cabal | 164 +++++++++++++++++++++++++++++++++++++++++ sources | 2 +- 4 files changed, 174 insertions(+), 4 deletions(-) create mode 100644 hspec-core-2.5.5.cabal diff --git a/.gitignore b/.gitignore index b99af72..73a64ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /hspec-core-2.4.4.tar.gz /hspec-core-2.4.8.tar.gz +/hspec-core-2.5.5.tar.gz diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 6ff3a99..6b662da 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -7,14 +7,15 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.4.8 -Release: 3%{?dist} +Version: 2.5.5 +Release: 1%{?dist} Summary: A Testing Framework for Haskell License: MIT 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: @@ -25,6 +26,7 @@ BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-call-stack-devel +BuildRequires: ghc-clock-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel @@ -34,7 +36,6 @@ BuildRequires: ghc-random-devel BuildRequires: ghc-setenv-devel BuildRequires: ghc-stm-devel BuildRequires: ghc-tf-random-devel -BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel %if %{with tests} BuildRequires: ghc-hspec-meta-devel @@ -74,6 +75,7 @@ This package provides the Haskell %{pkg_name} development documentation. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -119,6 +121,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %changelog +* Thu Feb 21 2019 Jens Petersen - 2.5.5-1 +- update to 2.5.5 + * Sun Feb 17 2019 Jens Petersen - 2.4.8-3 - refresh to cabal-rpm-0.13 diff --git a/hspec-core-2.5.5.cabal b/hspec-core-2.5.5.cabal new file mode 100644 index 0000000..939a719 --- /dev/null +++ b/hspec-core-2.5.5.cabal @@ -0,0 +1,164 @@ +cabal-version: >= 1.10 + +-- This file has been generated from package.yaml by hpack version 0.29.5. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: 18722f32fa5f70fec923fb16bae44075fdcc96cfab7622d6d9146d22fb7faed5 + +name: hspec-core +version: 2.5.5 +x-revision: 1 +license: MIT +license-file: LICENSE +copyright: (c) 2011-2018 Simon Hengel, + (c) 2011-2012 Trystan Spangler, + (c) 2011 Greg Weber +maintainer: Simon Hengel +build-type: Simple +category: Testing +stability: experimental +bug-reports: https://github.com/hspec/hspec/issues +homepage: http://hspec.github.io/ +synopsis: A Testing Framework for Haskell +description: This package exposes internal types and functions that can be used to extend Hspec's functionality. + +source-repository head + type: git + location: https://github.com/hspec/hspec + subdir: hspec-core + +library + hs-source-dirs: + src + vendor + ghc-options: -Wall + build-depends: + HUnit >=1.5.0.0 + , QuickCheck >=2.10 && <2.12 + , ansi-terminal >=0.5 + , array + , base >=4.5.0.0 && <5 + , call-stack + , clock + , deepseq + , directory + , filepath + , hspec-expectations ==0.8.2.* + , quickcheck-io >=0.2.0 + , random + , setenv + , stm >=2.2 + , tf-random + , transformers >=0.2.2.0 + exposed-modules: + Test.Hspec.Core.Spec + Test.Hspec.Core.Hooks + Test.Hspec.Core.Runner + Test.Hspec.Core.Formatters + Test.Hspec.Core.QuickCheck + Test.Hspec.Core.Util + other-modules: + Test.Hspec.Core.Clock + Test.Hspec.Core.Compat + Test.Hspec.Core.Config + Test.Hspec.Core.Config.Options + Test.Hspec.Core.Config.Util + Test.Hspec.Core.Example + Test.Hspec.Core.Example.Location + Test.Hspec.Core.FailureReport + Test.Hspec.Core.Format + Test.Hspec.Core.Formatters.Diff + Test.Hspec.Core.Formatters.Free + Test.Hspec.Core.Formatters.Internal + Test.Hspec.Core.Formatters.Monad + Test.Hspec.Core.QuickCheckUtil + Test.Hspec.Core.Runner.Eval + Test.Hspec.Core.Spec.Monad + Test.Hspec.Core.Timer + Test.Hspec.Core.Tree + Control.Concurrent.Async + Data.Algorithm.Diff + Paths_hspec_core + default-language: Haskell2010 + +test-suite spec + type: exitcode-stdio-1.0 + main-is: Spec.hs + hs-source-dirs: + src + vendor + test + ghc-options: -Wall + cpp-options: -DTEST + build-depends: + HUnit >=1.5.0.0 + , QuickCheck >=2.10 && <2.12 + , ansi-terminal >=0.5 + , array + , base >=4.5.0.0 && <5 + , call-stack + , clock + , deepseq + , directory + , filepath + , hspec-expectations ==0.8.2.* + , hspec-meta >=2.3.2 + , process + , quickcheck-io >=0.2.0 + , random + , setenv + , silently >=1.2.4 + , stm >=2.2 + , temporary + , tf-random + , transformers >=0.2.2.0 + other-modules: + Test.Hspec.Core.Clock + Test.Hspec.Core.Compat + Test.Hspec.Core.Config + Test.Hspec.Core.Config.Options + Test.Hspec.Core.Config.Util + Test.Hspec.Core.Example + Test.Hspec.Core.Example.Location + Test.Hspec.Core.FailureReport + Test.Hspec.Core.Format + Test.Hspec.Core.Formatters + Test.Hspec.Core.Formatters.Diff + Test.Hspec.Core.Formatters.Free + Test.Hspec.Core.Formatters.Internal + Test.Hspec.Core.Formatters.Monad + Test.Hspec.Core.Hooks + Test.Hspec.Core.QuickCheck + Test.Hspec.Core.QuickCheckUtil + Test.Hspec.Core.Runner + Test.Hspec.Core.Runner.Eval + Test.Hspec.Core.Spec + Test.Hspec.Core.Spec.Monad + Test.Hspec.Core.Timer + Test.Hspec.Core.Tree + Test.Hspec.Core.Util + Control.Concurrent.Async + Data.Algorithm.Diff + All + Helper + Mock + Test.Hspec.Core.ClockSpec + Test.Hspec.Core.CompatSpec + Test.Hspec.Core.Config.OptionsSpec + Test.Hspec.Core.Config.UtilSpec + Test.Hspec.Core.ConfigSpec + Test.Hspec.Core.Example.LocationSpec + Test.Hspec.Core.ExampleSpec + Test.Hspec.Core.FailureReportSpec + Test.Hspec.Core.Formatters.DiffSpec + Test.Hspec.Core.FormattersSpec + Test.Hspec.Core.HooksSpec + Test.Hspec.Core.QuickCheckUtilSpec + Test.Hspec.Core.Runner.EvalSpec + Test.Hspec.Core.RunnerSpec + Test.Hspec.Core.SpecSpec + Test.Hspec.Core.TimerSpec + Test.Hspec.Core.UtilSpec + Paths_hspec_core + default-language: Haskell2010 diff --git a/sources b/sources index c895508..36b7ec1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-core-2.4.8.tar.gz) = c01e14d8d91ee833e86af4852998f7e93baa89e08a88cc12381f0d7bc243182f02d0fd489dee6559f953e186e64d505f2c5ae9f01c6162763bf4d4465b5c3ed9 +SHA512 (hspec-core-2.5.5.tar.gz) = 7c73a9cc9425b28c734af08821d14f42a6a9ec527a742b52684027ccc03f3c8c7e817a5dbc9972f7de0c0a302c0956e72008aa79f00c3e8fbdc5384763a0f92c