refresh to cabal-rpm-2.1.0 including SPDX migration

This commit is contained in:
Jens Petersen 2023-01-22 01:55:51 +08:00
parent e87cf9a3bf
commit 995b0ec8dd

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.11
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name formatting
@ -15,7 +15,7 @@ Version: 7.1.3
Release: 3%{?dist}
Summary: Combinator-based type-safe formatting (like printf() or FORMAT)
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
@ -26,6 +26,15 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-clock-devel
BuildRequires: ghc-double-conversion-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-clock-prof
BuildRequires: ghc-double-conversion-prof
@ -34,6 +43,7 @@ BuildRequires: ghc-scientific-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-prof
%endif
%if %{with tests}
BuildRequires: ghc-hspec-devel
%endif