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 5f65f6a5be
commit e014586210
2 changed files with 70 additions and 3 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 string-conversions
@ -8,10 +8,10 @@
Name: ghc-%{pkg_name}
Version: 0.4.0.1
Release: 19%{?dist}
Release: 20%{?dist}
Summary: Simplifies dealing with different types for strings
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,10 +20,16 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-utf8-string-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-utf8-string-prof
%endif
# End cabal-rpm deps
%description
@ -106,6 +112,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.4.0.1-20
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.1-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -0,0 +1,58 @@
-- This file has been generated from package.yaml by hpack version 0.15.0.
--
-- see: https://github.com/sol/hpack
name: string-conversions
version: 0.4.0.1
x-revision: 1
synopsis: Simplifies dealing with different types for strings
description: Provides a simple type class for converting values of different string types into values of other string types.
license: BSD3
license-file: LICENSE
tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1, GHC == 8.0.1
author: Sönke Hahn
maintainer: soenkehahn@gmail.com
category: Data
homepage: https://github.com/soenkehahn/string-conversions#readme
bug-reports: https://github.com/soenkehahn/string-conversions/issues
build-type: Simple
cabal-version: >= 1.10
source-repository head
type: git
location: https://github.com/soenkehahn/string-conversions
library
hs-source-dirs:
src
default-language: Haskell2010
build-depends:
base == 4.*,
bytestring >= 0.9,
text >= 0.11,
utf8-string >= 0.3.1
exposed-modules:
Data.String.Conversions
Data.String.Conversions.Monomorphic
ghc-options: -Wall
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test,
src
build-depends:
base == 4.*,
bytestring >= 0.9,
text >= 0.11,
utf8-string >= 0.3.1,
hspec,
quickcheck-instances,
deepseq,
QuickCheck
other-modules:
Data.String.ConversionsSpec
Data.String.Conversions
Data.String.Conversions.Monomorphic
default-language: Haskell2010