Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hslua-module-zip for
openSUSE:Factory checked in at 2026-06-10 16:01:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-module-zip (Old)
and /work/SRC/openSUSE:Factory/.ghc-hslua-module-zip.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslua-module-zip"
Wed Jun 10 16:01:50 2026 rev:8 rq:1358389 version:1.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-hslua-module-zip/ghc-hslua-module-zip.changes
2025-10-18 14:37:58.638826962 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-hslua-module-zip.new.2375/ghc-hslua-module-zip.changes
2026-06-10 16:04:19.576498704 +0200
@@ -1,0 +2,9 @@
+Tue Jan 13 08:08:11 UTC 2026 - Peter Simons <[email protected]>
+
+- Update hslua-module-zip to version 1.2.1.
+ Upstream has edited the change log file since the last release in
+ a non-trivial way, i.e. they did more than just add a new entry
+ at the top. You can review the file at:
+ http://hackage.haskell.org/package/hslua-module-zip-1.2.1/src/CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
hslua-module-zip-1.1.4.tar.gz
hslua-module-zip.cabal
New:
----
hslua-module-zip-1.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hslua-module-zip.spec ++++++
--- /var/tmp/diff_new_pack.gE66i5/_old 2026-06-10 16:04:23.176647896 +0200
+++ /var/tmp/diff_new_pack.gE66i5/_new 2026-06-10 16:04:23.192648559 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-hslua-module-zip
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.1.4
+Version: 1.2.1
Release: 0
Summary: Lua module to work with file zips
License: MIT
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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
@@ -38,8 +37,6 @@
BuildRequires: ghc-hslua-marshalling-prof
BuildRequires: ghc-hslua-packaging-devel
BuildRequires: ghc-hslua-packaging-prof
-BuildRequires: ghc-hslua-typing-devel
-BuildRequires: ghc-hslua-typing-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
@@ -92,7 +89,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ hslua-module-zip-1.1.4.tar.gz -> hslua-module-zip-1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-zip-1.1.4/CHANGELOG.md
new/hslua-module-zip-1.2.1/CHANGELOG.md
--- old/hslua-module-zip-1.1.4/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/hslua-module-zip-1.2.1/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -2,11 +2,26 @@
`hslua-module-zips` uses [PVP Versioning][].
+## hslua-module-zip-1.2.1
+
+Released 2026-01-13.
+
+- Export the Lua module's `description` as `Text`. This makes it
+ easier to define a custom module.
+
+## hslua-module-zip-1.2.0
+
+Released 2026-01-08
+
+- Require hslua-packaging-2.4.
+
+- Allowed time-1.15.
+
## hslua-module-zip-1.1.4
Released 2025-06-23.
-- Allowed time-1.4.
+- Allowed time-1.14.
## hslua-module-zip-1.1.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-zip-1.1.4/LICENSE
new/hslua-module-zip-1.2.1/LICENSE
--- old/hslua-module-zip-1.1.4/LICENSE 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-module-zip-1.2.1/LICENSE 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
MIT License
-Copyright © 2020-2024 Albert Krewinkel
+Copyright © 2020-2026 Albert Krewinkel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-zip-1.1.4/hslua-module-zip.cabal
new/hslua-module-zip-1.2.1/hslua-module-zip.cabal
--- old/hslua-module-zip-1.1.4/hslua-module-zip.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-zip-1.2.1/hslua-module-zip.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: hslua-module-zip
-version: 1.1.4
+version: 1.2.1
synopsis: Lua module to work with file zips.
description: Module with function for creating, modifying, and
extracting files from zip archives.
@@ -10,21 +10,16 @@
license-file: LICENSE
author: Albert Krewinkel
maintainer: Albert Krewinkel <[email protected]>
-copyright: © 2020-2025 Albert Krewinkel
+copyright: © 2020-2026 Albert Krewinkel
category: Foreign
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
extra-source-files: test/test-zip.lua
-tested-with: GHC == 8.8.4
- , GHC == 8.10.7
- , GHC == 9.0.2
- , GHC == 9.2.8
- , GHC == 9.4.8
- , GHC == 9.6.7
- , GHC == 9.8.4
- , GHC == 9.10.2
- , GHC == 9.12.2
+tested-with: GHC == 9.6
+ , GHC == 9.8
+ , GHC == 9.10
+ , GHC == 9.12
source-repository head
type: git
@@ -34,7 +29,7 @@
common common-options
build-depends: base >= 4.11 && < 5
, hslua-core >= 2.3 && < 2.4
- , hslua-packaging >= 2.3 && < 2.4
+ , hslua-packaging >= 2.4 && < 2.5
ghc-options: -Wall
-Wcpp-undef
@@ -62,9 +57,8 @@
build-depends:
, hslua-list >= 1.1 && < 1.2
, hslua-marshalling >= 2.3 && < 2.4
- , hslua-typing >= 0.1 && < 0.2
, text >= 1.2 && < 2.2
- , time >= 1.5 && < 1.15
+ , time >= 1.5 && < 1.16
, zip-archive >= 0.4 && < 0.5
test-suite hslua-module-zip-test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-zip-1.1.4/src/HsLua/Module/Zip.hs
new/hslua-module-zip-1.2.1/src/HsLua/Module/Zip.hs
--- old/hslua-module-zip-1.1.4/src/HsLua/Module/Zip.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-zip-1.2.1/src/HsLua/Module/Zip.hs 2001-09-09
03:46:40.000000000 +0200
@@ -5,7 +5,7 @@
{-# LANGUAGE TypeApplications #-}
{-|
Module : HsLua.Module.Zip
-Copyright : © 2022-2024 Albert Krewinkel
+Copyright : © 2022-2026 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
@@ -14,6 +14,7 @@
module HsLua.Module.Zip (
-- * Module
documentedModule
+ , description
-- * Zip archives
, typeArchive
@@ -58,7 +59,6 @@
, pushLazyByteString, pushList, pushIntegral, pushString
, retrieving, typeMismatchMessage )
import HsLua.Packaging
-import HsLua.Typing
import qualified Codec.Archive.Zip as Zip
import qualified Data.Text as T
@@ -71,30 +71,10 @@
-- | The @zip@ module specification.
documentedModule :: forall e. LuaError e => Module e
-documentedModule = Module
- { moduleName = "zip"
- , moduleDescription = T.unlines
- [ "Functions to create, modify, and extract files from zip archives."
- , ""
- , "The module can be called as a function, in which case it behaves"
- , "like the `zip` function described below."
- , ""
- , "Zip options are optional; when defined, they must be a table with"
- , "any of the following keys:"
- , ""
- , " - `recursive`: recurse directories when set to `true`;"
- , " - `verbose`: print info messages to stdout;"
- , " - `destination`: the value specifies the directory in which to"
- , " extract;"
- , " - `location`: value is used as path name, defining where files"
- , " are placed."
- , " - `preserve_symlinks`: Boolean value, controlling whether"
- , " symbolic links are preserved as such. This option is ignored"
- , " on Windows."
- ]
- , moduleFields = fields
- , moduleFunctions = functions
- , moduleOperations =
+documentedModule = defmodule "zip"
+ `withDescription` description
+ `withFunctions` functions
+ `withOperations`
[ operation Call $ lambda
### (do
-- call function `zip`
@@ -105,26 +85,36 @@
pure (NumResults 1))
=?> "new Archive"
]
- , moduleTypeInitializers =
- [ initType typeArchive
- , initType typeEntry
- ]
- }
+ `associateType` typeArchive
+ `associateType` typeEntry
+
+-- | Textual description of this module; to be used for live documentation.
+description :: T.Text
+description = T.unlines
+ [ "Functions to create, modify, and extract files from zip archives."
+ , ""
+ , "The module can be called as a function, in which case it behaves"
+ , "like the `zip` function described below."
+ , ""
+ , "Zip options are optional; when defined, they must be a table with"
+ , "any of the following keys:"
+ , ""
+ , " - `recursive`: recurse directories when set to `true`;"
+ , " - `verbose`: print info messages to stdout;"
+ , " - `destination`: the value specifies the directory in which to"
+ , " extract;"
+ , " - `location`: value is used as path name, defining where files"
+ , " are placed."
+ , " - `preserve_symlinks`: Boolean value, controlling whether"
+ , " symbolic links are preserved as such. This option is ignored"
+ , " on Windows."
+ ]
-- | First published version of this library.
initialVersion :: Version
initialVersion = makeVersion [1,0,0]
--
--- Fields
---
-
--- | Exported fields.
-fields :: [Field e]
-fields = []
-
-
---
-- Functions
--
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-zip-1.1.4/test/test-hslua-module-zip.hs
new/hslua-module-zip-1.2.1/test/test-hslua-module-zip.hs
--- old/hslua-module-zip-1.1.4/test/test-hslua-module-zip.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-zip-1.2.1/test/test-hslua-module-zip.hs 2001-09-09
03:46:40.000000000 +0200
@@ -2,7 +2,7 @@
{-# LANGUAGE TypeApplications #-}
{-|
Module : Main
-Copyright : © 2021-2024 Albert Krewinkel
+Copyright : © 2021-2026 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
Stability : stable