update to 1.27.1

This commit is contained in:
Jens Petersen 2023-01-24 20:32:04 +08:00
parent 5905cb3aea
commit 3adfc7830c
3 changed files with 37 additions and 15 deletions

3
.gitignore vendored
View File

@ -33,3 +33,6 @@
/hledger-lib-1.20.4.tar.gz
/cassava-megaparsec-2.0.2.tar.gz
/hledger-lib-1.21.tar.gz
/hledger-lib-1.27.1.tar.gz
/cassava-megaparsec-2.0.4.tar.gz
/breakpoint-0.1.2.0.tar.gz

View File

@ -4,17 +4,18 @@
%global pkg_name hledger-lib
%global pkgver %{pkg_name}-%{version}
%global cassavamegaparsec cassava-megaparsec-2.0.2
%global cassavamegaparsec cassava-megaparsec-2.0.4
%global timeit timeit-2.0
%global subpkgs %{cassavamegaparsec} %{timeit}
%global breakpoint breakpoint-0.1.2.0
%global subpkgs %{cassavamegaparsec} %{timeit} %{breakpoint}
# cassava-megaparsec needs hspec-megaparsec
# doctest testsuite failing
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.21
Version: 1.27.1
# can only be reset when all subpkgs bumped
Release: 11%{?dist}
Release: 12%{?dist}
Summary: A reusable library providing the core functionality of hledger
License: GPL-3.0-or-later
@ -23,6 +24,7 @@ Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{cassavamegaparsec}/%{cassavamegaparsec}.tar.gz
Source2: https://hackage.haskell.org/package/%{timeit}/%{timeit}.tar.gz
Source3: https://hackage.haskell.org/package/%{breakpoint}/%{breakpoint}.tar.gz
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -35,8 +37,8 @@ BuildRequires: ghc-aeson-pretty-devel
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-compat-batteries-devel
BuildRequires: ghc-blaze-markup-devel
#BuildRequires: ghc-breakpoint-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-call-stack-devel
BuildRequires: ghc-cassava-devel
@ -44,14 +46,17 @@ BuildRequires: ghc-cassava-devel
BuildRequires: ghc-cmdargs-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-doclayout-devel
BuildRequires: ghc-extra-devel
BuildRequires: ghc-file-embed-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-hashtables-devel
BuildRequires: ghc-megaparsec-devel
BuildRequires: ghc-microlens-devel
BuildRequires: ghc-microlens-th-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-parser-combinators-devel
BuildRequires: ghc-pretty-simple-devel
BuildRequires: ghc-regex-tdfa-devel
@ -75,8 +80,8 @@ BuildRequires: ghc-aeson-pretty-prof
BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-base-compat-batteries-prof
BuildRequires: ghc-blaze-markup-prof
#BuildRequires: ghc-breakpoint-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-call-stack-prof
BuildRequires: ghc-cassava-prof
@ -84,14 +89,17 @@ BuildRequires: ghc-cassava-prof
BuildRequires: ghc-cmdargs-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-data-default-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-doclayout-prof
BuildRequires: ghc-extra-prof
BuildRequires: ghc-file-embed-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hashtables-prof
BuildRequires: ghc-megaparsec-prof
BuildRequires: ghc-microlens-prof
BuildRequires: ghc-microlens-th-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-old-time-prof
BuildRequires: ghc-parser-combinators-prof
BuildRequires: ghc-pretty-simple-prof
BuildRequires: ghc-regex-tdfa-prof
@ -108,14 +116,18 @@ BuildRequires: ghc-uglymemo-prof
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-utf8-string-prof
%endif
%if %{with tests}
BuildRequires: ghc-doctest-devel
%endif
# for missing dep 'cassava-megaparsec':
BuildRequires: ghc-vector-devel
%if %{with ghc_prof}
BuildRequires: ghc-vector-prof
%endif
# for missing dep 'breakpoint':
BuildRequires: ghc-ghc-devel
BuildRequires: ghc-haskeline-devel
%if %{with ghc_prof}
BuildRequires: ghc-ghc-prof
BuildRequires: ghc-haskeline-prof
%endif
# End cabal-rpm deps
%description
@ -170,6 +182,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%if %{defined ghclibdir}
%ghc_lib_subpackage -l MIT %{cassavamegaparsec}
%ghc_lib_subpackage -l BSD-3-Clause %{timeit}
%ghc_lib_subpackage -l MIT %{breakpoint}
%endif
%global version %{main_version}
@ -177,7 +190,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver} -a1 -a2
%setup -q -n %{pkgver} -a1 -a2 -a3
# End cabal-rpm setup
@ -223,6 +236,11 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 1.27.1-12
- https://hackage.haskell.org/package/hledger-lib-1.27.1/changelog
- new dependency: breakpoint
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,3 +1,4 @@
SHA512 (hledger-lib-1.27.1.tar.gz) = 522569af54936ab6c1558f668ace12494d7dd0d7446594bbaacfbf704a32ca67c62bffdc15b269935bf1a25ece93658d3d0b0f1a2b67962cd17d582154e34dcc
SHA512 (cassava-megaparsec-2.0.4.tar.gz) = 9a9241e5251d049bc8f6ef40b6fc649ac55481e4609b4f7acb2d8772dd079519cfdeaea2d4cf03f8e55b75c7bff85251bfee962e842b46fe930dde25577a272a
SHA512 (timeit-2.0.tar.gz) = 3cbe554ddb17fbeb5f8be1f6459144921f8be4db0fa9571678980251ca397fca0700df61d0e5bd8466b0b2cdcedac8473ac53debbd9b4e9c239ebb37bec2845b
SHA512 (cassava-megaparsec-2.0.2.tar.gz) = b32057fe6dd2a70eb96e9453e3f765f0b67099342411df050bf30dc0bf1c360b3804b1e958c6e2937f66b98433e0459ab3833f060065b45af051415cdfc0bf7b
SHA512 (hledger-lib-1.21.tar.gz) = adf51531cefd4108aa4f9c27b6647876a43814876b9617accf0d8ff0fe5cc9757c8a1cbc01aaa497e1806bcfa191860b725c691ccc7c5a3f29197ac1eb436f28
SHA512 (breakpoint-0.1.2.0.tar.gz) = ae22382e70cf7b425db468e3e2065ee770657b71c10a89311c2b39549bace68678e25616860bb807c2fbe7a76b8d4bbb527d73f28b3fd4bc92e837d817e0df2e