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 80fb337d3c
commit 48f64274fe
2 changed files with 93 additions and 83 deletions

View File

@ -1,80 +1,81 @@
Name: blaze-markup
Version: 0.8.2.8
x-revision: 2
Homepage: http://jaspervdj.be/blaze
Bug-Reports: http://github.com/jaspervdj/blaze-markup/issues
License: BSD3
License-file: LICENSE
Author: Jasper Van der Jeugt, Simon Meier, Deepak Jois
Maintainer: Jasper Van der Jeugt <m@jaspervdj.be>
Stability: Experimental
Category: Text
Synopsis: A blazingly fast markup combinator library for Haskell
Description:
Core modules of a blazingly fast markup combinator library for the Haskell
programming language. The Text.Blaze module is a good
starting point, as well as this tutorial:
<http://jaspervdj.be/blaze/tutorial.html>.
Build-type: Simple
Cabal-version: >= 1.10
Tested-with: GHC == 7.8.4, GHC == 7.10.3,
GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4,
GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.4,
GHC == 9.0.1, GHC == 9.2.1
Extra-source-files:
CHANGELOG
Library
Hs-source-dirs: src
Ghc-Options: -Wall
Default-language: Haskell2010
Exposed-modules:
Text.Blaze
Text.Blaze.Internal
Text.Blaze.Renderer.Pretty
Text.Blaze.Renderer.String
Text.Blaze.Renderer.Text
Text.Blaze.Renderer.Utf8
Build-depends:
base >= 4 && < 4.17,
blaze-builder >= 0.3 && < 0.5,
text >= 0.10 && < 2.1,
bytestring >= 0.9 && < 0.12
Test-suite blaze-markup-tests
Type: exitcode-stdio-1.0
Hs-source-dirs: src tests
Main-is: TestSuite.hs
Ghc-options: -Wall
Default-language: Haskell2010
Other-modules:
Text.Blaze
Text.Blaze.Internal
Text.Blaze.Renderer.Pretty
Text.Blaze.Renderer.String
Text.Blaze.Renderer.Text
Text.Blaze.Renderer.Utf8
Text.Blaze.Tests
Text.Blaze.Tests.Util
Build-depends:
HUnit >= 1.2 && < 1.7,
QuickCheck >= 2.7 && < 2.15,
containers >= 0.3 && < 0.7,
tasty >= 1.0 && < 1.5,
tasty-hunit >= 0.10 && < 0.11,
tasty-quickcheck >= 0.10 && < 0.11,
-- Copied from regular dependencies...
base >= 4 && < 4.17,
blaze-builder >= 0.3 && < 0.5,
text >= 0.10 && < 2.1,
bytestring >= 0.9 && < 0.12
Source-repository head
Type: git
Location: http://github.com/jaspervdj/blaze-markup
Name: blaze-markup
Version: 0.8.2.8
x-revision: 3
Homepage: http://jaspervdj.be/blaze
Bug-Reports: http://github.com/jaspervdj/blaze-markup/issues
License: BSD3
License-file: LICENSE
Author: Jasper Van der Jeugt, Simon Meier, Deepak Jois
Maintainer: Jasper Van der Jeugt <m@jaspervdj.be>
Stability: Experimental
Category: Text
Synopsis: A blazingly fast markup combinator library for Haskell
Description:
Core modules of a blazingly fast markup combinator library for the Haskell
programming language. The Text.Blaze module is a good
starting point, as well as this tutorial:
<http://jaspervdj.be/blaze/tutorial.html>.
Build-type: Simple
Cabal-version: >= 1.10
Tested-with: GHC == 7.8.4, GHC == 7.10.3,
GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4,
GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7,
GHC == 9.0.2, GHC == 9.2.4, GHC == 9.4.1
Extra-source-files:
CHANGELOG
Library
Hs-source-dirs: src
Ghc-Options: -Wall
Default-language: Haskell2010
Exposed-modules:
Text.Blaze
Text.Blaze.Internal
Text.Blaze.Renderer.Pretty
Text.Blaze.Renderer.String
Text.Blaze.Renderer.Text
Text.Blaze.Renderer.Utf8
Build-depends:
base >= 4 && < 4.18,
blaze-builder >= 0.3 && < 0.5,
text >= 0.10 && < 2.1,
bytestring >= 0.9 && < 0.12
Test-suite blaze-markup-tests
Type: exitcode-stdio-1.0
Hs-source-dirs: src tests
Main-is: TestSuite.hs
Ghc-options: -Wall
Default-language: Haskell2010
Other-modules:
Text.Blaze
Text.Blaze.Internal
Text.Blaze.Renderer.Pretty
Text.Blaze.Renderer.String
Text.Blaze.Renderer.Text
Text.Blaze.Renderer.Utf8
Text.Blaze.Tests
Text.Blaze.Tests.Util
Build-depends:
-- Copied from regular dependencies...
base
, blaze-builder
, text
, bytestring
-- Extra dependencies
, HUnit >= 1.2 && < 1.7
, QuickCheck >= 2.7 && < 2.15
, containers >= 0.3 && < 0.7
, tasty >= 1.0 && < 1.5
, tasty-hunit >= 0.10 && < 0.11
, tasty-quickcheck >= 0.10 && < 0.11
Source-repository head
Type: git
Location: http://github.com/jaspervdj/blaze-markup

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 blaze-markup
@ -8,10 +8,10 @@
Name: ghc-%{pkg_name}
Version: 0.8.2.8
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A blazingly fast markup combinator library for Haskell
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
@ -22,10 +22,16 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-text-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-blaze-builder-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-text-prof
%endif
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
@ -124,6 +130,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.8.2.8-5
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild