From 5aca8efb0b3b9b17b1f0bf3958a564f4d348ffd7 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Fri, 10 Nov 2017 22:34:43 +0000 Subject: [PATCH 01/29] 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..aa62292 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-hspec + +The ghc-hspec package \ No newline at end of file From d9d073971a6d48d0dc5b00aa2754b8e354621af2 Mon Sep 17 00:00:00 2001 From: David Shea Date: Fri, 17 Nov 2017 15:58:18 -0500 Subject: [PATCH 02/29] New package ghc-hspec --- .gitignore | 1 + README.md | 3 -- ghc-hspec.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 98 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-hspec.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..809b210 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/hspec-2.4.4.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index aa62292..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-hspec - -The ghc-hspec package \ No newline at end of file diff --git a/ghc-hspec.spec b/ghc-hspec.spec new file mode 100644 index 0000000..f88c4b7 --- /dev/null +++ b/ghc-hspec.spec @@ -0,0 +1,96 @@ +# generated by cabal-rpm-0.11.1 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name hspec +%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-call-stack-devel +BuildRequires: ghc-hspec-core-devel +BuildRequires: ghc-hspec-discover-devel +BuildRequires: ghc-hspec-expectations-devel +BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-directory-devel +BuildRequires: ghc-hspec-meta-devel +BuildRequires: ghc-stringbuilder-devel +%endif +# End cabal-rpm deps + +%description +Hspec is a testing framework for Haskell. It is inspired by the Ruby library +RSpec. Some of Hspec's distinctive features are: + +* a friendly DSL for defining tests + +* integration with QuickCheck, SmallCheck, and HUnit + +* parallel test execution + +* automatic discovery of test files + +The Hspec Manual is at . + + +%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. + + +%prep +%setup -q -n %{pkgver} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%check +%cabal_test + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE + + +%files devel -f %{name}-devel.files +%doc CHANGES.markdown + + +%changelog +* Fri Jul 28 2017 Fedora Haskell SIG - 2.4.4-1 +- spec file generated by cabal-rpm-0.11.1 diff --git a/sources b/sources new file mode 100644 index 0000000..2b7741d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (hspec-2.4.4.tar.gz) = 9be1c1deee500d2eedde506fea9ef5cf15571aa20ef7b4b57c442892bca1f18349a80d2c7e0d268bc8ae989dc679f85ce17a7dba0f10fb7f920e13df9706bdf5 From 17195cd13a0d2d2eb49ac3e0f0f8b0176ddbc788 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:11:20 +0100 Subject: [PATCH 03/29] refresh to cabal-rpm-0.12.1 --- ghc-hspec.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index f88c4b7..86f0144 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -50,9 +50,12 @@ The Hspec Manual is at . %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 @@ -75,6 +78,12 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From 3c60708c6fc7903be71b260e6afca25a56c328f5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:38:53 +0100 Subject: [PATCH 04/29] bump release --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 86f0144..4ad24bb 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -101,5 +101,8 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jan 26 2018 Jens Petersen - 2.4.4-2 +- rebuild + * Fri Jul 28 2017 Fedora Haskell SIG - 2.4.4-1 - spec file generated by cabal-rpm-0.11.1 From a13e52873e018acc09ed2b1d1e1d6f92c0b20a72 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:02:44 +0900 Subject: [PATCH 05/29] drop ldconfig scriptlets --- ghc-hspec.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 4ad24bb..e5ca743 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -78,12 +78,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 0a200d95029e34fc8089f44bd1b99c08d03386b1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:45:21 +0000 Subject: [PATCH 06/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index e5ca743..7821fcd 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -95,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %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 590d4bda11321a5a07f5228c2abcc75d49df2bac Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:52:35 +0000 Subject: [PATCH 07/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 7821fcd..d47d25f 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -95,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %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 0a48700b26aa25bb9305c1d646ae24e6ef6ffaf4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 23:09:44 +0900 Subject: [PATCH 08/29] update to 2.4.8 --- .gitignore | 1 + ghc-hspec.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 809b210..521ae5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /hspec-2.4.4.tar.gz +/hspec-2.4.8.tar.gz diff --git a/ghc-hspec.spec b/ghc-hspec.spec index d47d25f..2bd7190 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -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 @@ -95,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %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 2b7741d..7fc6b41 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-2.4.4.tar.gz) = 9be1c1deee500d2eedde506fea9ef5cf15571aa20ef7b4b57c442892bca1f18349a80d2c7e0d268bc8ae989dc679f85ce17a7dba0f10fb7f920e13df9706bdf5 +SHA512 (hspec-2.4.8.tar.gz) = 5671df1d3047507d476c46b9902aa0f4b6d20ad822702d3145cd2d37ba51653bc669d017070f490758426bf5ad8e39bdbf630d54402db4e6ccbd8e2c88c5adc5 From 38193043098b6f44345a4f16609bf4ecdb14826d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:38:27 +0000 Subject: [PATCH 09/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 2bd7190..b5d80cc 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -95,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %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 0934c18469bb80b065b9fea34115474368aef325 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:45:09 +0800 Subject: [PATCH 10/29] refresh to cabal-rpm-0.13 --- ghc-hspec.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index b5d80cc..30c2a18 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -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-call-stack-devel @@ -63,15 +65,21 @@ This package provides the Haskell %{pkg_name} library development files. %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 %check @@ -87,7 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -95,6 +105,9 @@ This package provides the Haskell %{pkg_name} library development files. %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 e1f928370c408cbd467e8b04e7ab45c714892f5c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 21 Feb 2019 10:29:41 +0800 Subject: [PATCH 11/29] update to 2.5.5 --- .gitignore | 1 + ghc-hspec.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 521ae5d..f6df022 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /hspec-2.4.4.tar.gz /hspec-2.4.8.tar.gz +/hspec-2.5.5.tar.gz diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 30c2a18..75ee57e 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -7,8 +7,8 @@ %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 @@ -105,6 +105,9 @@ This package provides the Haskell %{pkg_name} library development files. %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/sources b/sources index 7fc6b41..2e2e355 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-2.4.8.tar.gz) = 5671df1d3047507d476c46b9902aa0f4b6d20ad822702d3145cd2d37ba51653bc669d017070f490758426bf5ad8e39bdbf630d54402db4e6ccbd8e2c88c5adc5 +SHA512 (hspec-2.5.5.tar.gz) = b15a9cb1eb85b7c6f6b28bce264d80e6019a650c40baf835c85bce610060534580ec73ae725fb6562a30a8a56d7b10a40a8db7cdbba5893ebfb446b1cb13e203 From a8c9f9fd21fd43536e30a20d54e6d172970b5c90 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:35:44 +0000 Subject: [PATCH 12/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 75ee57e..8c3d6e6 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -105,6 +105,9 @@ This package provides the Haskell %{pkg_name} library development files. %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 6108ef113d1df19bef884dcab800e77cd2ef5fca Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:23:55 +0000 Subject: [PATCH 13/29] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-hspec.spec | 48 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 8c3d6e6..60555ba 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -19,6 +19,12 @@ 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 @@ -52,11 +58,8 @@ The Hspec Manual is at . %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} @@ -64,6 +67,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the Haskell %{pkg_name} library development files. +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation + +%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 + + %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} @@ -86,14 +108,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -104,6 +118,16 @@ This package provides the Haskell %{pkg_name} library development files. %doc CHANGES.markdown +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog * Thu Jul 25 2019 Fedora Release Engineering - 2.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 566d2e971b81228efb60cd2209f2581eec055990 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 15:57:21 +0000 Subject: [PATCH 14/29] update to 2.6.1 --- .gitignore | 1 + ghc-hspec.spec | 25 +++++++------------------ sources | 2 +- 3 files changed, 9 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index f6df022..8cb3258 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /hspec-2.4.4.tar.gz /hspec-2.4.8.tar.gz /hspec-2.5.5.tar.gz +/hspec-2.6.1.tar.gz diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 60555ba..691fb1c 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -4,11 +4,9 @@ %global pkg_name hspec %global pkgver %{pkg_name}-%{version} -%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 @@ -26,23 +24,15 @@ BuildRequires: ghc-doc BuildRequires: ghc-prof %endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-call-stack-devel BuildRequires: ghc-hspec-core-devel BuildRequires: ghc-hspec-discover-devel BuildRequires: ghc-hspec-expectations-devel -BuildRequires: ghc-transformers-devel -%if %{with tests} -BuildRequires: ghc-directory-devel -BuildRequires: ghc-hspec-meta-devel -BuildRequires: ghc-stringbuilder-devel -%endif # End cabal-rpm deps %description -Hspec is a testing framework for Haskell. It is inspired by the Ruby library -RSpec. Some of Hspec's distinctive features are: +Hspec is a testing framework for Haskell. Some of Hspec's distinctive features +are: * a friendly DSL for defining tests @@ -104,10 +94,6 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install -%check -%cabal_test - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -129,6 +115,9 @@ This package provides the Haskell %{pkg_name} profiling library. %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/sources b/sources index 2e2e355..3c68547 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-2.5.5.tar.gz) = b15a9cb1eb85b7c6f6b28bce264d80e6019a650c40baf835c85bce610060534580ec73ae725fb6562a30a8a56d7b10a40a8db7cdbba5893ebfb446b1cb13e203 +SHA512 (hspec-2.6.1.tar.gz) = ceb3a1575a08f9156c617640d21b2b30bfe6827f1ab966c670873dbd594969cfef42b4b5a1490013d97303e637965a873434bf9089872a38931c1f72d4153056 From 4a4d8d20b8ef5b1b6ed009d2d5ebe7747969eda5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:29:50 +0800 Subject: [PATCH 15/29] BR prof for lib and static for executable --- ghc-hspec.spec | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 691fb1c..fdef24a 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -17,17 +17,12 @@ 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-QuickCheck-devel -BuildRequires: ghc-hspec-core-devel -BuildRequires: ghc-hspec-discover-devel -BuildRequires: ghc-hspec-expectations-devel +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-hspec-core-prof +BuildRequires: ghc-hspec-discover-prof +BuildRequires: ghc-hspec-expectations-prof # End cabal-rpm deps %description @@ -48,6 +43,7 @@ The Hspec Manual is at . %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 c9627b2ab60df64329637241aab6764fcb252945 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:52:12 +0000 Subject: [PATCH 16/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index fdef24a..e928c8a 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 2.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -111,6 +111,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 630fde2824010749c60d3b760426663608634846 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:50:34 +0800 Subject: [PATCH 17/29] refresh to cabal-rpm-2.0.2 --- ghc-hspec.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index e928c8a..aac366b 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name hspec @@ -56,6 +56,7 @@ This package provides the Haskell %{pkg_name} library development files. %if %{with haddock} %package doc Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -66,6 +67,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. @@ -90,6 +92,16 @@ This package provides the Haskell %{pkg_name} profiling library. # 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 @@ -102,6 +114,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From d257c5662718165692b12e9772eb0cea32ce48b7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 14 Feb 2020 11:37:51 +0800 Subject: [PATCH 18/29] update to 2.7.1 --- .gitignore | 1 + ghc-hspec.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8cb3258..68c4595 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /hspec-2.4.8.tar.gz /hspec-2.5.5.tar.gz /hspec-2.6.1.tar.gz +/hspec-2.7.1.tar.gz diff --git a/ghc-hspec.spec b/ghc-hspec.spec index aac366b..0e46075 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -5,8 +5,8 @@ %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 @@ -124,6 +124,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/sources b/sources index 3c68547..24d0f30 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-2.6.1.tar.gz) = ceb3a1575a08f9156c617640d21b2b30bfe6827f1ab966c670873dbd594969cfef42b4b5a1490013d97303e637965a873434bf9089872a38931c1f72d4153056 +SHA512 (hspec-2.7.1.tar.gz) = 64e69444d447072ec501b745c7c8913f38bb6b540db4867ed4cbe4752e9d147e8a7e75538c15be7d8c65f9f8e7b48654e8fc2b53ae733a28236074fbafe9a6c6 From 7101eebf037111b0d8bf1c2b534d499bb86dec2b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:26:51 +0800 Subject: [PATCH 19/29] refresh to cabal-rpm-2.0.5 --- ghc-hspec.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 0e46075..d8d5051 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 %global pkgver %{pkg_name}-%{version} From 48745c05b0d2f1fcdd58f8e80a1d14e4ff776dac Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:55:28 +0800 Subject: [PATCH 20/29] refresh to cabal-rpm-2.0.6 --- ghc-hspec.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index d8d5051..1e50eac 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -1,4 +1,4 @@ -# 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 @@ -92,16 +92,6 @@ This package provides the Haskell %{pkg_name} profiling library. # 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 242b196193bb5be356eaa56a3642d94330b13614 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 18:16:18 +0800 Subject: [PATCH 21/29] bump release --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 1e50eac..b9b8aaf 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 2.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -114,6 +114,9 @@ This package provides the Haskell %{pkg_name} profiling library. %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 dce054b8a81d516963ee6b4d7a978ce8468ca5e7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:15:33 +0000 Subject: [PATCH 22/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index b9b8aaf..584edf4 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 2.7.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -114,6 +114,9 @@ This package provides the Haskell %{pkg_name} profiling library. %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 a154510c1c09a220d7650c92a64990c86c74ef91 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:19:15 +0000 Subject: [PATCH 23/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 584edf4..197390c 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 2.7.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -114,6 +114,9 @@ This package provides the Haskell %{pkg_name} profiling library. %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 f2361953fa518b06ce3560449ad64355c566e437 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:47:51 +0000 Subject: [PATCH 24/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 197390c..72d8726 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 2.7.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -114,6 +114,9 @@ This package provides the Haskell %{pkg_name} profiling library. %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 40f1c7dacdb758f24179d654125b73f48473e027 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 28 Jan 2021 21:12:52 +0800 Subject: [PATCH 25/29] update to 2.7.8 --- .gitignore | 1 + ghc-hspec.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 68c4595..5d4c995 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /hspec-2.5.5.tar.gz /hspec-2.6.1.tar.gz /hspec-2.7.1.tar.gz +/hspec-2.7.8.tar.gz diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 72d8726..7cfc546 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -5,8 +5,8 @@ %global pkgver %{pkg_name}-%{version} 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 @@ -114,6 +114,9 @@ This package provides the Haskell %{pkg_name} profiling library. %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/sources b/sources index 24d0f30..925bdd6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-2.7.1.tar.gz) = 64e69444d447072ec501b745c7c8913f38bb6b540db4867ed4cbe4752e9d147e8a7e75538c15be7d8c65f9f8e7b48654e8fc2b53ae733a28236074fbafe9a6c6 +SHA512 (hspec-2.7.8.tar.gz) = 483e1a58cbd98c2c347b14480f450d19323527ec47a393a717724b3c7f6802fef2d593078c4d02c015d1f1587399922f4afda4a3e47a903d7c57b8b76b2e7425 From 6ffbddfbd355a82afedcb806e08be0dd7f7b6d7b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:11 +0800 Subject: [PATCH 26/29] refresh to cabal-rpm-2.0.9 --- ghc-hspec.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index 7cfc546..e1e5e23 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.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 @@ -57,6 +57,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. From 4c2ef9ae1be32b7d0bed87b79d191f9192500bf5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 18:53:57 +0800 Subject: [PATCH 27/29] update to 2.7.10 --- .gitignore | 1 + ghc-hspec.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5d4c995..94d61ff 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /hspec-2.6.1.tar.gz /hspec-2.7.1.tar.gz /hspec-2.7.8.tar.gz +/hspec-2.7.10.tar.gz diff --git a/ghc-hspec.spec b/ghc-hspec.spec index e1e5e23..e6e3d90 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -5,7 +5,7 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 2.7.8 +Version: 2.7.10 Release: 1%{?dist} Summary: A Testing Framework for Haskell @@ -115,6 +115,9 @@ This package provides the Haskell %{pkg_name} profiling library. %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/sources b/sources index 925bdd6..1a40d5d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hspec-2.7.8.tar.gz) = 483e1a58cbd98c2c347b14480f450d19323527ec47a393a717724b3c7f6802fef2d593078c4d02c015d1f1587399922f4afda4a3e47a903d7c57b8b76b2e7425 +SHA512 (hspec-2.7.10.tar.gz) = 8c333df0dfb0ac10925f411c683a000ce89f1d27a08b25f119c259780b64828c0bb3b4cb0ed4f15b4867541700c53351cd920eb52a922fd4a0db796c5893aea6 From 34b1088ac8f09b865956f7d091c1844a301744c0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 05:01:43 +0000 Subject: [PATCH 28/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-hspec.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-hspec.spec b/ghc-hspec.spec index e6e3d90..d710ac1 100644 --- a/ghc-hspec.spec +++ b/ghc-hspec.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 2.7.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Testing Framework for Haskell License: MIT @@ -115,6 +115,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 39aa63bbcfafa67bfaabdd801fbfb06fcbfca35f Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:42:37 +0300 Subject: [PATCH 29/29] 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 1a40d5d..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (hspec-2.7.10.tar.gz) = 8c333df0dfb0ac10925f411c683a000ce89f1d27a08b25f119c259780b64828c0bb3b4cb0ed4f15b4867541700c53351cd920eb52a922fd4a0db796c5893aea6