|
|
|
@ -2,10 +2,12 @@
|
|
|
|
|
|
|
|
|
|
%global pkg_name QuickCheck
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform
|
|
|
|
|
Version: 2.6
|
|
|
|
|
Release: 35%{?dist}
|
|
|
|
|
Version: 2.7.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Automatic testing of Haskell programs
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -19,6 +21,12 @@ BuildRequires: ghc-random-devel
|
|
|
|
|
%ifarch %{ghc_arches_with_ghci}
|
|
|
|
|
BuildRequires: ghc-template-haskell-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: ghc-tf-random-devel
|
|
|
|
|
BuildRequires: ghc-transformers-devel
|
|
|
|
|
ExclusiveArch: %{ghc_arches_with_ghci}
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -60,6 +68,12 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%cabal test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
@ -73,10 +87,13 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
%doc README
|
|
|
|
|
%doc examples README
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Apr 2 2015 Jens Petersen <petersen@redhat.com> - 2.7.6-1
|
|
|
|
|
- update to 2.7.6
|
|
|
|
|
|
|
|
|
|
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 2.6-35
|
|
|
|
|
- update urls
|
|
|
|
|
|
|
|
|
|