From 2e0aed389300fdefe257167307268b4ebf6fbe98 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jan 2023 21:49:19 +0800 Subject: [PATCH] refresh to cabal-rpm-2.1.0 including SPDX migration --- unlambda.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/unlambda.spec b/unlambda.spec index 1044b48..6390fe3 100644 --- a/unlambda.spec +++ b/unlambda.spec @@ -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 unlambda @@ -9,7 +9,7 @@ Version: 0.1.4.2 Release: 23%{?dist} Summary: Unlambda interpreter -License: GPL+ +License: GPL-2.0-or-later Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz @@ -19,10 +19,16 @@ Patch0: unlambda-0.1.2-FSF-license-fix.patch # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-array-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-unix-devel +%if %{with ghc_prof} BuildRequires: ghc-array-prof BuildRequires: ghc-base-prof BuildRequires: ghc-mtl-prof BuildRequires: ghc-unix-prof +%endif # End cabal-rpm deps %description