From 989f27499b4f6547db5d5be85eb4f0d2e63f8d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 01:12:12 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/ghc-hspec-core#a83d6420225980ba17672cb44d9a6a0efee49db8 --- .gitignore | 5 ++ ghc-hspec-core.spec | 164 +++++++++++++++++++++++++++++++++++++++ hspec-core-2.7.1.cabal | 169 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 339 insertions(+) create mode 100644 ghc-hspec-core.spec create mode 100644 hspec-core-2.7.1.cabal create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..54be47e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ +/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 +/hspec-core-2.7.1.tar.gz diff --git a/ghc-hspec-core.spec b/ghc-hspec-core.spec new file mode 100644 index 0000000..7c96324 --- /dev/null +++ b/ghc-hspec-core.spec @@ -0,0 +1,164 @@ +# 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: 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 +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-HUnit-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 +# 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} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +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 +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} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal +# 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 + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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 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 new file mode 100644 index 0000000..2fcb5a7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (hspec-core-2.7.1.tar.gz) = 5ab0925566c3b6f05480bd4e464ca32e0a212b4b4ff439d02b3df5b75b23b45ca0c63bab8398ebeeedce0ba30bb653b1ea85df2b7e6e3a058cb4413dc1c53ee2