refresh to cabal-rpm-2.1.0 including SPDX migration

This commit is contained in:
Jens Petersen 2023-01-22 14:18:30 +08:00
parent 67f4988de9
commit fd3eb71dc5
1 changed files with 9 additions and 2 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 binary-shared
@ -10,7 +10,7 @@ Release: 28%{?dist}
Summary: Haskell library for sharing binary elements
# GPL version is not stated
License: GPL+
License: GPL-2.0-or-later
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
@ -19,11 +19,18 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-binary-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-mtl-prof
%endif
# End cabal-rpm deps
%description