refresh to cabal-rpm-2.1.0 with SPDX migration

This commit is contained in:
Jens Petersen 2023-01-24 23:54:56 +08:00
parent 6313030cd8
commit 453d8f9b93
2 changed files with 16 additions and 7 deletions

View File

@ -1,7 +1,7 @@
cabal-version: 1.12 cabal-version: 1.12
name: assoc name: assoc
version: 1.0.2 version: 1.0.2
x-revision: 2 x-revision: 3
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
synopsis: swap and assoc: Symmetric and Semigroupy Bifunctors synopsis: swap and assoc: Symmetric and Semigroupy Bifunctors
@ -30,8 +30,9 @@ tested-with:
|| ==8.6.5 || ==8.6.5
|| ==8.8.4 || ==8.8.4
|| ==8.10.4 || ==8.10.4
|| ==9.0.1 || ==9.0.2
|| ==9.2.1 || ==9.2.4
|| ==9.4.1
, GHCJS ==8.4 , GHCJS ==8.4
source-repository head source-repository head
@ -42,7 +43,7 @@ library
default-language: Haskell2010 default-language: Haskell2010
hs-source-dirs: src hs-source-dirs: src
build-depends: build-depends:
base >=4.3 && <4.17 base >=4.3 && <4.18
, bifunctors >=5.5.5 && <5.6 , bifunctors >=5.5.5 && <5.6
, tagged >=0.8.6 && <0.9 , tagged >=0.8.6 && <0.9

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 assoc %global pkg_name assoc
@ -6,10 +6,10 @@
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.0.2 Version: 1.0.2
Release: 6%{?dist} Release: 7%{?dist}
Summary: Swap and assoc: Symmetric and Semigroupy Bifunctors Summary: Swap and assoc: Symmetric and Semigroupy Bifunctors
License: BSD License: BSD-3-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,9 +19,14 @@ 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-base-devel
BuildRequires: ghc-bifunctors-devel
BuildRequires: ghc-tagged-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof
BuildRequires: ghc-bifunctors-prof BuildRequires: ghc-bifunctors-prof
BuildRequires: ghc-tagged-prof BuildRequires: ghc-tagged-prof
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
@ -106,6 +111,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog %changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 1.0.2-7
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild