SHA256
1
0
forked from pool/ghc-hashable

Accepting request 461632 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/461632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-hashable?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2017-03-14 09:04:46 +00:00 committed by Git OBS Bridge
commit 82f39b5096
4 changed files with 13 additions and 16 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 12 14:20:09 UTC 2017 - psimons@suse.com
- Update to version 1.2.5.0 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:08:32 UTC 2016 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-hashable
#
# 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
@ -19,15 +19,14 @@
%global pkg_name hashable
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.2.4.0
Version: 1.2.5.0
Release: 0
Summary: A class for types that can be converted to a hash value
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-bytestring-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
@ -41,7 +40,6 @@ BuildRequires: ghc-test-framework-hunit-devel
BuildRequires: ghc-test-framework-quickcheck2-devel
BuildRequires: ghc-unix-devel
%endif
# End cabal-rpm deps
%description
This package defines a class, 'Hashable', for types that can be converted to a
@ -63,23 +61,17 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ifarch i586
%define cabal_configure_options -f"-sse2"
%endif
%ghc_lib_build
%install
%ghc_lib_install
%check
%if %{with tests}
%{cabal} test
%endif
%cabal_test
%post devel
%ghc_pkg_recache
@ -93,6 +85,6 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc README.md
%doc CHANGES.md README.md examples
%changelog

View File

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

3
hashable-1.2.5.0.tar.gz Normal file
View File

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