diff --git a/.gitignore b/.gitignore index 37ff354..4cce348 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /reflection-1.5.1.tar.gz /reflection-2.1.2.tar.gz /reflection-2.1.4.tar.gz +/reflection-2.1.5.tar.gz diff --git a/ghc-reflection.spec b/ghc-reflection.spec index 504d360..4128376 100644 --- a/ghc-reflection.spec +++ b/ghc-reflection.spec @@ -4,9 +4,11 @@ %global pkg_name reflection %global pkgver %{pkg_name}-%{version} +%bcond_without tests + Name: ghc-%{pkg_name} -Version: 2.1.4 -Release: 5%{?dist} +Version: 2.1.5 +Release: 1%{?dist} Summary: Reifies arbitrary terms into types that can be reflected back into terms License: BSD @@ -20,6 +22,10 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof BuildRequires: ghc-template-haskell-prof +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-hspec-devel +%endif # End cabal-rpm deps %description @@ -91,6 +97,10 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install +%check +%cabal_test + + %if 0%{?fedora} < 31 || 0%{?rhel} < 8 %post devel %ghc_pkg_recache @@ -123,6 +133,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Feb 14 2020 Jens Petersen - 2.1.5-1 +- update to 2.1.5 + * Tue Jan 28 2020 Fedora Release Engineering - 2.1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index a7fc9fc..db0d189 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (reflection-2.1.4.tar.gz) = 3209bb44a07fedddbb2aeb5f2f09414e6672faff6c8fbdb78eaa8f61a1af4d9fba43be193854f8978ffdd82c0ce54bd79a5d875638a41b6a738bc489bd718295 +SHA512 (reflection-2.1.5.tar.gz) = 4b7c909d61ba6d19f8e120e9e53de7bf9e3fb69038cfa7e3027160e4c6e22b415d1d0cce60476e14bf0a205b848d53f1751915bdebfe83a400003f4aaf6286eb