refresh to cabal-rpm-2.1.0 with SPDX migration

This commit is contained in:
Jens Petersen 2023-01-24 23:54:58 +08:00
parent 4bda0018f4
commit d664020a81
2 changed files with 13 additions and 5 deletions

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 th-lift
@ -8,10 +8,10 @@
Name: ghc-%{pkg_name}
Version: 0.8.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Derive Template Haskell's Lift class for datatypes
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
@ -22,9 +22,14 @@ 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-template-haskell-devel
BuildRequires: ghc-th-abstraction-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-th-abstraction-prof
%endif
# End cabal-rpm deps
%description
@ -132,6 +137,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.8.2-5
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,6 +1,6 @@
Name: th-lift
Version: 0.8.2
x-revision: 1
x-revision: 2
Cabal-Version: 1.12
License: BSD3
License-Files: COPYING, BSD3, GPL-2
@ -48,7 +48,7 @@ Library
Build-Depends: base >= 4.3 && < 5,
ghc-prim,
th-abstraction >= 0.2.3 && < 0.5,
template-haskell >= 2.5 && < 2.19
template-haskell >= 2.5 && < 2.20
ghc-options: -Wall
Test-Suite test