From ee5e3aaa66a37ae3c9fe1a97fd8b8d8b43b4d083 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 19 Jan 2023 18:19:10 +0800 Subject: [PATCH] update to cabal-rpm-2.1.0: SPDX migration and separate prof BRs --- ghc-zlib.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ghc-zlib.spec b/ghc-zlib.spec index 718b3df..5579cf1 100644 --- a/ghc-zlib.spec +++ b/ghc-zlib.spec @@ -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