From 6e94ce50b4ab3422cdca5508b9502fd1f0b6689b01feba3dd168e4da7879cec1 Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Mon, 4 May 2015 18:54:26 +0000 Subject: [PATCH] Accepting request 304896 from devel:languages:haskell:lts - update to 0.2.3.6 * no upstream changelog OBS-URL: https://build.opensuse.org/request/show/304896 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lifted-base?expand=0&rev=4 --- ghc-lifted-base.changes | 6 ++++++ ghc-lifted-base.spec | 34 ++++++++++++++++++++++++---------- lifted-base-0.2.1.0.tar.gz | 3 --- lifted-base-0.2.3.6.tar.gz | 3 +++ 4 files changed, 33 insertions(+), 13 deletions(-) delete mode 100644 lifted-base-0.2.1.0.tar.gz create mode 100644 lifted-base-0.2.3.6.tar.gz diff --git a/ghc-lifted-base.changes b/ghc-lifted-base.changes index 6805d88..f933f3e 100644 --- a/ghc-lifted-base.changes +++ b/ghc-lifted-base.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 21 19:42:56 UTC 2015 - mimi.vx@gmail.com + +- update to 0.2.3.6 +* no upstream changelog + ------------------------------------------------------------------- Sun Oct 6 21:50:28 UTC 2013 - sbahling@suse.com diff --git a/ghc-lifted-base.spec b/ghc-lifted-base.spec index 6491e98..968da20 100644 --- a/ghc-lifted-base.spec +++ b/ghc-lifted-base.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-lifted-base # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -18,23 +18,31 @@ %global pkg_name lifted-base -Name: ghc-lifted-base -Version: 0.2.1.0 +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 0.2.3.6 Release: 0 -Summary: lifted IO operations from the base library +Summary: Lifted IO operations from the base library License: BSD-3-Clause Group: System/Libraries -Url: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: -BuildRequires: ghc-base-unicode-symbols-devel BuildRequires: ghc-monad-control-devel BuildRequires: ghc-transformers-base-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-hunit-devel +BuildRequires: ghc-transformers-compat-devel +BuildRequires: ghc-transformers-devel +%endif # End cabal-rpm deps %description @@ -45,15 +53,16 @@ Note that not all modules from 'base' are converted yet. If you need a lifted version of a function from 'base', just ask me to add it or send me a patch. The package includes a copy of the 'monad-peel' testsuite written by Anders -Kaseorg The tests can be performed using 'cabal test' +Kaseorg The tests can be performed using 'cabal test'. %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Provides: %{name}-static = %{version}-%{release} -Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. @@ -68,6 +77,11 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%check +%if %{with tests} +%cabal test +%endif + %post devel %ghc_pkg_recache diff --git a/lifted-base-0.2.1.0.tar.gz b/lifted-base-0.2.1.0.tar.gz deleted file mode 100644 index 5fb174b..0000000 --- a/lifted-base-0.2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e737e070d3535dd2ad56526f8c32cf7ae385972fde55b112e1b6fe99dff9b30 -size 11708 diff --git a/lifted-base-0.2.3.6.tar.gz b/lifted-base-0.2.3.6.tar.gz new file mode 100644 index 0000000..bbe5450 --- /dev/null +++ b/lifted-base-0.2.3.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57c5837d83f569bb72136ca89256e50e1ac168ee935804a8e7763e9d8322e1fb +size 11613