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 ee64b208b0
commit 05675cacdc
2 changed files with 31 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/
%global pkg_name haxr
@ -6,10 +6,10 @@
Name: ghc-%{pkg_name}
Version: 3000.11.4.1
Release: 10%{?dist}
Release: 11%{?dist}
Summary: XML-RPC client and server library
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
@ -20,6 +20,27 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-HaXml-devel
BuildRequires: ghc-HsOpenSSL-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-base64-bytestring-devel
BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-http-streams-devel
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-io-streams-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-utf8-string-devel
%if %{with ghc_prof}
BuildRequires: ghc-HaXml-prof
BuildRequires: ghc-HsOpenSSL-prof
BuildRequires: ghc-array-prof
@ -40,6 +61,7 @@ BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-utf8-string-prof
%endif
# End cabal-rpm deps
%description
@ -125,6 +147,9 @@ cabal-tweak-drop-dep mtl-compat
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 3000.11.4.1-11
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3000.11.4.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,6 +1,6 @@
Name: haxr
Version: 3000.11.4.1
x-revision: 2
x-revision: 3
Cabal-version: >=1.10
Build-type: Simple
Copyright: Bjorn Bringert, 2003-2006
@ -23,8 +23,7 @@ Extra-Source-Files:
examples/test_client.hs examples/test_server.hs examples/time-xmlrpc-com.hs
examples/validate.hs examples/Makefile
Bug-reports: https://github.com/byorgey/haxr/issues
Tested-with: GHC ==8.4.4 || ==8.6.5 || ==8.8.3 || ==8.10.1 || ==9.0.1 || ==9.2.1
Tested-with: GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.1
Source-repository head
type: git
location: git://github.com/byorgey/haxr.git
@ -34,7 +33,7 @@ flag network-uri
default: True
Library
Build-depends: base >= 4.9 && < 4.17,
Build-depends: base >= 4.9 && < 4.18,
base-compat >= 0.8 && < 0.13,
mtl,
mtl-compat,