diff --git a/ghc-safe.changes b/ghc-safe.changes index 47750db..6b8b6a0 100644 --- a/ghc-safe.changes +++ b/ghc-safe.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 26 16:21:49 UTC 2017 - psimons@suse.com + +- Update to version 0.3.11 with cabal2obs. + ------------------------------------------------------------------- Mon Nov 14 09:29:56 UTC 2016 - psimons@suse.com diff --git a/ghc-safe.spec b/ghc-safe.spec index 1629c62..552fb35 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-safe # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,9 @@ %global pkg_name safe +%bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.10 +Version: 0.3.11 Release: 0 Summary: Library of safe (exception free) functions License: BSD-3-Clause @@ -28,6 +29,10 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-deepseq-devel +%endif %description A library wrapping 'Prelude'/'Data.List' functions that can throw exceptions, @@ -76,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache diff --git a/safe-0.3.10.tar.gz b/safe-0.3.10.tar.gz deleted file mode 100644 index 884b45f..0000000 --- a/safe-0.3.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da724ad9cf4b424c4881a50439c3b13777f477e3301c068ce7d54e9031e14b9a -size 7012 diff --git a/safe-0.3.11.tar.gz b/safe-0.3.11.tar.gz new file mode 100644 index 0000000..0ba6391 --- /dev/null +++ b/safe-0.3.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a58c8199a8c5ee7ca14077b69c2e876b29be51c797ec4b93de9c7ab3c7bd879 +size 9248