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 ce24154714
commit 4724e01e28
2 changed files with 38 additions and 4 deletions

View File

@ -1,6 +1,6 @@
name: criterion
version: 1.5.13.0
x-revision: 1
x-revision: 2
synopsis: Robust, reliable performance measurement and analysis
license: BSD3
license-file: LICENSE
@ -85,7 +85,7 @@ library
build-depends:
-- TODO: Eventually, we should bump the lower version bounds to >=2 so that
-- we can remove some CPP in Criterion.Report. See #247.
aeson >= 1 && < 2.1,
aeson >= 1 && < 2.2,
ansi-wl-pprint >= 0.6.7.2,
base >= 4.5 && < 5,
base-compat-batteries >= 0.10 && < 0.13,

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 criterion
@ -18,7 +18,7 @@ Version: 1.5.13.0
Release: 13%{?dist}
Summary: Robust, reliable performance measurement and analysis
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
@ -32,6 +32,36 @@ Source4: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra
BuildRequires: ghc-Glob-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-ansi-wl-pprint-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-compat-batteries-devel
BuildRequires: ghc-binary-devel
#BuildRequires: ghc-binary-orphans-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cassava-devel
BuildRequires: ghc-code-page-devel
BuildRequires: ghc-containers-devel
#BuildRequires: ghc-criterion-measurement-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-filepath-devel
#BuildRequires: ghc-js-chart-devel
BuildRequires: ghc-microstache-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-mwc-random-devel
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-statistics-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-compat-devel
BuildRequires: ghc-vector-devel
BuildRequires: ghc-vector-algorithms-devel
%if %{with ghc_prof}
BuildRequires: ghc-Glob-prof
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-ansi-wl-pprint-prof
@ -61,6 +91,7 @@ BuildRequires: ghc-transformers-prof
BuildRequires: ghc-transformers-compat-prof
BuildRequires: ghc-vector-prof
BuildRequires: ghc-vector-algorithms-prof
%endif
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
@ -70,7 +101,10 @@ BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-quickcheck-devel
%endif
# for missing dep 'criterion-measurement':
BuildRequires: ghc-base-compat-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-compat-prof
%endif
# End cabal-rpm deps
%description