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 300aa82bbc
commit df32f32662
2 changed files with 30 additions and 22 deletions

View File

@ -1,32 +1,33 @@
name: deepseq-generics
version: 0.2.0.0
x-revision: 7
x-revision: 8
synopsis: GHC.Generics-based Control.DeepSeq.rnf implementation
homepage: https://github.com/hvr/deepseq-generics
bug-reports: https://github.com/hvr/deepseq-generics/issues
homepage: https://github.com/haskell-hvr/deepseq-generics
bug-reports: https://github.com/haskell-hvr/deepseq-generics/issues
license: BSD3
license-file: LICENSE
author: Herbert Valerio Riedel
maintainer: hvr@gnu.org
maintainer: https://github.com/haskell-hvr
copyright: 2012, Herbert Valerio Riedel
category: Control
build-type: Simple
cabal-version: >=1.10
tested-with:
GHC == 9.4.*
GHC == 9.2.*
GHC == 9.0.*
GHC == 8.10.*
GHC == 8.8.*
GHC == 8.6.*
GHC == 8.4.*
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
GHC == 7.10.3
GHC == 7.8.4
GHC == 7.6.3
GHC == 7.4.*
GHC == 7.4.2
description:
This package provides a "GHC.Generics"-based
@ -53,13 +54,13 @@ extra-source-files: changelog.md
source-repository head
type: git
location: https://github.com/hvr/deepseq-generics.git
location: https://github.com/haskell-hvr/deepseq-generics.git
library
default-language: Haskell2010
exposed-modules: Control.DeepSeq.Generics
build-depends: base >= 4.5 && < 4.17
, ghc-prim >= 0.2 && < 0.9
build-depends: base >= 4.5 && < 4.18
, ghc-prim >= 0.2 && < 0.10
, deepseq >= 1.2.0.1 && < 1.5
other-extensions: BangPatterns, FlexibleContexts, TypeOperators
ghc-options: -Wall
@ -73,11 +74,11 @@ test-suite deepseq-generics-tests
ghc-options: -Wall
build-depends:
base,
deepseq,
deepseq-generics,
ghc-prim,
base
, deepseq
, deepseq-generics
, ghc-prim
-- end of packages with inherited version constraints
test-framework >= 0.6.1 && < 0.9,
test-framework-hunit >= 0.2.2 && < 0.9,
HUnit >= 1.2.5 && < 1.7
, test-framework >= 0.6.1 && < 0.9
, test-framework-hunit >= 0.2.2 && < 0.9
, HUnit >= 1.2.5 && < 1.7

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/
%global pkg_name deepseq-generics
@ -8,10 +8,10 @@
Name: ghc-%{pkg_name}
Version: 0.2.0.0
Release: 20%{?dist}
Release: 21%{?dist}
Summary: Generics-based normal form reduction for deepseq
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
@ -21,8 +21,12 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-deepseq-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-deepseq-prof
%endif
# End cabal-rpm deps
%description
@ -122,6 +126,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.2.0.0-21
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.0-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild