refresh to cabal-rpm-2.1.0 including SPDX migration

This commit is contained in:
Jens Petersen 2023-01-22 20:15:58 +08:00
parent badb69ed68
commit fe85ac4079
1 changed files with 7 additions and 7 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/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name show %global pkg_name show
@ -9,8 +9,7 @@ Version: 0.6
Release: 29%{?dist} Release: 29%{?dist}
Summary: 'Show' instances for Lambdabot Summary: 'Show' instances for Lambdabot
# SimpleReflect is BSD and show.cabal says GPL License: GPL-2.0-or-later
License: GPL+
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
@ -20,15 +19,16 @@ Patch0: show-0.4.1.2-fix-fsf-address.patch
# 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-syb-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
BuildRequires: ghc-syb-prof BuildRequires: ghc-syb-prof
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
This library provides ShowQ, ShowFun, and SimpleReflect. Show instances for functions and IO procedures.
ShowFun gives us Typeable instances for neutering IO expressions.
ShowQ adds SmallCheck and QuickCheck support.
SimpleReflect allows us to literally see how functions 'expand'.
%package devel %package devel