SHA256
1
0
forked from pool/ghc-tagged

import update from devel:languages:haskell:lts:7

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tagged?expand=0&rev=21
This commit is contained in:
Peter Simons 2016-12-18 13:46:20 +00:00 committed by Git OBS Bridge
parent 1e1c9d140d
commit 88f666a6c4
3 changed files with 75 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 8 11:03:19 UTC 2016 - psimons@suse.com
- Update to version 0.8.5 revision 1 with cabal2obs.
-------------------------------------------------------------------
Thu Sep 15 07:10:20 UTC 2016 - psimons@suse.com

View File

@ -25,6 +25,7 @@ License: BSD-3-Clause
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
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-rpm-macros
@ -49,6 +50,7 @@ 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
@ -68,6 +70,5 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc CHANGELOG.markdown README.markdown
%changelog

68
tagged.cabal Normal file
View File

@ -0,0 +1,68 @@
name: tagged
version: 0.8.5
x-revision: 1
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.13
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