From 56806f5c73e2beff848c108d012e5583977d76d0542c7575dee78e4100c717be Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 6 Oct 2016 18:02:37 +0000 Subject: [PATCH 1/2] Synchronize builds with devel:languages:haskell:lts:7. OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=12 --- ghc-either.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ghc-either.spec b/ghc-either.spec index ecdc8aa..c53ac0b 100644 --- a/ghc-either.spec +++ b/ghc-either.spec @@ -22,11 +22,10 @@ Version: 4.4.1.1 Release: 0 Summary: An either monad transformer License: BSD-3-Clause -Group: System/Libraries +Group: Development/Languages/Other 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 -# Begin cabal-rpm deps: BuildRequires: ghc-MonadRandom-devel BuildRequires: ghc-bifunctors-devel BuildRequires: ghc-exceptions-devel @@ -41,7 +40,6 @@ BuildRequires: ghc-semigroups-devel BuildRequires: ghc-transformers-base-devel BuildRequires: ghc-transformers-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description An either monad transformer. @@ -60,15 +58,12 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %post devel %ghc_pkg_recache From 713626e4096c64906ea4cb46075c8b5726c00ac853b552722d3508d94d695723 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 9 Jan 2017 21:11:35 +0000 Subject: [PATCH 2/2] import updates from devel:languages:haskell:lts:7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=13 --- either.cabal | 50 ++++++++++++++++++++++++++++++++++++++++++++++ ghc-either.changes | 5 +++++ ghc-either.spec | 5 +++-- 3 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 either.cabal diff --git a/either.cabal b/either.cabal new file mode 100644 index 0000000..61ee513 --- /dev/null +++ b/either.cabal @@ -0,0 +1,50 @@ +name: either +category: Control, Monads +version: 4.4.1.1 +x-revision: 1 +license: BSD3 +cabal-version: >= 1.6 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/ekmett/either/ +bug-reports: http://github.com/ekmett/either/issues +copyright: Copyright (C) 2008-2014 Edward A. Kmett +synopsis: An either monad transformer +description: An either monad transformer +build-type: Simple +extra-source-files: + .gitignore + .ghci + .vim.custom + .travis.yml + CHANGELOG.markdown + README.markdown + +source-repository head + type: git + location: git://github.com/ekmett/either.git + +library + build-depends: + base >= 4 && < 5, + bifunctors >= 4 && < 6, + exceptions >= 0.5 && < 0.9, + free >= 4.9 && < 5, + monad-control >= 0.3.2 && < 1.1, + MonadRandom >= 0.1 && < 0.6, + mtl >= 2.0 && < 2.3, + mmorph >= 1.0.0 && < 1.1, + profunctors >= 4 && < 6, + semigroups >= 0.8.3.1 && < 1, + semigroupoids >= 4 && < 6, + transformers >= 0.2 && < 0.6, + transformers-base >= 0.4 && < 0.5 + + extensions: CPP + exposed-modules: Control.Monad.Trans.Either + Data.Either.Combinators + Data.Either.Validation + ghc-options: -Wall + hs-source-dirs: src diff --git a/ghc-either.changes b/ghc-either.changes index 0796359..64f158b 100644 --- a/ghc-either.changes +++ b/ghc-either.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/ghc-either.spec b/ghc-either.spec index c53ac0b..a54fda6 100644 --- a/ghc-either.spec +++ b/ghc-either.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-either # -# 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 @@ -25,6 +25,7 @@ License: BSD-3-Clause Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-MonadRandom-devel BuildRequires: ghc-bifunctors-devel @@ -57,6 +58,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build @@ -76,6 +78,5 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc CHANGELOG.markdown README.markdown %changelog