From d8f6c4ec4cb7a7e2d7d96f9d2be8b301d6f427ae Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 24 Jan 2023 23:54:57 +0800 Subject: [PATCH] refresh to cabal-rpm-2.1.0 with SPDX migration --- ghc-htoml.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ghc-htoml.spec b/ghc-htoml.spec index 059bd97..10326c6 100644 --- a/ghc-htoml.spec +++ b/ghc-htoml.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 htoml @@ -11,7 +11,7 @@ Version: 1.0.0.3 Release: 20%{?dist} Summary: Parser for TOML files -License: BSD +License: BSD-3-Clause Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz @@ -22,6 +22,16 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-aeson-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-old-locale-devel +BuildRequires: ghc-parsec-devel +BuildRequires: ghc-text-devel +BuildRequires: ghc-time-devel +BuildRequires: ghc-unordered-containers-devel +BuildRequires: ghc-vector-devel +%if %{with ghc_prof} BuildRequires: ghc-aeson-prof BuildRequires: ghc-base-prof BuildRequires: ghc-containers-prof @@ -31,6 +41,7 @@ BuildRequires: ghc-text-prof BuildRequires: ghc-time-prof BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-vector-prof +%endif # End cabal-rpm deps %description