refresh to cabal-rpm-2.1.0 including SPDX migration

This commit is contained in:
Jens Petersen 2023-01-22 15:02:24 +08:00
parent b42a32035c
commit 4a978c613d

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.10 --subpackage
# generated by cabal-rpm-2.1.0 --subpackage
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name doctemplates
@ -9,7 +9,7 @@
%global textconversions text-conversions-0.3.1
%global subpkgs %{doclayout} %{errors} %{textconversions}
# testsuite missing deps: doclayout tasty-golden
# testsuite missing deps: tasty-golden
Name: ghc-%{pkg_name}
Version: 0.9
@ -17,7 +17,7 @@ Version: 0.9
Release: 9%{?dist}
Summary: Pandoc-style document templates
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
@ -29,6 +29,21 @@ Source3: https://hackage.haskell.org/package/%{textconversions}/%{textcon
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra
BuildRequires: ghc-HsYAML-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-containers-devel
#BuildRequires: ghc-doclayout-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-safe-devel
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-text-devel
#BuildRequires: ghc-text-conversions-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
%if %{with ghc_prof}
BuildRequires: ghc-HsYAML-prof
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-base-prof
@ -43,14 +58,30 @@ BuildRequires: ghc-text-prof
#BuildRequires: ghc-text-conversions-prof
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-vector-prof
%endif
# for missing dep 'doclayout':
BuildRequires: ghc-emojis-devel
%if %{with ghc_prof}
BuildRequires: ghc-emojis-prof
%endif
# for missing dep 'errors':
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-compat-devel
%if %{with ghc_prof}
BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-transformers-compat-prof
%endif
# for missing dep 'text-conversions':
BuildRequires: ghc-base16-bytestring-devel
BuildRequires: ghc-base64-bytestring-devel
BuildRequires: ghc-bytestring-devel
%if %{with ghc_prof}
BuildRequires: ghc-base16-bytestring-prof
BuildRequires: ghc-base64-bytestring-prof
BuildRequires: ghc-bytestring-prof
%endif
# End cabal-rpm deps
%description