|
|
|
@ -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 <petersen@redhat.com> - 2.6.1-1
|
|
|
|
|
- update to 2.6.1
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|