update to cabal-rpm-2.1.0: SPDX migration and separate prof BRs

This commit is contained in:
Jens Petersen 2023-01-19 18:19:10 +08:00
parent 92b6e51863
commit ee5e3aaa66
1 changed files with 7 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 zlib
@ -11,7 +11,8 @@ Version: 0.6.2.3
Release: %autorelease
Summary: Compression and decompression in the gzip and zlib formats
License: BSD
# clause 3 is dummy
License: BSD-2-Clause
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
@ -24,8 +25,12 @@ Patch0: zlib-0.6.2.3-test-rawformat-s390x-z15.patch
BuildRequires: dos2unix
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
BuildRequires: zlib-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel