refresh to cabal-rpm-2.1.0 with SPDX migration

This commit is contained in:
Jens Petersen 2023-01-24 23:54:57 +08:00
parent 63c0485cb7
commit 8991baf957
2 changed files with 58 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.9
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name hakyll
@ -8,10 +8,10 @@
Name: ghc-%{pkg_name}
Version: 4.15.1.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A static website compiler 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
@ -22,6 +22,46 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-blaze-html-devel
BuildRequires: ghc-blaze-markup-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-file-embed-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-fsnotify-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-http-conduit-devel
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-lifted-async-devel
BuildRequires: ghc-lrucache-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-pandoc-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-resourcet-devel
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-tagsoup-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-locale-compat-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
BuildRequires: ghc-wai-devel
BuildRequires: ghc-wai-app-static-devel
BuildRequires: ghc-warp-devel
BuildRequires: ghc-yaml-devel
%if %{with ghc_prof}
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-binary-prof
@ -61,6 +101,7 @@ BuildRequires: ghc-wai-prof
BuildRequires: ghc-wai-app-static-prof
BuildRequires: ghc-warp-prof
BuildRequires: ghc-yaml-prof
%endif
# End cabal-rpm deps
%description
@ -148,6 +189,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 4.15.1.1-3
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,6 +1,6 @@
Name: hakyll
Version: 4.15.1.1
x-revision: 3
x-revision: 8
Synopsis: A static website compiler library
Description:
@ -178,7 +178,7 @@ Library
Paths_hakyll
Build-Depends:
aeson >= 1.0 && < 1.6 || >= 2.0 && < 2.1,
aeson >= 1.0 && < 1.6 || >= 2.0 && < 2.2,
base >= 4.8 && < 5,
binary >= 0.5 && < 0.10,
blaze-html >= 0.5 && < 0.10,
@ -200,15 +200,15 @@ Library
process >= 1.6 && < 1.7,
random >= 1.0 && < 1.3,
regex-tdfa >= 1.1 && < 1.4,
resourcet >= 1.1 && < 1.3,
resourcet >= 1.1 && < 1.4,
scientific >= 0.3.4 && < 0.4,
tagsoup >= 0.13.1 && < 0.15,
template-haskell >= 2.14 && < 2.19,
text >= 0.11 && < 1.3,
text >= 0.11 && < 1.3 || >= 2.0 && < 2.1,
time >= 1.8 && < 1.12,
time-locale-compat >= 0.1 && < 0.2,
unordered-containers >= 0.2 && < 0.3,
vector >= 0.11 && < 0.13,
vector >= 0.11 && < 0.14,
yaml >= 0.8.11 && < 0.12
If flag(previewServer)
@ -217,7 +217,7 @@ Library
warp >= 3.2 && < 3.4,
wai-app-static >= 3.1 && < 3.2,
http-types >= 0.9 && < 0.13,
fsnotify >= 0.2 && < 0.4
fsnotify >= 0.2 && < 0.5
Cpp-options:
-DPREVIEW_SERVER
Other-modules:
@ -226,7 +226,7 @@ Library
If flag(watchServer)
Build-depends:
fsnotify >= 0.2 && < 0.4
fsnotify >= 0.2 && < 0.5
Cpp-options:
-DWATCH_SERVER
Other-modules:
@ -247,7 +247,7 @@ Library
Other-Modules:
Hakyll.Web.Pandoc.Binary
Build-Depends:
pandoc >= 2.11 && < 2.19
pandoc >= 2.11 && < 2.20
Cpp-options:
-DUSE_PANDOC
@ -285,13 +285,13 @@ Test-suite hakyll-tests
tasty-hunit >= 0.9 && < 0.11,
tasty-quickcheck >= 0.8 && < 0.11,
-- Copy pasted from hakyll dependencies:
aeson >= 1.0 && < 1.6 || >= 2.0 && < 2.1,
aeson >= 1.0 && < 1.6 || >= 2.0 && < 2.2,
base >= 4.8 && < 5,
bytestring >= 0.9 && < 0.12,
containers >= 0.3 && < 0.7,
filepath >= 1.0 && < 1.5,
tagsoup >= 0.13.1 && < 0.15,
text >= 0.11 && < 1.3,
text >= 0.11 && < 1.3 || >= 2.0 && < 2.1,
unordered-containers >= 0.2 && < 0.3,
yaml >= 0.8.11 && < 0.12
@ -345,4 +345,4 @@ Executable hakyll-website
base >= 4 && < 5,
directory >= 1.0 && < 1.4,
filepath >= 1.0 && < 1.5,
pandoc >= 2.11 && < 2.19
pandoc >= 2.11 && < 2.20