From 110dbf3323d5bf42183d80b88172707ab56e2932 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 24 Jan 2023 23:54:58 +0800 Subject: [PATCH] refresh to cabal-rpm-2.1.0 with SPDX migration --- ghc-scientific.spec | 21 ++++++++++++++++++--- scientific-0.3.7.0.cabal | 11 ++++++----- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/ghc-scientific.spec b/ghc-scientific.spec index 9486d7f..b74be5c 100644 --- a/ghc-scientific.spec +++ b/ghc-scientific.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 scientific @@ -8,10 +8,10 @@ Name: ghc-%{pkg_name} Version: 0.3.7.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Numbers represented using scientific notation -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 @@ -21,6 +21,17 @@ 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-binary-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-hashable-devel +BuildRequires: ghc-integer-logarithms-devel +BuildRequires: ghc-primitive-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-text-devel +%if %{with ghc_prof} BuildRequires: ghc-base-prof BuildRequires: ghc-binary-prof BuildRequires: ghc-bytestring-prof @@ -31,6 +42,7 @@ BuildRequires: ghc-integer-logarithms-prof BuildRequires: ghc-primitive-prof BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-text-prof +%endif # End cabal-rpm deps %description @@ -121,6 +133,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Feb 16 2023 Jens Petersen - 0.3.7.0-5 +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 0.3.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/scientific-0.3.7.0.cabal b/scientific-0.3.7.0.cabal index 37af49c..4fe2217 100644 --- a/scientific-0.3.7.0.cabal +++ b/scientific-0.3.7.0.cabal @@ -1,6 +1,6 @@ name: scientific version: 0.3.7.0 -x-revision: 2 +x-revision: 3 synopsis: Numbers represented using scientific notation description: "Data.Scientific" provides the number type 'Scientific'. Scientific numbers are @@ -53,8 +53,9 @@ tested-with: || ==8.6.5 || ==8.8.4 || ==8.10.7 - || ==9.0.1 - || ==9.2.1 + || ==9.0.2 + || ==9.2.4 + || ==9.4.1 source-repository head type: git @@ -88,14 +89,14 @@ library ghc-options: -Wall build-depends: - base >=4.5 && <4.17 + base >=4.5 && <4.18 , binary >=0.5.1 && <0.9 , containers >=0.4.2.1 && <0.7 , deepseq >=1.3.0.0 && <1.5 , hashable >=1.2.7.0 && <1.5 , integer-logarithms >=1.0.3.1 && <1.1 , primitive >=0.7.1.0 && <0.8 - , template-haskell >=2.8 && <2.19 + , template-haskell >=2.8 && <2.20 , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1 if flag(bytestring-builder)