From 7118433e1d6b2592f27a263949c4e6e5995ac920 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 10 Nov 2017 22:32:22 +0000 Subject: [PATCH 01/32] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c93a1b9 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-hspec-core + +The ghc-hspec-core package \ No newline at end of file From e4d60692027cf33e14513f6a00d2511b8b16454a Mon Sep 17 00:00:00 2001 From: David Shea Date: Tue, 14 Nov 2017 15:20:43 -0500 Subject: [PATCH 02/32] New package ghc-hspec-core --- .gitignore | 1 + README.md | 3 -- ghc-hspec-core.spec | 107 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 109 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-hspec-core.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e1836fb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/hspec-core-2.4.4.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index c93a1b9..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-hspec-core - -The ghc-hspec-core package \ No newline at end of file diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec new file mode 100644 index 0000000..ff88cd0 --- /dev/null +++ b/ghc-hspec-core.spec @@ -0,0 +1,107 @@ +# generated by cabal-rpm-0.11.1 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name hspec-core +%global pkgver %{pkg_name}-%{version} + +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 2.4.4 +Release: 1%{?dist} +Summary: A Testing Framework for Haskell + +License: MIT +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-ansi-terminal-devel +BuildRequires: ghc-array-devel +BuildRequires: ghc-async-devel +BuildRequires: ghc-call-stack-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-hspec-expectations-devel +BuildRequires: ghc-quickcheck-io-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-setenv-devel +BuildRequires: ghc-tf-random-devel +BuildRequires: ghc-time-devel +BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-hspec-meta-devel +BuildRequires: ghc-process-devel +BuildRequires: ghc-silently-devel +BuildRequires: ghc-temporary-devel +%endif +# End cabal-rpm deps + +%description +This package exposes internal types and functions that can be used to extend +Hspec's functionality. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%package devel-doc +Summary: Haskell %{pkg_name} library development documentation +BuildArch: noarch + +%description devel-doc +This package provides the Haskell %{pkg_name} development documentation. + +%prep +%setup -q -n %{pkgver} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install +grep -v "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-nodoc.files +grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-doc.files + + +%check +%cabal_test + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE + + +%files devel -f %{name}-devel-nodoc.files + +%files devel-doc -f %{name}-devel-doc.files + + +%changelog +* Fri Nov 10 2017 David Shea - 2.4.4-2 +- spec file generated by cabal-rpm-0.11.1 +- Split API docs into a separate package diff --git a/sources b/sources new file mode 100644 index 0000000..e3c143b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (hspec-core-2.4.4.tar.gz) = 7efb9c9f96cd4a3b406bc2d6af20b0b6369f7b40e569bef8ab6275e9a76a1e806e30bdd964a26589d5b6f374d203d536651fbe970b82000d25ddd49a7bd83367 From 917f7998e32ae0ef4e8dfb8e3592573c753bf839 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:11:20 +0100 Subject: [PATCH 03/32] refresh to cabal-rpm-0.12.1 --- ghc-hspec-core.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index ff88cd0..022982b 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.11.1 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name hspec-core @@ -50,9 +50,12 @@ Hspec's functionality. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +%if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} +%endif Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -84,6 +87,12 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From fa6cc34f55d71d67b19825c4b3f9e1651b5a5ef0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:39:01 +0100 Subject: [PATCH 04/32] bump release --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 022982b..f454c06 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.4.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -111,6 +111,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %changelog +* Fri Jan 26 2018 Jens Petersen - 2.4.4-2 +- rebuild + * Fri Nov 10 2017 David Shea - 2.4.4-2 - spec file generated by cabal-rpm-0.11.1 - Split API docs into a separate package From 04890293c8fa5bf6a020734d1c89a83f5f6eda9e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:02:44 +0900 Subject: [PATCH 05/32] drop ldconfig scriptlets --- ghc-hspec-core.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index f454c06..21bc78c 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -87,12 +87,6 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From bee86fd3ad89f9843696d1fb880b797bc22ade99 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:45:29 +0000 Subject: [PATCH 06/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 21bc78c..fc8d629 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.4.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -105,6 +105,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2.4.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 2.4.4-2 - rebuild From e0f434eb55971bec84379e52ec95b5a937da14f7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:52:41 +0000 Subject: [PATCH 07/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index fc8d629..3707d2f 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.4.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -105,6 +105,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 2.4.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 2.4.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 79b621afeab4bb10a82ce4201e19428b42590c7d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 23:09:53 +0900 Subject: [PATCH 08/32] update to 2.4.8 --- .gitignore | 1 + ghc-hspec-core.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index e1836fb..b99af72 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /hspec-core-2.4.4.tar.gz +/hspec-core-2.4.8.tar.gz diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 3707d2f..799b2e4 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name hspec-core @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.4.4 -Release: 4%{?dist} +Version: 2.4.8 +Release: 1%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -22,7 +22,6 @@ BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-array-devel -BuildRequires: ghc-async-devel BuildRequires: ghc-call-stack-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel @@ -31,6 +30,7 @@ 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-time-devel BuildRequires: ghc-transformers-devel @@ -105,6 +105,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %changelog +* Sun Jul 22 2018 Jens Petersen - 2.4.8-1 +- update to 2.4.8 + * Fri Jul 13 2018 Fedora Release Engineering - 2.4.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index e3c143b..c895508 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-core-2.4.4.tar.gz) = 7efb9c9f96cd4a3b406bc2d6af20b0b6369f7b40e569bef8ab6275e9a76a1e806e30bdd964a26589d5b6f374d203d536651fbe970b82000d25ddd49a7bd83367 +SHA512 (hspec-core-2.4.8.tar.gz) = c01e14d8d91ee833e86af4852998f7e93baa89e08a88cc12381f0d7bc243182f02d0fd489dee6559f953e186e64d505f2c5ae9f01c6162763bf4d4465b5c3ed9 From d97b82b19004b3fca2b25157c63002aca03f4d57 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 13 Sep 2018 18:51:25 +0900 Subject: [PATCH 09/32] fix build when haddock disabled --- ghc-hspec-core.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 799b2e4..c86c754 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -80,7 +80,9 @@ This package provides the Haskell %{pkg_name} development documentation. %install %ghc_lib_install grep -v "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-nodoc.files +%if %{undefined without_haddock} grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-doc.files +%endif %check @@ -101,7 +103,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %files devel -f %{name}-devel-nodoc.files +%if %{undefined without_haddock} %files devel-doc -f %{name}-devel-doc.files +%endif %changelog From 73389c53fc24b9c64873167b512f26dab23fc56a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:38:37 +0000 Subject: [PATCH 10/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index c86c754..6d74c8d 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.4.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -109,6 +109,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 2.4.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Jul 22 2018 Jens Petersen - 2.4.8-1 - update to 2.4.8 From 09d92758cdaa31eab10c72fd36a9ea2a9d3ecd1f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:45:10 +0800 Subject: [PATCH 11/32] refresh to cabal-rpm-0.13 --- ghc-hspec-core.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 6d74c8d..6ff3a99 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.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 hspec-core @@ -8,16 +8,18 @@ Name: ghc-%{pkg_name} Version: 2.4.8 -Release: 2%{?dist} +Release: 3%{?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 +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-ansi-terminal-devel @@ -70,15 +72,21 @@ BuildArch: noarch This package provides the Haskell %{pkg_name} development documentation. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +# 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 grep -v "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-nodoc.files %if %{undefined without_haddock} grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-doc.files @@ -98,7 +106,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel-nodoc.files @@ -109,6 +119,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %changelog +* Sun Feb 17 2019 Jens Petersen - 2.4.8-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 2.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From faaefe12cf830b857a5444d2c8b76b4d6d3958ac Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 21 Feb 2019 10:29:54 +0800 Subject: [PATCH 12/32] 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 From 291b1bca6972cd11f64bc4543fb43fcd09471985 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:35:54 +0000 Subject: [PATCH 13/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 6b662da..bccfe57 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.5.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -121,6 +121,9 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 2.5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Feb 21 2019 Jens Petersen - 2.5.5-1 - update to 2.5.5 From 4f6629d0901b66e7c820a3dfa34828e00ca922f7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:23:55 +0000 Subject: [PATCH 14/32] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-hspec-core.spec | 58 ++++++++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index bccfe57..2abdaa6 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.13 +# generated by cabal-rpm-1.0.0 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name hspec-core @@ -20,6 +20,12 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -53,11 +59,8 @@ Hspec's functionality. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} -Provides: %{name}-doc = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} -Requires(post): ghc-compiler = %{ghc_version} -Requires(postun): ghc-compiler = %{ghc_version} %endif Requires: %{name}%{?_isa} = %{version}-%{release} @@ -65,12 +68,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the Haskell %{pkg_name} library development files. -%package devel-doc -Summary: Haskell %{pkg_name} library development documentation -BuildArch: noarch +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +Obsoletes: %{name}-devel-doc < %{version}-%{release} + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif -%description devel-doc -This package provides the Haskell %{pkg_name} development documentation. %prep # Begin cabal-rpm setup: @@ -89,34 +105,28 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal # Begin cabal-rpm install %ghc_lib_install # End cabal-rpm install -grep -v "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-nodoc.files -%if %{undefined without_haddock} -grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-doc.files -%endif %check %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE # End cabal-rpm files -%files devel -f %{name}-devel-nodoc.files +%files devel -f %{name}-devel.files + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + -%if %{undefined without_haddock} -%files devel-doc -f %{name}-devel-doc.files +%if %{with ghc_prof} +%files prof -f %{name}-prof.files %endif From 1d483b21899382677d2e872b6b3aab19d2abb25a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 15:57:51 +0000 Subject: [PATCH 15/32] update to 2.6.1 --- .gitignore | 1 + ghc-hspec-core.spec | 9 ++- hspec-core-2.5.5.cabal | 164 ----------------------------------------- sources | 2 +- 4 files changed, 7 insertions(+), 169 deletions(-) delete mode 100644 hspec-core-2.5.5.cabal diff --git a/.gitignore b/.gitignore index 73a64ae..01fc3fd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /hspec-core-2.4.4.tar.gz /hspec-core-2.4.8.tar.gz /hspec-core-2.5.5.tar.gz +/hspec-core-2.6.1.tar.gz diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 2abdaa6..bbec168 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -7,15 +7,14 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.5.5 -Release: 2%{?dist} +Version: 2.6.1 +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: @@ -91,7 +90,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 @@ -131,6 +129,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 25 2019 Jens Petersen - 2.6.1-1 +- update to 2.6.1 + * Thu Jul 25 2019 Fedora Release Engineering - 2.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/hspec-core-2.5.5.cabal b/hspec-core-2.5.5.cabal deleted file mode 100644 index 939a719..0000000 --- a/hspec-core-2.5.5.cabal +++ /dev/null @@ -1,164 +0,0 @@ -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 36b7ec1..cc75716 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-core-2.5.5.tar.gz) = 7c73a9cc9425b28c734af08821d14f42a6a9ec527a742b52684027ccc03f3c8c7e817a5dbc9972f7de0c0a302c0956e72008aa79f00c3e8fbdc5384763a0f92c +SHA512 (hspec-core-2.6.1.tar.gz) = b55c051b5422ea739e956c74c623f2e9872a91207fa862e63f3979ed787d4f98e2e9fe6ab2cedec73b7b9689fdff1992e60a32a0d1d07b6099048381be1dd955 From 1070cee64d0361165474ff6bfc395f01998262fb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:29:51 +0800 Subject: [PATCH 16/32] BR prof for lib and static for executable --- ghc-hspec-core.spec | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index bbec168..80934de 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 +# generated by cabal-rpm-1.0.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name hspec-core @@ -19,29 +19,24 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-HUnit-devel -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 -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 +BuildRequires: ghc-HUnit-prof +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-ansi-terminal-prof +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-call-stack-prof +BuildRequires: ghc-clock-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-hspec-expectations-prof +BuildRequires: ghc-quickcheck-io-prof +BuildRequires: ghc-random-prof +BuildRequires: ghc-setenv-prof +BuildRequires: ghc-stm-prof +BuildRequires: ghc-tf-random-prof +BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-hspec-meta-devel BuildRequires: ghc-process-devel @@ -58,6 +53,7 @@ Hspec's functionality. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif From 39443b5bcbea88b4a1b29272096040a007d779f3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:52:26 +0000 Subject: [PATCH 17/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 80934de..e8c58ac 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -125,6 +125,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 2.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Jens Petersen - 2.6.1-1 - update to 2.6.1 From 501d5210105930df1dc487f974a11f919f82140e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 6 Feb 2020 23:06:29 +0800 Subject: [PATCH 18/32] refresh to cabal-rpm-2.0.2 --- ghc-hspec-core.spec | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index e8c58ac..3404168 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -1,11 +1,9 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name hspec-core %global pkgver %{pkg_name}-%{version} -%bcond_with tests - Name: ghc-%{pkg_name} Version: 2.6.1 Release: 2%{?dist} @@ -37,12 +35,6 @@ BuildRequires: ghc-setenv-prof BuildRequires: ghc-stm-prof BuildRequires: ghc-tf-random-prof BuildRequires: ghc-transformers-prof -%if %{with tests} -BuildRequires: ghc-hspec-meta-devel -BuildRequires: ghc-process-devel -BuildRequires: ghc-silently-devel -BuildRequires: ghc-temporary-devel -%endif # End cabal-rpm deps %description @@ -66,6 +58,7 @@ This package provides the Haskell %{pkg_name} library development files. %if %{with haddock} %package doc Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch Obsoletes: %{name}-devel-doc < %{version}-%{release} %description doc @@ -77,6 +70,7 @@ This package provides the Haskell %{pkg_name} library documentation. %package prof Summary: Haskell %{pkg_name} profiling library Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) %description prof This package provides the Haskell %{pkg_name} profiling library. @@ -101,8 +95,14 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install -%check -%cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif %files -f %{name}.files @@ -116,6 +116,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 90a273cfb2b3ad41db7dbc1618e0253f67ad7b24 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 14 Feb 2020 11:38:03 +0800 Subject: [PATCH 19/32] update to 2.7.1 --- .gitignore | 1 + ghc-hspec-core.spec | 9 ++- hspec-core-2.7.1.cabal | 169 +++++++++++++++++++++++++++++++++++++++++ sources | 2 +- 4 files changed, 178 insertions(+), 3 deletions(-) create mode 100644 hspec-core-2.7.1.cabal diff --git a/.gitignore b/.gitignore index 01fc3fd..54be47e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /hspec-core-2.4.8.tar.gz /hspec-core-2.5.5.tar.gz /hspec-core-2.6.1.tar.gz +/hspec-core-2.7.1.tar.gz diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 3404168..8e049a9 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -5,14 +5,15 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 2.6.1 -Release: 2%{?dist} +Version: 2.7.1 +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: @@ -80,6 +81,7 @@ 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 @@ -126,6 +128,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Feb 14 2020 Jens Petersen - 2.7.1-1 +- update to 2.7.1 + * Tue Jan 28 2020 Fedora Release Engineering - 2.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/hspec-core-2.7.1.cabal b/hspec-core-2.7.1.cabal new file mode 100644 index 0000000..449e9d3 --- /dev/null +++ b/hspec-core-2.7.1.cabal @@ -0,0 +1,169 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.31.0. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: 82bf612e65db816a15de01c4c432597ef4492ceeb81f46063dcdd57b74ec523a + +name: hspec-core +version: 2.7.1 +x-revision: 1 +license: MIT +license-file: LICENSE +copyright: (c) 2011-2019 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 + -- toNanoSecs is since 0.7.1 + build-depends: clock >=0.7.1 + + 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 + , 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.6.* + , QuickCheck >=2.13.1 + , 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 + 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.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 cc75716..2fcb5a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-core-2.6.1.tar.gz) = b55c051b5422ea739e956c74c623f2e9872a91207fa862e63f3979ed787d4f98e2e9fe6ab2cedec73b7b9689fdff1992e60a32a0d1d07b6099048381be1dd955 +SHA512 (hspec-core-2.7.1.tar.gz) = 5ab0925566c3b6f05480bd4e464ca32e0a212b4b4ff439d02b3df5b75b23b45ca0c63bab8398ebeeedce0ba30bb653b1ea85df2b7e6e3a058cb4413dc1c53ee2 From 006e06ce90b6833873e71549cab75397c05f50ab Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:26:51 +0800 Subject: [PATCH 20/32] refresh to cabal-rpm-2.0.5 --- ghc-hspec-core.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 8e049a9..f471950 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -1,5 +1,5 @@ -# generated by cabal-rpm-2.0.2 -# https://fedoraproject.org/wiki/Packaging:Haskell +# generated by cabal-rpm-2.0.5 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name hspec-core %global pkgver %{pkg_name}-%{version} From 1a12e3d6195715c4d2a23e500bb95c52bd90ace2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:55:28 +0800 Subject: [PATCH 21/32] refresh to cabal-rpm-2.0.6 --- ghc-hspec-core.spec | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index f471950..f5b8d4e 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -1,9 +1,11 @@ -# generated by cabal-rpm-2.0.5 +# generated by cabal-rpm-2.0.6 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name hspec-core %global pkgver %{pkg_name}-%{version} +# testsuite missing deps: hspec-meta + Name: ghc-%{pkg_name} Version: 2.7.1 Release: 1%{?dist} @@ -97,16 +99,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm install -%if 0%{?fedora} < 31 || 0%{?rhel} < 8 -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE From 2b4d8fb7be76e490d31524fc1674549328334efe Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 18:16:25 +0800 Subject: [PATCH 22/32] bump release --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index f5b8d4e..175f653 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -120,6 +120,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Fri Jul 17 2020 Jens Petersen - 2.7.1-2 +- refresh to cabal-rpm-2.0.6 + * Fri Feb 14 2020 Jens Petersen - 2.7.1-1 - update to 2.7.1 From a83d6420225980ba17672cb44d9a6a0efee49db8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:15:41 +0000 Subject: [PATCH 23/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 175f653..7c96324 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.7.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -120,6 +120,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 2.7.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 2.7.1-2 - refresh to cabal-rpm-2.0.6 From 7b31793ff920a792629aa50a0ebbc139323d3852 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:19:23 +0000 Subject: [PATCH 24/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 7c96324..65f5bcf 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.7.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -120,6 +120,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 2.7.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 2.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 89b6ace0dbc5724d722564e3b481aadfae140482 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:47:59 +0000 Subject: [PATCH 25/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 65f5bcf..74cd982 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.7.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -120,6 +120,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 2.7.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 2.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From efac15de49bdac4f81d69c5126708c954f99fd03 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 12:37:16 +0800 Subject: [PATCH 26/32] update to 2.7.8 --- .gitignore | 1 + ghc-hspec-core.spec | 7 ++++-- ...core-2.7.1.cabal => hspec-core-2.7.8.cabal | 24 +++++++++---------- sources | 2 +- 4 files changed, 19 insertions(+), 15 deletions(-) rename hspec-core-2.7.1.cabal => hspec-core-2.7.8.cabal (93%) diff --git a/.gitignore b/.gitignore index 54be47e..a3bf986 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /hspec-core-2.5.5.tar.gz /hspec-core-2.6.1.tar.gz /hspec-core-2.7.1.tar.gz +/hspec-core-2.7.8.tar.gz diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 74cd982..8468163 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -7,8 +7,8 @@ # testsuite missing deps: hspec-meta Name: ghc-%{pkg_name} -Version: 2.7.1 -Release: 5%{?dist} +Version: 2.7.8 +Release: 1%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -120,6 +120,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 2.7.8-1 +- update to 2.7.8 + * Thu Jul 22 2021 Fedora Release Engineering - 2.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/hspec-core-2.7.1.cabal b/hspec-core-2.7.8.cabal similarity index 93% rename from hspec-core-2.7.1.cabal rename to hspec-core-2.7.8.cabal index 449e9d3..f16fce0 100644 --- a/hspec-core-2.7.1.cabal +++ b/hspec-core-2.7.8.cabal @@ -1,21 +1,21 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.0. +-- This file has been generated from package.yaml by hpack version 0.34.3. -- -- see: https://github.com/sol/hpack --- --- hash: 82bf612e65db816a15de01c4c432597ef4492ceeb81f46063dcdd57b74ec523a name: hspec-core -version: 2.7.1 +version: 2.7.8 x-revision: 1 license: MIT license-file: LICENSE -copyright: (c) 2011-2019 Simon Hengel, +copyright: (c) 2011-2021 Simon Hengel, (c) 2011-2012 Trystan Spangler, (c) 2011 Greg Weber maintainer: Simon Hengel build-type: Simple +extra-source-files: + version.yaml category: Testing stability: experimental bug-reports: https://github.com/hspec/hspec/issues @@ -29,9 +29,6 @@ source-repository head subdir: hspec-core library - -- toNanoSecs is since 0.7.1 - build-depends: clock >=0.7.1 - hs-source-dirs: src vendor @@ -43,7 +40,7 @@ library , array , base >=4.5.0.0 && <5 , call-stack - , clock + , clock >=0.7.1 , deepseq , directory , filepath @@ -77,6 +74,7 @@ library 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 @@ -96,17 +94,17 @@ test-suite spec cpp-options: -DTEST build-depends: HUnit ==1.6.* - , QuickCheck >=2.13.1 + , QuickCheck >=2.14 , ansi-terminal >=0.5 , array , base >=4.5.0.0 && <5 , call-stack - , clock + , clock >=0.7.1 , deepseq , directory , filepath , hspec-expectations ==0.8.2.* - , hspec-meta >=2.3.2 + , hspec-meta >=2.3.2 && < 2.7.8 , process , quickcheck-io >=0.2.0 , random @@ -138,6 +136,7 @@ test-suite spec 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 @@ -162,6 +161,7 @@ test-suite spec 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 diff --git a/sources b/sources index 2fcb5a7..317502a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-core-2.7.1.tar.gz) = 5ab0925566c3b6f05480bd4e464ca32e0a212b4b4ff439d02b3df5b75b23b45ca0c63bab8398ebeeedce0ba30bb653b1ea85df2b7e6e3a058cb4413dc1c53ee2 +SHA512 (hspec-core-2.7.8.tar.gz) = 65f731a760322488ede5374407d142eccd1343f31a8147683f21e2be289128df98118f12738c78236273f475f761e659ffcb66b95509be819a91bcf97c41ad21 From f5e376692cf89a587a87e252daa49050467ba556 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:11 +0800 Subject: [PATCH 27/32] refresh to cabal-rpm-2.0.9 --- ghc-hspec-core.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 8468163..0a305dd 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name hspec-core @@ -62,6 +62,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem Obsoletes: %{name}-devel-doc < %{version}-%{release} %description doc From e9be3ee48fdff2b2a9722fc18a213f451d40f935 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 18:55:22 +0800 Subject: [PATCH 28/32] update to 2.7.10 --- .gitignore | 1 + ghc-hspec-core.spec | 7 +- hspec-core-2.7.8.cabal | 169 ----------------------------------------- sources | 2 +- 4 files changed, 6 insertions(+), 173 deletions(-) delete mode 100644 hspec-core-2.7.8.cabal diff --git a/.gitignore b/.gitignore index a3bf986..7d5f3d1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /hspec-core-2.6.1.tar.gz /hspec-core-2.7.1.tar.gz /hspec-core-2.7.8.tar.gz +/hspec-core-2.7.10.tar.gz diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 0a305dd..9c7161a 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -7,7 +7,7 @@ # testsuite missing deps: hspec-meta Name: ghc-%{pkg_name} -Version: 2.7.8 +Version: 2.7.10 Release: 1%{?dist} Summary: A Testing Framework for Haskell @@ -15,7 +15,6 @@ 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: @@ -84,7 +83,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 +119,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 2.7.10-1 +- update to 2.7.10 + * Thu Aug 5 2021 Jens Petersen - 2.7.8-1 - update to 2.7.8 diff --git a/hspec-core-2.7.8.cabal b/hspec-core-2.7.8.cabal deleted file mode 100644 index f16fce0..0000000 --- a/hspec-core-2.7.8.cabal +++ /dev/null @@ -1,169 +0,0 @@ -cabal-version: 1.12 - --- This file has been generated from package.yaml by hpack version 0.34.3. --- --- see: https://github.com/sol/hpack - -name: hspec-core -version: 2.7.8 -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 -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 - 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.3.2 && < 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.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 diff --git a/sources b/sources index 317502a..c4a4071 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-core-2.7.8.tar.gz) = 65f731a760322488ede5374407d142eccd1343f31a8147683f21e2be289128df98118f12738c78236273f475f761e659ffcb66b95509be819a91bcf97c41ad21 +SHA512 (hspec-core-2.7.10.tar.gz) = 94e05afebef560e0a3797a0a56f3ad9497df3e9be765f36f4af9719dde62b3f828572b5da24e44465f6adcd44d7f2a1f5272d573a3ecb84327c9dc6774ac6da9 From a75dbbf627174fe5b62a20976ed13cd2bcef55d0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 05:01:52 +0000 Subject: [PATCH 29/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 9c7161a..b6c9cb1 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.7.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -119,6 +119,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 2.7.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 2.7.10-1 - update to 2.7.10 From b97da991e04f6c290c5379093e390c63ba5c836f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 10 Mar 2022 14:55:36 +0800 Subject: [PATCH 30/32] bump release --- ghc-hspec-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index b6c9cb1..9bb1493 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.7.10 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -119,6 +119,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Mar 10 2022 Jens Petersen - 2.7.10-3 +- rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 2.7.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From df0d9a736170d95a712541caf22dd31c5615395d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 18 Jun 2022 00:21:41 +0800 Subject: [PATCH 31/32] revise .cabal --- ghc-hspec-core.spec | 2 + hspec-core-2.7.10.cabal | 173 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 175 insertions(+) create mode 100644 hspec-core-2.7.10.cabal diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec index 9bb1493..c2a2bc9 100644 --- a/ghc-hspec-core.spec +++ b/ghc-hspec-core.spec @@ -15,6 +15,7 @@ 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: @@ -83,6 +84,7 @@ 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 diff --git a/hspec-core-2.7.10.cabal b/hspec-core-2.7.10.cabal new file mode 100644 index 0000000..aa4c223 --- /dev/null +++ b/hspec-core-2.7.10.cabal @@ -0,0 +1,173 @@ +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 +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 From 1ed4d517f948cd96412712c171473e41288db582 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:43:05 +0300 Subject: [PATCH 32/32] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index c4a4071..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (hspec-core-2.7.10.tar.gz) = 94e05afebef560e0a3797a0a56f3ad9497df3e9be765f36f4af9719dde62b3f828572b5da24e44465f6adcd44d7f2a1f5272d573a3ecb84327c9dc6774ac6da9