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 ba7a89248d
commit 8388db98d7
2 changed files with 15 additions and 6 deletions

View File

@ -1,6 +1,6 @@
name: cabal-doctest
version: 1.0.9
x-revision: 1
x-revision: 2
synopsis: A Setup.hs helper for running doctests
description:
As of now (end of 2021), there isn't @cabal doctest@
@ -22,7 +22,7 @@ extra-source-files:
tested-with:
GHC == 9.4.1
GHC == 9.2.3
GHC == 9.2.4
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
@ -47,7 +47,7 @@ library
other-extensions:
build-depends:
base >=4.3 && <5
, Cabal >=1.10 && <3.8
, Cabal >=1.10 && <3.10
, directory
, filepath

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 cabal-doctest
@ -6,10 +6,10 @@
Name: ghc-%{pkg_name}
Version: 1.0.9
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A Setup.hs helper for running doctests
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
@ -18,10 +18,16 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# Begin cabal-rpm deps:
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
%if %{with ghc_prof}
BuildRequires: ghc-Cabal-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-prof
%endif
# End cabal-rpm deps
%description
@ -106,6 +112,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 1.0.9-3
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild