From 6dfdb9299620d1b01b234dcabf5141e42dbb1581 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jan 2023 01:00:01 +0800 Subject: [PATCH] refresh to cabal-rpm-2.1.0 including SPDX migration --- ghc-HsYAML.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index bc604ba..477c54f 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.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 HsYAML @@ -11,7 +11,7 @@ Version: 0.2.1.0 Release: 8%{?dist} Summary: Pure Haskell YAML 1.2 processor -License: GPLv2+ +License: GPL-2.0-or-later Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz @@ -21,6 +21,14 @@ 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 +BuildRequires: ghc-containers-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-parsec-devel +BuildRequires: ghc-text-devel +%if %{with ghc_prof} BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-prof BuildRequires: ghc-containers-prof @@ -28,6 +36,7 @@ BuildRequires: ghc-deepseq-prof BuildRequires: ghc-mtl-prof BuildRequires: ghc-parsec-prof BuildRequires: ghc-text-prof +%endif %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-tasty-devel