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 887608d5d5
commit 8e4a200b58
2 changed files with 17 additions and 7 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/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name indexed-traversable %global pkg_name indexed-traversable
@ -6,10 +6,10 @@
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.1.2 Version: 0.1.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: FunctorWithIndex, FoldableWithIndex, TraversableWithIndex Summary: FunctorWithIndex, FoldableWithIndex, TraversableWithIndex
License: BSD License: BSD-2-Clause
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources: # Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
@ -19,10 +19,16 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-array-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-transformers-devel
%if %{with ghc_prof}
BuildRequires: ghc-array-prof BuildRequires: ghc-array-prof
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-prof BuildRequires: ghc-containers-prof
BuildRequires: ghc-transformers-prof BuildRequires: ghc-transformers-prof
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
@ -120,6 +126,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog %changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.1.2-3
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,7 +1,7 @@
cabal-version: 1.12 cabal-version: 1.12
name: indexed-traversable name: indexed-traversable
version: 0.1.2 version: 0.1.2
x-revision: 1 x-revision: 2
build-type: Simple build-type: Simple
license: BSD2 license: BSD2
license-file: LICENSE license-file: LICENSE
@ -47,8 +47,9 @@ tested-with:
|| ==8.6.5 || ==8.6.5
|| ==8.8.4 || ==8.8.4
|| ==8.10.7 || ==8.10.7
|| ==9.0.1 || ==9.0.2
|| ==9.2.1 || ==9.2.4
|| ==9.4.1
source-repository head source-repository head
type: git type: git
@ -70,7 +71,7 @@ library
build-depends: build-depends:
array >=0.3.0.2 && <0.6 array >=0.3.0.2 && <0.6
, base >=4.3 && <4.17 , base >=4.3 && <4.18
, containers >=0.4.0.0 && <0.7 , containers >=0.4.0.0 && <0.7
, transformers >=0.3.0.0 && <0.7 , transformers >=0.3.0.0 && <0.7