refresh to cabal-rpm-2.0.6

This commit is contained in:
Jens Petersen 2020-06-19 16:57:12 +08:00
parent 1d4910f740
commit 4046232ceb
2 changed files with 7 additions and 15 deletions

View File

@ -1,9 +1,11 @@
# generated by cabal-rpm-2.0.5
# generated by cabal-rpm-2.0.6
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name text-short
%global pkgver %{pkg_name}-%{version}
# testsuite missing deps: quickcheck-instances
Name: ghc-%{pkg_name}
Version: 0.1.3
Release: 1%{?dist}
@ -92,16 +94,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm install
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE

View File

@ -2,7 +2,7 @@ cabal-version: 1.18
name: text-short
version: 0.1.3
x-revision: 1
x-revision: 2
synopsis: Memory-efficient representation of Unicode text strings
license: BSD3
license-file: LICENSE
@ -15,7 +15,7 @@ description: This package provides the 'ShortText' type which is suitabl
.
The main difference between 'Text' and 'ShortText' is that 'ShortText' uses UTF-8 instead of UTF-16 internally and also doesn't support zero-copy slicing (thereby saving 2 words). Consequently, the memory footprint of a (boxed) 'ShortText' value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload.
tested-with: GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4
tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4
extra-source-files: ChangeLog.md
Source-Repository head
@ -34,13 +34,13 @@ library
other-modules: Data.Text.Short.Internal
build-depends: base >= 4.7 && < 4.14
build-depends: base >= 4.7 && < 4.15
, bytestring >= 0.10.4 && < 0.11
, hashable >= 1.2.6 && < 1.4
, deepseq >= 1.3 && < 1.5
, text >= 1.0 && < 1.3
, binary >= 0.7.1 && < 0.9
, ghc-prim >= 0.3.1 && < 0.6
, ghc-prim >= 0.3.1 && < 0.7
if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.18.2 && < 0.20