Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-text-short for openSUSE:Factory 
checked in at 2023-04-04 21:23:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-text-short (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-text-short.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-text-short"

Tue Apr  4 21:23:48 2023 rev:10 rq:1076072 version:0.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-text-short/ghc-text-short.changes    
2022-10-13 15:43:25.306887448 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-text-short.new.19717/ghc-text-short.changes 
2023-04-04 21:24:08.590461856 +0200
@@ -1,0 +2,11 @@
+Thu Mar 30 17:08:34 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Sun Mar 12 15:24:58 UTC 2023 - Peter Simons <[email protected]>
+
+- Update text-short to version 0.1.5 revision 2.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-text-short.spec ++++++
--- /var/tmp/diff_new_pack.S9b5Vq/_old  2023-04-04 21:24:09.434466635 +0200
+++ /var/tmp/diff_new_pack.S9b5Vq/_new  2023-04-04 21:24:09.442466681 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-text-short
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %global pkg_name text-short
+%global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
 Version:        0.1.5
@@ -25,20 +26,31 @@
 License:        BSD-3-Clause
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-base-devel
+BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-binary-devel
+BuildRequires:  ghc-binary-prof
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-bytestring-prof
 BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-deepseq-prof
 BuildRequires:  ghc-hashable-devel
+BuildRequires:  ghc-hashable-prof
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
+BuildRequires:  ghc-template-haskell-prof
 BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-text-prof
 ExcludeArch:    %{ix86}
 %if %{with tests}
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-hunit-devel
+BuildRequires:  ghc-tasty-hunit-prof
+BuildRequires:  ghc-tasty-prof
 BuildRequires:  ghc-tasty-quickcheck-devel
+BuildRequires:  ghc-tasty-quickcheck-prof
 %endif
 
 %description
@@ -46,11 +58,11 @@
 short strings in memory. This is similiar to how 'ShortByteString' relates to
 'ByteString'.
 
-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' doesn't
+support zero-copy slicing (thereby saving 2 words), and, compared to text-1.*,
+that it uses UTF-8 instead of UTF-16 internally. 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.
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
@@ -62,6 +74,22 @@
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
+%package -n ghc-%{pkg_name}-doc
+Summary:        Haskell %{pkg_name} library documentation
+Requires:       ghc-filesystem
+BuildArch:      noarch
+
+%description -n ghc-%{pkg_name}-doc
+This package provides the Haskell %{pkg_name} library documentation.
+
+%package -n ghc-%{pkg_name}-prof
+Summary:        Haskell %{pkg_name} profiling library
+Requires:       ghc-%{pkg_name}-devel = %{version}-%{release}
+Supplements:    (ghc-%{pkg_name}-devel and ghc-prof)
+
+%description -n ghc-%{pkg_name}-prof
+This package provides the Haskell %{pkg_name} profiling library.
+
 %prep
 %autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
@@ -87,4 +115,9 @@
 %files devel -f %{name}-devel.files
 %doc ChangeLog.md
 
+%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%license LICENSE
+
+%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+
 %changelog

++++++ text-short.cabal ++++++
--- /var/tmp/diff_new_pack.S9b5Vq/_old  2023-04-04 21:24:09.490466953 +0200
+++ /var/tmp/diff_new_pack.S9b5Vq/_new  2023-04-04 21:24:09.494466975 +0200
@@ -1,7 +1,7 @@
 cabal-version:      1.18
 name:               text-short
 version:            0.1.5
-x-revision:         1
+x-revision:         2
 synopsis:           Memory-efficient representation of Unicode text strings
 license:            BSD3
 license-file:       LICENSE
@@ -13,7 +13,7 @@
 description:
   This package provides the 'ShortText' type which is suitable for keeping 
many short strings in memory. This is similiar to how 'ShortByteString' relates 
to 'ByteString'.
   .
-  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' 
doesn't support zero-copy slicing (thereby saving 2 words), and, compared to 
text-1.*, that it uses UTF-8 instead of UTF-16 internally. 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 ==7.8.4
@@ -25,8 +25,9 @@
    || ==8.8.3
    || ==8.10.7
    || ==9.0.2
-   || ==9.2.4
-   || ==9.4.2
+   || ==9.2.7
+   || ==9.4.4
+   || ==9.6.1
 
 extra-source-files: ChangeLog.md
 
@@ -47,13 +48,13 @@
 
   other-modules:    Data.Text.Short.Internal
   build-depends:
-      base              >=4.7     && <4.18
+      base              >=4.7     && <4.19
     , binary            >=0.7.1   && <0.9
     , bytestring        >=0.10.4  && <0.12
     , deepseq           >=1.3     && <1.5
-    , ghc-prim          >=0.3.1   && <0.10
+    , ghc-prim          >=0.3.1   && <0.11
     , hashable          >=1.2.6   && <1.5
-    , template-haskell  >=2.9.0.0 && <2.20
+    , template-haskell  >=2.9.0.0 && <2.21
     , text              >=1.0     && <1.3 || >=2.0 && <2.1
 
   if impl(ghc >=8.0)

Reply via email to