refresh to cabal-rpm-2.1.0 with SPDX migration

This commit is contained in:
Jens Petersen 2023-01-24 23:54:57 +08:00
parent c02ea9add7
commit 4a84bae0a1
2 changed files with 17 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 integer-logarithms
@ -8,7 +8,7 @@
Name: ghc-%{pkg_name}
Version: 1.0.3.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Integer logarithms
License: MIT
@ -21,8 +21,12 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-array-devel
BuildRequires: ghc-base-devel
%if %{with ghc_prof}
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-prof
%endif
# End cabal-rpm deps
%description
@ -111,6 +115,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 1.0.3.1-5
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,6 +1,6 @@
name: integer-logarithms
version: 1.0.3.1
x-revision: 2
x-revision: 4
cabal-version: >=1.10
author: Daniel Fischer
copyright:
@ -36,8 +36,10 @@ tested-with:
|| ==8.6.4
|| ==8.8.4
|| ==8.10.4
|| ==9.0.1
|| ==9.2.1
|| ==9.0.2
|| ==9.2.5
|| ==9.4.4
|| ==9.6.1
, GHCJS ==8.4
extra-source-files:
@ -59,8 +61,8 @@ library
hs-source-dirs: src
build-depends:
array >=0.3 && <0.6
, base >=4.3 && <4.17
, ghc-prim <0.9
, base >=4.3 && <4.19
, ghc-prim <0.11
if !impl(ghc >=7.10)
build-depends: nats >=1.1.2 && <1.2
@ -68,7 +70,7 @@ library
if impl(ghc >=9.0)
build-depends:
base >=4.15
, ghc-bignum >=1.0 && <1.3
, ghc-bignum >=1.0 && <1.4
if !flag(integer-gmp)
build-depends: invalid-cabal-flag-settings <0