SHA256
1
0
forked from pool/ghc-hashable

Accepting request 857381 from devel:languages:haskell

update haskell stack in openSUS

OBS-URL: https://build.opensuse.org/request/show/857381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-hashable?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2020-12-22 10:40:13 +00:00 committed by Git OBS Bridge
commit 04471dd9a7
3 changed files with 196 additions and 184 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Tue Dec 8 09:22:30 UTC 2020 - psimons@suse.com
- Update hashable to version 1.3.0.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Aug 31 09:34:36 UTC 2020 - psimons@suse.com

View File

@ -25,12 +25,13 @@ Summary: A class for types that can be converted to a hash value
License: BSD-3-Clause
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
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel

View File

@ -1,7 +1,7 @@
Cabal-version: 1.12
Name: hashable
Version: 1.3.0.0
x-revision: 1
x-revision: 2
Synopsis: A class for types that can be converted to a hash value
Description: This package defines a class, 'Hashable', for types that
can be converted to a hash value. This class
@ -53,7 +53,7 @@ Library
C-sources: cbits/fnv.c
Build-depends: base >= 4.5 && < 4.15
, bytestring >= 0.9 && < 0.11
, bytestring >= 0.9 && < 0.12
, deepseq >= 1.3 && < 1.5
, text >= 0.12 && < 1.3
, ghc-prim