refresh to cabal-rpm-2.1.0 with SPDX migration

This commit is contained in:
Jens Petersen 2023-01-24 23:54:56 +08:00
parent d334ebcae9
commit 5e001b7246
2 changed files with 18 additions and 9 deletions

View File

@ -1,7 +1,7 @@
name: async name: async
version: 2.2.4 version: 2.2.4
x-revision: 1
-- don't forget to update ./changelog.md! -- don't forget to update ./changelog.md!
x-revision: 2
synopsis: Run IO operations asynchronously and wait for their results synopsis: Run IO operations asynchronously and wait for their results
description: description:
@ -36,9 +36,10 @@ cabal-version: >=1.10
homepage: https://github.com/simonmar/async homepage: https://github.com/simonmar/async
bug-reports: https://github.com/simonmar/async/issues bug-reports: https://github.com/simonmar/async/issues
tested-with: tested-with:
GHC == 9.2.0.20210821 GHC == 9.4.1
GHC == 9.0.1 GHC == 9.2.4
GHC == 8.10.4 GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4 GHC == 8.8.4
GHC == 8.6.5 GHC == 8.6.5
GHC == 8.4.4 GHC == 8.4.4
@ -65,7 +66,7 @@ library
if impl(ghc>=7.1) if impl(ghc>=7.1)
other-extensions: Trustworthy other-extensions: Trustworthy
exposed-modules: Control.Concurrent.Async exposed-modules: Control.Concurrent.Async
build-depends: base >= 4.3 && < 4.17, build-depends: base >= 4.3 && < 4.18,
hashable >= 1.1.2.0 && < 1.5, hashable >= 1.1.2.0 && < 1.5,
stm >= 2.2 && < 2.6 stm >= 2.2 && < 2.6
@ -74,7 +75,7 @@ test-suite test-async
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
hs-source-dirs: test hs-source-dirs: test
main-is: test-async.hs main-is: test-async.hs
build-depends: base >= 4.3 && < 4.17, build-depends: base,
async, async,
stm, stm,
test-framework, test-framework,

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/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name async %global pkg_name async
@ -8,10 +8,10 @@
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 2.2.4 Version: 2.2.4
Release: 2%{?dist} Release: 3%{?dist}
Summary: Run IO operations asynchronously and wait for their results Summary: Run IO operations asynchronously and wait for their results
License: BSD License: BSD-3-Clause
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources: # Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
@ -21,9 +21,14 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-stm-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
BuildRequires: ghc-hashable-prof BuildRequires: ghc-hashable-prof
BuildRequires: ghc-stm-prof BuildRequires: ghc-stm-prof
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
@ -118,6 +123,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog %changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 2.2.4-3
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-2 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild