From d664020a81cad83253eb7914ccb334a556b22864 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 24 Jan 2023 23:54:58 +0800 Subject: [PATCH] refresh to cabal-rpm-2.1.0 with SPDX migration --- ghc-th-lift.spec | 14 +++++++++++--- th-lift-0.8.2.cabal | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ghc-th-lift.spec b/ghc-th-lift.spec index c06206f..6b0976e 100644 --- a/ghc-th-lift.spec +++ b/ghc-th-lift.spec @@ -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 - 0.8.2-5 +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 0.8.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/th-lift-0.8.2.cabal b/th-lift-0.8.2.cabal index 0a3762a..c7b72d9 100644 --- a/th-lift-0.8.2.cabal +++ b/th-lift-0.8.2.cabal @@ -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