refresh to cabal-rpm-2.1.0 including SPDX migration

This commit is contained in:
Jens Petersen 2023-01-22 14:51:50 +08:00
parent b298aa8fc7
commit 84344f343c
1 changed files with 10 additions and 3 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 cryptonite
@ -14,8 +14,8 @@ Version: 0.29
Release: 4%{?dist}
Summary: Cryptography Primitives sink
# Main - Argon2 C code - Blake2 C code
License: BSD and (CC0 or ASL 2.0) and (CC0 or ASL 2.0 or OpenSSL)
# Main - Argon2 C code - Blake2 C code
License: BSD-3-Clause and (CC0-1.0 or Apache-2.0) and (CC0-1.0 or Apache-2.0 or OpenSSL)
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
@ -24,11 +24,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-basement-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-memory-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-basement-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-memory-prof
%endif
BuildRequires: glibc-devel
%if %{with tests}
BuildRequires: ghc-tasty-devel