refresh to cabal-rpm-2.1.0 with SPDX migration

This commit is contained in:
Jens Petersen 2023-01-24 23:54:58 +08:00
parent 3334219655
commit b7c468b66b
2 changed files with 31 additions and 8 deletions

View File

@ -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-server
@ -15,7 +15,7 @@ Version: 1.1.2.0
Release: 20%{?dist}
Summary: A web server for the Snap Framework
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
@ -27,6 +27,28 @@ Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-clock-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-io-streams-devel
#BuildRequires: ghc-io-streams-haproxy-devel
BuildRequires: ghc-lifted-base-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-snap-core-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unix-devel
BuildRequires: ghc-unix-compat-devel
BuildRequires: ghc-vector-devel
%if %{with ghc_prof}
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-blaze-builder-prof
@ -48,6 +70,7 @@ BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unix-prof
BuildRequires: ghc-unix-compat-prof
BuildRequires: ghc-vector-prof
%endif
# End cabal-rpm deps
%description

View File

@ -1,6 +1,6 @@
name: snap-server
version: 1.1.2.0
x-revision: 1
x-revision: 2
synopsis: A web server for the Snap Framework
description:
Snap is a simple and fast web development framework and server written in
@ -97,8 +97,8 @@ Library
Snap.Internal.Http.Server.TLS
build-depends:
attoparsec >= 0.12 && < 0.14,
base >= 4.6 && < 4.16,
attoparsec >= 0.12 && < 0.15,
base >= 4.6 && < 4.18,
blaze-builder >= 0.4 && < 0.5,
bytestring >= 0.9.1 && < 0.12,
bytestring-builder >= 0.10.4 && < 0.11,
@ -113,11 +113,11 @@ Library
network >= 2.3 && < 3.2,
old-locale >= 1.0 && < 1.1,
snap-core >= 1.0 && < 1.1,
text >= 0.11 && < 1.3,
text >= 0.11 && < 2.1,
time >= 1.0 && < 1.13,
transformers >= 0.3 && < 0.6,
unix-compat >= 0.2 && < 0.6,
vector >= 0.7 && < 0.13
unix-compat >= 0.2 && < 0.7,
vector >= 0.7 && < 0.14
other-extensions:
BangPatterns,