refresh to cabal-rpm-2.1.0 including SPDX migration

This commit is contained in:
Jens Petersen 2023-01-22 01:23:13 +08:00
parent 08fc492bef
commit 4f6c429aac
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.12
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name cryptohash-sha1
@ -11,7 +11,7 @@ Version: 0.11.101.0
Release: 2%{?dist}
Summary: Fast, pure and practical SHA-1 implementation
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-bytestring-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
%endif
%if %{with tests}
BuildRequires: ghc-SHA-devel
BuildRequires: ghc-base16-bytestring-devel