diff --git a/either-4.5.tar.gz b/either-4.5.tar.gz deleted file mode 100644 index 5c74271..0000000 --- a/either-4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecfb0f4ba8594153db1329b5ca0de08b152dc4cc4326a20e1cfad1bbae41f2d7 -size 10714 diff --git a/either-5.tar.gz b/either-5.tar.gz new file mode 100644 index 0000000..3523d36 --- /dev/null +++ b/either-5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75cee27641a34f80e6c71f82469a76c7f51d23a522e792e2733269ebf7cbf420 +size 8637 diff --git a/ghc-either.changes b/ghc-either.changes index 1e0bee7..10b2ca5 100644 --- a/ghc-either.changes +++ b/ghc-either.changes @@ -1,57 +1,6 @@ ------------------------------------------------------------------- -Thu Dec 21 19:12:26 UTC 2017 - psimons@suse.com +Wed Mar 14 16:57:01 UTC 2018 - psimons@suse.com -- Update to version 4.5. +- Update either to version 5. A more detailed change log is not available. -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Mon May 22 08:08:50 UTC 2017 - psimons@suse.com - -- Update to version 4.4.1.1 revision 2 with cabal2obs. - -------------------------------------------------------------------- -Wed Jan 4 21:24:48 UTC 2017 - psimons@suse.com - -- Update to version 4.4.1.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:04:19 UTC 2016 - psimons@suse.com - -- Update to version 4.4.1.1 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Wed May 11 15:13:10 UTC 2016 - mimi.vx@gmail.com - -- update to 4.4.1.1 -* Fixed building on newer GHCs. (type synonyms require explicit foralls for unused - variables these days) - -------------------------------------------------------------------- -Fri Aug 7 06:57:35 UTC 2015 - mimi.vx@gmail.com - -- update to 4.4.1 -* Support mmorph - -------------------------------------------------------------------- -Sun May 31 20:28:19 UTC 2015 - mimi.vx@gmail.com - -- update to 4.3.4.1 -* Support `MonadRandom` 0.4 - -------------------------------------------------------------------- -Sun May 17 15:21:44 UTC 2015 - mimi.vx@gmail.com - -- update to 4.3.4 -* Support `bifunctors` 5, `profunctors` 5, and `semigroupoids` 5. -* Fixed and enhanced documentation for `eitherToError`. - -------------------------------------------------------------------- -Sun Apr 26 17:54:38 UTC 2015 - mimi.vx@gmail.com - -- initial commit - diff --git a/ghc-either.spec b/ghc-either.spec index 64d5fa3..12ed55a 100644 --- a/ghc-either.spec +++ b/ghc-either.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-either # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,31 +17,28 @@ %global pkg_name either +%bcond_with tests Name: ghc-%{pkg_name} -Version: 4.5 +Version: 5 Release: 0 -Summary: An either monad transformer +Summary: Combinators for working with sums License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-MonadRandom-devel BuildRequires: ghc-bifunctors-devel -BuildRequires: ghc-exceptions-devel -BuildRequires: ghc-free-devel -BuildRequires: ghc-mmorph-devel -BuildRequires: ghc-monad-control-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-profunctors-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-semigroupoids-devel BuildRequires: ghc-semigroups-devel -BuildRequires: ghc-transformers-base-devel -BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-hedgehog-devel +%endif %description -An either monad transformer. +Combinators for working with sums. %package devel Summary: Haskell %{pkg_name} library development files @@ -63,6 +60,9 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache