refresh to cabal-rpm-2.0.6
This commit is contained in:
parent
1d4910f740
commit
4046232ceb
@ -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/
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name text-short
|
%global pkg_name text-short
|
||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
# testsuite missing deps: quickcheck-instances
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.1.3
|
Version: 0.1.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -92,16 +94,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
|||||||
# End cabal-rpm install
|
# 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
|
%files -f %{name}.files
|
||||||
# Begin cabal-rpm files:
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@ -2,7 +2,7 @@ cabal-version: 1.18
|
|||||||
|
|
||||||
name: text-short
|
name: text-short
|
||||||
version: 0.1.3
|
version: 0.1.3
|
||||||
x-revision: 1
|
x-revision: 2
|
||||||
synopsis: Memory-efficient representation of Unicode text strings
|
synopsis: Memory-efficient representation of Unicode text strings
|
||||||
license: BSD3
|
license: BSD3
|
||||||
license-file: LICENSE
|
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.
|
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
|
extra-source-files: ChangeLog.md
|
||||||
|
|
||||||
Source-Repository head
|
Source-Repository head
|
||||||
@ -34,13 +34,13 @@ library
|
|||||||
|
|
||||||
other-modules: Data.Text.Short.Internal
|
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
|
, bytestring >= 0.10.4 && < 0.11
|
||||||
, hashable >= 1.2.6 && < 1.4
|
, hashable >= 1.2.6 && < 1.4
|
||||||
, deepseq >= 1.3 && < 1.5
|
, deepseq >= 1.3 && < 1.5
|
||||||
, text >= 1.0 && < 1.3
|
, text >= 1.0 && < 1.3
|
||||||
, binary >= 0.7.1 && < 0.9
|
, 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)
|
if !impl(ghc >= 8.0)
|
||||||
build-depends: semigroups >= 0.18.2 && < 0.20
|
build-depends: semigroups >= 0.18.2 && < 0.20
|
||||||
|
Loading…
Reference in New Issue
Block a user