refresh to cabal-rpm-2.1.0 with SPDX migration
This commit is contained in:
parent
e4132f15fb
commit
14f46f6c78
|
@ -1,4 +1,4 @@
|
|||
# generated by cabal-rpm-2.0.12 --subpackage
|
||||
# generated by cabal-rpm-2.1.0 --subpackage
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name snap-core
|
||||
|
@ -15,7 +15,7 @@ Version: 1.0.5.0
|
|||
Release: 22%{?dist}
|
||||
Summary: Snap web framework core library
|
||||
|
||||
License: BSD
|
||||
License: BSD-3-Clause
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
|
@ -28,6 +28,33 @@ Patch1: snap-core-0.9.2.2-portable-flag.patch
|
|||
BuildRequires: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros-extra
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
BuildRequires: ghc-attoparsec-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-case-insensitive-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-hashable-devel
|
||||
BuildRequires: ghc-io-streams-devel
|
||||
BuildRequires: ghc-lifted-base-devel
|
||||
BuildRequires: ghc-monad-control-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-network-devel
|
||||
BuildRequires: ghc-network-uri-devel
|
||||
BuildRequires: ghc-random-devel
|
||||
#BuildRequires: ghc-readable-devel
|
||||
BuildRequires: ghc-regex-posix-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-time-locale-compat-devel
|
||||
BuildRequires: ghc-transformers-devel
|
||||
BuildRequires: ghc-transformers-base-devel
|
||||
BuildRequires: ghc-unix-compat-devel
|
||||
BuildRequires: ghc-unordered-containers-devel
|
||||
BuildRequires: ghc-vector-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-HUnit-prof
|
||||
BuildRequires: ghc-attoparsec-prof
|
||||
BuildRequires: ghc-base-prof
|
||||
|
@ -54,6 +81,7 @@ BuildRequires: ghc-transformers-base-prof
|
|||
BuildRequires: ghc-unix-compat-prof
|
||||
BuildRequires: ghc-unordered-containers-prof
|
||||
BuildRequires: ghc-vector-prof
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: snap-core
|
||||
version: 1.0.5.0
|
||||
x-revision: 1
|
||||
x-revision: 3
|
||||
synopsis: Snap: A Haskell Web Framework (core interfaces and types)
|
||||
|
||||
description:
|
||||
|
@ -152,9 +152,10 @@ Library
|
|||
time >= 1.0 && < 1.14,
|
||||
transformers >= 0.3 && < 0.6,
|
||||
transformers-base >= 0.4 && < 0.5,
|
||||
unix-compat >= 0.3 && < 0.6,
|
||||
unix-compat >= 0.3 && < 0.7,
|
||||
-- allow unix-compat-0.6, see https://github.com/snapframework/snap-core/pull/317
|
||||
unordered-containers >= 0.1.4.3 && < 0.3,
|
||||
vector >= 0.6 && < 0.13
|
||||
vector >= 0.6 && < 0.14
|
||||
|
||||
other-extensions:
|
||||
BangPatterns,
|
||||
|
@ -196,7 +197,7 @@ Library
|
|||
network >= 2.3 && < 2.6
|
||||
|
||||
if impl(ghc >= 7.6)
|
||||
build-depends: unix-compat >= 0.3 && < 0.6
|
||||
build-depends: unix-compat >= 0.3
|
||||
else
|
||||
build-depends: unix-compat >= 0.3 && < 0.5.3
|
||||
|
||||
|
|
Loading…
Reference in New Issue