update to 2.9.7

This commit is contained in:
Jens Petersen 2023-01-23 01:18:00 +08:00
parent bffc39f789
commit e8bae0c4a0
4 changed files with 32 additions and 179 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/hspec-core-2.7.1.tar.gz
/hspec-core-2.7.8.tar.gz
/hspec-core-2.7.10.tar.gz
/hspec-core-2.9.7.tar.gz

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.9
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name hspec-core
@ -7,20 +7,39 @@
# testsuite missing deps: hspec-meta
Name: ghc-%{pkg_name}
Version: 2.7.10
Release: 5%{?dist}
Version: 2.9.7
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:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-call-stack-devel
BuildRequires: ghc-clock-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-ghc-devel
BuildRequires: ghc-ghc-boot-th-devel
BuildRequires: ghc-hspec-expectations-devel
BuildRequires: ghc-quickcheck-io-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-setenv-devel
BuildRequires: ghc-stm-devel
BuildRequires: ghc-tf-random-devel
BuildRequires: ghc-transformers-devel
%if %{with ghc_prof}
BuildRequires: ghc-HUnit-prof
BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-ansi-terminal-prof
@ -31,6 +50,8 @@ BuildRequires: ghc-clock-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-ghc-prof
BuildRequires: ghc-ghc-boot-th-prof
BuildRequires: ghc-hspec-expectations-prof
BuildRequires: ghc-quickcheck-io-prof
BuildRequires: ghc-random-prof
@ -38,6 +59,7 @@ BuildRequires: ghc-setenv-prof
BuildRequires: ghc-stm-prof
BuildRequires: ghc-tf-random-prof
BuildRequires: ghc-transformers-prof
%endif
# End cabal-rpm deps
%description
@ -84,7 +106,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
@ -121,6 +142,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 2.9.7-1
- https://hackage.haskell.org/package/hspec-core-2.9.7/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,173 +0,0 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
name: hspec-core
version: 2.7.10
x-revision: 1
license: MIT
license-file: LICENSE
copyright: (c) 2011-2021 Simon Hengel,
(c) 2011-2012 Trystan Spangler,
(c) 2011 Greg Weber
maintainer: Simon Hengel <sol@typeful.net>
build-type: Simple
extra-source-files:
version.yaml
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
-- issue #677: build failure with GHC 9.4; type of fork# changed
build-depends: base <4.17
hs-source-dirs:
src
vendor
ghc-options: -Wall
build-depends:
HUnit ==1.6.*
, QuickCheck >=2.13.1
, ansi-terminal >=0.5
, array
, base >=4.5.0.0 && <5
, call-stack
, clock >=0.7.1
, 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.Shuffle
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.6.*
, QuickCheck >=2.14
, ansi-terminal >=0.5
, array
, base >=4.5.0.0 && <5
, call-stack
, clock >=0.7.1
, deepseq
, directory
, filepath
, hspec-expectations ==0.8.2.*
, hspec-meta ==2.7.8
, process
, quickcheck-io >=0.2.0
, random
, setenv
, silently >=1.2.4
, stm >=2.2
, temporary
, tf-random
, transformers >=0.2.2.0
build-tool-depends:
hspec-meta:hspec-meta-discover
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.Shuffle
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.Formatters.InternalSpec
Test.Hspec.Core.FormattersSpec
Test.Hspec.Core.HooksSpec
Test.Hspec.Core.QuickCheckUtilSpec
Test.Hspec.Core.Runner.EvalSpec
Test.Hspec.Core.RunnerSpec
Test.Hspec.Core.ShuffleSpec
Test.Hspec.Core.SpecSpec
Test.Hspec.Core.TimerSpec
Test.Hspec.Core.UtilSpec
Paths_hspec_core
default-language: Haskell2010

View File

@ -1 +1 @@
SHA512 (hspec-core-2.7.10.tar.gz) = 94e05afebef560e0a3797a0a56f3ad9497df3e9be765f36f4af9719dde62b3f828572b5da24e44465f6adcd44d7f2a1f5272d573a3ecb84327c9dc6774ac6da9
SHA512 (hspec-core-2.9.7.tar.gz) = e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1