refresh to cabal-rpm-2.1.0 with SPDX migration

This commit is contained in:
Jens Petersen 2023-01-24 23:54:58 +08:00
parent 9e57afce7a
commit 110dbf3323
2 changed files with 24 additions and 8 deletions

View File

@ -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 <petersen@redhat.com> - 0.3.7.0-5
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -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)