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 1ef0e3a982
commit 8178e7d231
2 changed files with 15 additions and 5 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 resolv
@ -8,10 +8,10 @@
Name: ghc-%{pkg_name}
Version: 0.1.2.0
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Domain Name Service (DNS) lookup via the libresolv standard library routines
License: GPLv2.0+
License: GPL-2.0-or-later
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
@ -21,11 +21,18 @@ 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-base16-bytestring-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-base16-bytestring-prof
BuildRequires: ghc-binary-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
%endif
%if %{with tests}
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
@ -128,6 +135,9 @@ cabal-tweak-dep-ver tasty '^>=1.3.1' '>=1.3.1'
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.1.2.0-10
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -2,7 +2,7 @@ cabal-version: 2.2
name: resolv
version: 0.1.2.0
x-revision: 4
x-revision: 5
synopsis: Domain Name Service (DNS) lookup via the libresolv standard library routines
description: {
@ -93,7 +93,7 @@ library
Compat
-- we need binary-0.7.3 for isolate
build-depends: base >= 4.5 && <4.17
build-depends: base >= 4.5 && <4.18
, base16-bytestring ^>= 0.1 || ^>=1.0.0.0
, binary ^>=0.7.3 || ^>= 0.8
, bytestring ^>=0.9.2 || ^>= 0.10 || ^>= 0.11