From 4046232ceb662322321b61ccf9acda3c998ea120 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:57:12 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.6 --- ghc-text-short.spec | 14 +++----------- text-short-0.1.3.cabal | 8 ++++---- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/ghc-text-short.spec b/ghc-text-short.spec index c06685e..5cfca5b 100644 --- a/ghc-text-short.spec +++ b/ghc-text-short.spec @@ -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 diff --git a/text-short-0.1.3.cabal b/text-short-0.1.3.cabal index e0f5763..b46c850 100644 --- a/text-short-0.1.3.cabal +++ b/text-short-0.1.3.cabal @@ -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