Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-yesod-static for 
openSUSE:Factory checked in at 2026-06-22 17:44:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yesod-static (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-yesod-static.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-yesod-static"

Mon Jun 22 17:44:20 2026 rev:7 rq:1361111 version:1.6.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-yesod-static/ghc-yesod-static.changes        
2026-06-10 16:15:49.237078464 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-yesod-static.new.1956/ghc-yesod-static.changes  
    2026-06-22 17:44:55.026307429 +0200
@@ -1,0 +2,9 @@
+Tue Jun 16 20:33:50 UTC 2026 - Peter Simons <[email protected]>
+
+- Update yesod-static to version 1.6.1.3.
+  * Support `yesod-core` 1.7
+
+- Apply "support-modern-crypton-versions.patch" to support building
+  with crypton version 1.1.x.
+
+-------------------------------------------------------------------

Old:
----
  yesod-static-1.6.1.2.tar.gz

New:
----
  support-modern-crypton-versions.patch
  yesod-static-1.6.1.3.tar.gz

----------(New B)----------
  New:
- Apply "support-modern-crypton-versions.patch" to support building
  with crypton version 1.1.x.
----------(New E)----------

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

Other differences:
------------------
++++++ ghc-yesod-static.spec ++++++
--- /var/tmp/diff_new_pack.wE2oVH/_old  2026-06-22 17:44:56.042343040 +0200
+++ /var/tmp/diff_new_pack.wE2oVH/_new  2026-06-22 17:44:56.042343040 +0200
@@ -20,12 +20,13 @@
 %global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.6.1.2
+Version:        1.6.1.3
 Release:        0
 Summary:        Static file serving subsite for Yesod Web Framework
 License:        MIT
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Patch01:        
https://github.com/yesodweb/yesod/pull/1916.patch#/support-modern-crypton-versions.patch
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-async-devel
 BuildRequires:  ghc-async-prof
@@ -69,6 +70,8 @@
 BuildRequires:  ghc-mime-types-prof
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-process-prof
+BuildRequires:  ghc-ram-devel
+BuildRequires:  ghc-ram-prof
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
 BuildRequires:  ghc-template-haskell-prof
@@ -131,7 +134,8 @@
 This package provides the Haskell %{pkg_name} profiling library.
 
 %prep
-%autosetup -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version} -p 2
+cabal-tweak-dep-ver ram '< 0.22' '< 1'
 
 %build
 %ghc_lib_build

++++++ support-modern-crypton-versions.patch ++++++
>From db4217c941f1812524bc631c2553ab2e2b70a2dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Justus=20Sagem=C3=BCller?= <[email protected]>
Date: Mon, 20 Apr 2026 12:14:37 +0200
Subject: [PATCH] Compatibility with crypton-1.1.

That package has switched from `memory` to the fork `ram`
(https://github.com/kazu-yamamoto/crypton/commit/7912865682ad497edc04dae00ed215d8948ada30).
`yesod-static` still imported `Data.ByteArray` from `memory` though, leading
to a confusing error about a missing instance of `ByteArrayAccess (Digest 
MD5)`, because
`ByteArrayAccess` comes from `memory` but `crypton` only defines an instance of 
the
`ram` version of `ByteArrayAccess`.
---
 yesod-static/Yesod/Static.hs    | 7 ++++++-
 yesod-static/yesod-static.cabal | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/yesod-static/Yesod/Static.hs b/yesod-static/Yesod/Static.hs
index b9316e7bc..97d7b924e 100644
--- a/yesod-static/Yesod/Static.hs
+++ b/yesod-static/Yesod/Static.hs
@@ -7,6 +7,7 @@
 {-# LANGUAGE RecordWildCards #-}
 {-# LANGUAGE TemplateHaskell #-}
 {-# LANGUAGE TypeFamilies #-}
+{-# LANGUAGE PackageImports #-}
 ---------------------------------------------------------
 --
 -- | Serve static files from a Yesod app.
@@ -79,7 +80,11 @@ import Crypto.Hash.Conduit (hashFile, sinkHash)
 import Crypto.Hash (MD5, Digest)
 import Control.Monad.Trans.State
 
-import qualified Data.ByteArray as ByteArray
+#if MIN_VERSION_crypton(1,1,0)
+import qualified "ram" Data.ByteArray as ByteArray
+#else
+import qualified "memory" Data.ByteArray as ByteArray
+#endif
 import qualified Data.ByteString.Base64
 import qualified Data.ByteString.Char8 as S8
 import qualified Data.ByteString.Lazy as L
diff --git a/yesod-static/yesod-static.cabal b/yesod-static/yesod-static.cabal
index c0e639ae3..809741380 100644
--- a/yesod-static/yesod-static.cabal
+++ b/yesod-static/yesod-static.cabal
@@ -46,6 +46,7 @@ library
                    , hjsmin
                    , http-types            >= 0.7
                    , memory
+                   , ram                   >= 0.21 && < 0.22
                    , mime-types            >= 0.1
                    , process
                    , template-haskell

++++++ yesod-static-1.6.1.2.tar.gz -> yesod-static-1.6.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-static-1.6.1.2/ChangeLog.md 
new/yesod-static-1.6.1.3/ChangeLog.md
--- old/yesod-static-1.6.1.2/ChangeLog.md       2026-01-20 22:19:40.000000000 
+0100
+++ new/yesod-static-1.6.1.3/ChangeLog.md       2026-06-16 21:53:03.000000000 
+0200
@@ -1,5 +1,9 @@
 # ChangeLog for yesod-static
 
+## 1.6.1.3
+
+* Support `yesod-core` 1.7
+
 ## 1.6.1.2
 
 * Allow JavaScript MIME type used by `mime-types >= 0.1.2.1` in test suite 
[#1898](https://github.com/yesodweb/yesod/pull/1898)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-static-1.6.1.2/yesod-static.cabal 
new/yesod-static-1.6.1.3/yesod-static.cabal
--- old/yesod-static-1.6.1.2/yesod-static.cabal 2026-01-20 22:19:40.000000000 
+0100
+++ new/yesod-static-1.6.1.3/yesod-static.cabal 2026-06-16 21:53:03.000000000 
+0200
@@ -1,5 +1,5 @@
 name:            yesod-static
-version:         1.6.1.2
+version:         1.6.1.3
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <[email protected]>
@@ -55,7 +55,7 @@
                    , unordered-containers  >= 0.2
                    , wai                   >= 1.3
                    , wai-app-static        >= 3.1
-                   , yesod-core            >= 1.6      && < 1.7
+                   , yesod-core            >= 1.6      && < 1.8
 
     exposed-modules: Yesod.Static
                      Yesod.EmbeddedStatic

Reply via email to