diff --git a/.gitignore b/.gitignore index 21d13d4..ba8c226 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.4.1.1.tar.gz /QuickCheck-2.4.2.tar.gz /QuickCheck-2.6.tar.gz +/QuickCheck-2.7.6.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 7495637..76415a0 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -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 - 2.7.6-1 +- update to 2.7.6 + * Wed Jan 28 2015 Jens Petersen - 2.6-35 - update urls diff --git a/sources b/sources index eb1b548..6a33479 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -881d546b39c60789e375b2ab3dbce677 QuickCheck-2.6.tar.gz +b936f766ffc9f41feb041beaf96b5fe5 QuickCheck-2.7.6.tar.gz