Accepting request 623864 from devel:languages:haskell

- Cosmetic: replace tabs with blanks, strip trailing white space,
  and update copyright headers with spec-cleaner.

- Update tagged to version 0.8.6.
  0.8.6 [2018.07.02]
  ------------------
  * Make the `Read(1)` instances for `Proxy` ignore the precedence argument,
    mirroring similar changes to `base`
    [here](http://git.haskell.org/ghc.git/commitdiff/8fd959998e900dffdb7f752fcd42df7aaedeae6e).
  * Fix a bug in the `Floating` instance for `Tagged` in which `logBase` was
    defined in terms of `(**)`.
  * Avoid incurring some dependencies when using recent GHCs.

* Invert the dependency to supply the Semigroup instance ourselves
* Removed reproxy from Data.Proxy. This is a bad API decision, but it isn't present
- use cabal2spec 0.25.5 spec file template

OBS-URL: https://build.opensuse.org/request/show/623864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-tagged?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2018-07-24 15:22:21 +00:00 committed by Git OBS Bridge
commit 4d26a826b0
5 changed files with 27 additions and 79 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Jul 18 14:26:42 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Fri Jul 13 14:31:51 UTC 2018 - psimons@suse.com
- Update tagged to version 0.8.6.
0.8.6 [2018.07.02]
------------------
* Make the `Read(1)` instances for `Proxy` ignore the precedence argument,
mirroring similar changes to `base`
[here](http://git.haskell.org/ghc.git/commitdiff/8fd959998e900dffdb7f752fcd42df7aaedeae6e).
* Fix a bug in the `Floating` instance for `Tagged` in which `logBase` was
defined in terms of `(**)`.
* Avoid incurring some dependencies when using recent GHCs.
-------------------------------------------------------------------
Wed May 16 14:36:29 UTC 2018 - psimons@suse.com
@ -37,7 +56,7 @@ Fri Jan 29 13:14:41 UTC 2016 - mimi.vx@gmail.com
- update to 0.8.3
* Manual Generic1 support to work around a bug in GHC 7.6
* Invert the dependency to supply the Semigroup instance ourselves
* Invert the dependency to supply the Semigroup instance ourselves
when building on GHC 8
-------------------------------------------------------------------
@ -53,7 +72,7 @@ Fri Aug 7 08:29:50 UTC 2015 - mimi.vx@gmail.com
* Add KProxy to the backwards compatibility Data.Proxy module.
* Add a Generic instance to Proxy.
* Added Data.Proxy.TH, based on the code from Frames by Anthony Cowley.
* Removed reproxy from Data.Proxy. This is a bad API decision, but it isn't present
* Removed reproxy from Data.Proxy. This is a bad API decision, but it isn't present
in GHC's Data.Proxy, and this makes the API more stable.
-------------------------------------------------------------------
@ -72,7 +91,7 @@ Wed Oct 9 06:45:39 UTC 2013 - sbahling@suse.com
-------------------------------------------------------------------
Fri Jun 8 17:05:42 UTC 2012 - peter.trommler@ohm-hochschule.de
- use cabal2spec 0.25.5 spec file template
- use cabal2spec 0.25.5 spec file template
-------------------------------------------------------------------
Sat Jan 21 11:20:55 UTC 2012 - herbert@graeber-clan.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-tagged
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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,19 +18,17 @@
%global pkg_name tagged
Name: ghc-%{pkg_name}
Version: 0.8.5
Version: 0.8.6
Release: 0
Summary: Haskell 98 phantom types to avoid unsafely passing dummy arguments
License: BSD-3-Clause
Group: Development/Libraries/Haskell
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/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-transformers-compat-devel
BuildRequires: ghc-transformers-devel
%description
@ -49,7 +47,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

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

3
tagged-0.8.6.tar.gz Normal file
View File

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

View File

@ -1,68 +0,0 @@
name: tagged
version: 0.8.5
x-revision: 2
license: BSD3
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: experimental
category: Data, Phantom Types
synopsis: Haskell 98 phantom types to avoid unsafely passing dummy arguments
homepage: http://github.com/ekmett/tagged
bug-reports: http://github.com/ekmett/tagged/issues
copyright: 2009-2015 Edward A. Kmett
description: Haskell 98 phantom types to avoid unsafely passing dummy arguments
build-type: Simple
cabal-version: >= 1.10
extra-source-files: .travis.yml CHANGELOG.markdown README.markdown HLint.hs
source-repository head
type: git
location: git://github.com/ekmett/tagged.git
flag deepseq
description:
You can disable the use of the `deepseq` package using `-f-deepseq`.
.
Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag transformers
description:
You can disable the use of the `transformers` and `transformers-compat` packages using `-f-transformers`.
.
Disable this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
library
default-language: Haskell98
other-extensions: CPP
build-depends: base >= 2 && < 5
ghc-options: -Wall
hs-source-dirs: src
exposed-modules: Data.Tagged
if !impl(hugs)
cpp-options: -DLANGUAGE_DeriveDataTypeable
other-extensions: DeriveDataTypeable
if impl(ghc<7.7)
hs-source-dirs: old
exposed-modules: Data.Proxy
other-modules: Paths_tagged
if impl(ghc>=7.2 && <7.5)
build-depends: ghc-prim
if impl(ghc>=7.6)
exposed-modules: Data.Proxy.TH
build-depends: template-haskell >= 2.8 && < 2.14
if flag(deepseq)
build-depends: deepseq >= 1.1 && < 1.5
if flag(transformers)
build-depends: transformers >= 0.2 && < 0.6,
transformers-compat >= 0.5 && < 1