Accepting request 430823 from devel:languages:haskell:lts:7

update devel:languages:haskell to LTS 7.x

OBS-URL: https://build.opensuse.org/request/show/430823
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HUnit?expand=0&rev=25
This commit is contained in:
Peter Simons 2016-09-28 11:53:39 +00:00 committed by Git OBS Bridge
parent 795945fe66
commit 1fb3c0cb19
4 changed files with 11 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93e5fc4290ab685b469209f04d9858338ffff486e15c23a11260c47e32da8ef8
size 20775

3
HUnit-1.3.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:badebf99ae5a4982cdf2f8932f080e349240dc2b75c40e75ce2518ea086c5381
size 21755

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 15 06:50:23 UTC 2016 - psimons@suse.com
- Update to version 1.3.1.2 revision 0 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:04:33 UTC 2016 - psimons@suse.com

View File

@ -19,22 +19,20 @@
%global pkg_name HUnit
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.3.1.1
Version: 1.3.1.2
Release: 0
Summary: A unit testing framework for Haskell
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-deepseq-devel
BuildRequires: ghc-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with tests}
BuildRequires: ghc-filepath-devel
%endif
# End cabal-rpm deps
%description
HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for
@ -54,20 +52,14 @@ 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
%check
%if %{with tests}
%{cabal} test
%endif
%cabal_test
%post devel
%ghc_pkg_recache