Accepting request 433350 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/433350 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-HUnit?expand=0&rev=12
This commit is contained in:
commit
1e251aa5a0
@ -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
3
HUnit-1.3.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:badebf99ae5a4982cdf2f8932f080e349240dc2b75c40e75ce2518ea086c5381
|
||||
size 21755
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user