Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-hslua-module-system for 
openSUSE:Factory checked in at 2022-02-11 23:09:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-module-system (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hslua-module-system.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hslua-module-system"

Fri Feb 11 23:09:06 2022 rev:8 rq:953477 version:1.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-hslua-module-system/ghc-hslua-module-system.changes
  2021-11-11 21:36:47.636904928 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-hslua-module-system.new.1956/ghc-hslua-module-system.changes
        2022-02-11 23:11:00.407223157 +0100
@@ -1,0 +2,9 @@
+Sun Jan 30 07:17:44 UTC 2022 - Peter Simons <[email protected]>
+
+- Update hslua-module-system to version 1.0.1 revision 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-system-1.0.1/src/CHANGELOG.md
+
+-------------------------------------------------------------------

Old:
----
  hslua-module-system-1.0.0.tar.gz

New:
----
  hslua-module-system-1.0.1.tar.gz
  hslua-module-system.cabal

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

Other differences:
------------------
++++++ ghc-hslua-module-system.spec ++++++
--- /var/tmp/diff_new_pack.uoznWn/_old  2022-02-11 23:11:00.831224383 +0100
+++ /var/tmp/diff_new_pack.uoznWn/_new  2022-02-11 23:11:00.835224395 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hslua-module-system
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,13 @@
 %global pkg_name hslua-module-system
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.0.0
+Version:        1.0.1
 Release:        0
 Summary:        Lua module wrapper around Haskell's System module
 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-directory-devel
 BuildRequires:  ghc-exceptions-devel
@@ -61,6 +62,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ hslua-module-system-1.0.0.tar.gz -> hslua-module-system-1.0.1.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-module-system-1.0.0/CHANGELOG.md 
new/hslua-module-system-1.0.1/CHANGELOG.md
--- old/hslua-module-system-1.0.0/CHANGELOG.md  2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-module-system-1.0.1/CHANGELOG.md  2001-09-09 03:46:40.000000000 
+0200
@@ -1,56 +1,78 @@
-# Revision history for hslua-module-system
+# Changelog
 
-## 1.0.0
+`hslua-module-system` uses [PVP Versioning][].
 
-Release pending.
+## hslua-module-system-1.0.1
 
-- Use hslua 2.0.
+Released 29-01-2022.
 
-## 0.2.2.1 -- 2020-10-16
+-   Relaxed upper bound of hslua-core, hslua-marshalling, and
+    hslua-packaging, allowing their respective version 2.1.
 
-- Relaxed upper bound for hslua, allow `hslua-1.3.*`.
+## hslua-module-system-1.0.0
 
-## 0.2.2 -- 2020-08-15
+Released 2021-10-21.
 
-- Relaxed upper bound for hslua, allow `hslua-1.2.*`.
-- Improved documentation of internal types.
-- Use tasty-lua for unit tests.
-- Update CI to test with all GHC versions.
+-   Use hslua 2.0.
 
-## 0.2.1 -- 2019-05-04
+## hslua-module-system-0.2.2.1
 
-- Use module helpers made available with HsLua 1.0.3. This avoids
-  code duplication when used with other hslua modules.
+Released 2020-10-16.
 
-## 0.2.0 -- 2019-05-01
+-   Relaxed upper bound for hslua, allow `hslua-1.3.*`.
+
+## hslua-module-system-0.2.2
+
+Released 2020-08-15.
+
+-   Relaxed upper bound for hslua, allow `hslua-1.2.*`.
+-   Improved documentation of internal types.
+-   Use tasty-lua for unit tests.
+-   Update CI to test with all GHC versions.
+
+## hslua-module-system-0.2.1
+
+Released 2019-05-04.
+
+-   Use module helpers made available with HsLua 1.0.3. This
+    avoids code duplication when used with other hslua modules.
+
+## hslua-module-system-0.2.0
+
+Released 2019-05-01.
 
 All fields and functions are now exported from the Haskell module
 under the same name as that used in Lua.
 
 ### New fields
 
-- `arch`: processor architecture.
-- `compiler_name`: Haskell compiler that was used to compile the module.
-- `compiler_version`: version of the compiler.
-- `os`: operating system.
+-   `arch`: processor architecture.
+-   `compiler_name`: Haskell compiler that was used to compile the
+    module.
+-   `compiler_version`: version of the compiler.
+-   `os`: operating system.
 
 ### New functions
 
-- `mkdir`: create a new directory.
-- `rmdir`: remove a directory.
-- `with_env`: perform action with custom environment.
-- `with_wd`: perform action in another directory.
+-   `mkdir`: create a new directory.
+-   `rmdir`: remove a directory.
+-   `with_env`: perform action with custom environment.
+-   `with_wd`: perform action in another directory.
 
 ### Removed or renamed functions
 
-- `currentdir` was renamed to `getwd`.
-- `chdir` was renamed to `setwd`.
-- `pwd` was removed.
+-   `currentdir` was renamed to `getwd`.
+-   `chdir` was renamed to `setwd`.
+-   `pwd` was removed.
 
 ### Misc
 
-- Fix typos and copy-paste errors in docs, tests.
+-   Fix typos and copy-paste errors in docs, tests.
+
+## hslua-module-system-0.1.0
+
+Released 2019-04-26.
 
-## 0.1.0 -- 2019-04-26
+-   First version. Released on an unsuspecting world.
 
-- First version. Released on an unsuspecting world.
+  [PVP Versioning]: https://pvp.haskell.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-module-system-1.0.0/LICENSE 
new/hslua-module-system-1.0.1/LICENSE
--- old/hslua-module-system-1.0.0/LICENSE       2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-module-system-1.0.1/LICENSE       2001-09-09 03:46:40.000000000 
+0200
@@ -1,4 +1,4 @@
-Copyright (c) 2019-2021 Albert Krewinkel
+Copyright (c) 2019-2022 Albert Krewinkel
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-module-system-1.0.0/hslua-module-system.cabal 
new/hslua-module-system-1.0.1/hslua-module-system.cabal
--- old/hslua-module-system-1.0.0/hslua-module-system.cabal     2001-09-09 
03:46:40.000000000 +0200
+++ new/hslua-module-system-1.0.1/hslua-module-system.cabal     2001-09-09 
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                hslua-module-system
-version:             1.0.0
+version:             1.0.1
 synopsis:            Lua module wrapper around Haskell's System module.
 
 description:         Provides access to system information and
@@ -15,7 +15,7 @@
 license-file:        LICENSE
 author:              Albert Krewinkel
 maintainer:          [email protected]
-copyright:           ?? 2019-2021 Albert Krewinkel <[email protected]>
+copyright:           ?? 2019-2022 Albert Krewinkel <[email protected]>
 category:            Foreign
 extra-source-files:  CHANGELOG.md
                    , test/test-system.lua
@@ -24,8 +24,9 @@
                    , GHC == 8.4.4
                    , GHC == 8.6.5
                    , GHC == 8.8.3
-                   , GHC == 8.10.4
+                   , GHC == 8.10.7
                    , GHC == 9.0.1
+                   , GHC == 9.2.1
 
 source-repository head
   type:              git
@@ -35,9 +36,9 @@
 common common-options
   default-language:    Haskell2010
   build-depends:       base                 >= 4.8    && < 5
-                     , hslua-core           >= 2.0    && < 2.1
-                     , hslua-packaging      >= 2.0    && < 2.1
-                     , text                 >= 1.0    && < 1.3
+                     , hslua-core           >= 2.0    && < 2.2
+                     , hslua-packaging      >= 2.0    && < 2.2
+                     , text                 >= 1.2    && < 2.1
   default-extensions:  LambdaCase
                      , OverloadedStrings
   ghc-options:         -Wall
@@ -57,9 +58,8 @@
   import:              common-options
   build-depends:       directory            >= 1.3    && < 1.4
                      , exceptions           >= 0.8    && < 0.11
-                     , hslua-marshalling    >= 2.0    && < 2.1
+                     , hslua-marshalling    >= 2.0    && < 2.2
                      , temporary            >= 1.2    && < 1.4
-                     , text                 >= 1.0    && < 1.3
   exposed-modules:     HsLua.Module.System
   other-modules:       HsLua.Module.SystemUtils
   hs-source-dirs:      src
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-module-system-1.0.0/src/HsLua/Module/System.hs 
new/hslua-module-system-1.0.1/src/HsLua/Module/System.hs
--- old/hslua-module-system-1.0.0/src/HsLua/Module/System.hs    2001-09-09 
03:46:40.000000000 +0200
+++ new/hslua-module-system-1.0.1/src/HsLua/Module/System.hs    2001-09-09 
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 {-|
 Module      : HsLua.Module.System
-Copyright   : ?? 2019-2021 Albert Krewinkel
+Copyright   : ?? 2019-2022 Albert Krewinkel
 License     : MIT
 Maintainer  : Albert Krewinkel <[email protected]>
 Stability   : alpha
@@ -161,9 +161,9 @@
 ls :: LuaError e => DocumentedFunction e
 ls = defun "ls"
   ### ioToLua . Directory.listDirectory . fromMaybe "."
-  <#> optionalParameter peekFilePath "string" "directory"
-        ("Path of the directory whose contents should be listed. "
-         `T.append` "Defaults to `.`.")
+  <#> opt (stringParam "directory"
+           ("Path of the directory whose contents should be listed. "
+            `T.append` "Defaults to `.`."))
   =#> functionResult (pushList pushString) "table"
         ("A table of all entries in `directory`, except for the "
           `T.append` "special entries (`.`  and `..`).")
@@ -182,10 +182,8 @@
          if createParent == Just True
          then ioToLua (Directory.createDirectoryIfMissing True fp)
          else ioToLua (Directory.createDirectory fp))
-  <#> parameter peekFilePath "string" "dirname"
-        "name of the new directory"
-  <#> optionalParameter peekBool "boolean" "create_parent"
-        "create parent directory if necessary"
+  <#> filepathParam "dirname" "name of the new directory"
+  <#> opt (boolParam "create_parent" "create parent directory if necessary")
   =#> []
   #? T.concat
        [ "Create a new directory which is initially empty, or as near "
@@ -207,8 +205,7 @@
          then ioToLua (Directory.removeDirectoryRecursive fp)
          else ioToLua (Directory.removeDirectory fp))
   <#> filepathParam "dirname" "name of the directory to delete"
-  <#> optionalParameter peekBool "boolean" "recursive"
-        "delete content recursively"
+  <#> opt (boolParam "recursive" "delete content recursively")
   =#> []
   #?("Remove an existing, empty directory. If `recursive` is given, "
      `T.append` "then delete the directory and its contents recursively.")
@@ -322,7 +319,7 @@
          , "parameter is omitted, the system's canonical temporary "
          , "directory is used."
          ])
-  <#> parameter peekString "string" "templ" "Directory name template."
+  <#> stringParam "templ" "Directory name template."
   <#> parameter peekCallback "function" "callback"
         ("Function which takes the name of the temporary directory as "
          `T.append` "its first argument.")
@@ -344,23 +341,11 @@
 -- Parameters
 --
 
--- | Retrieves a file path from the stack.
-peekFilePath :: Peeker e FilePath
-peekFilePath = peekString
-
 -- | Filepath function parameter.
 filepathParam :: Text  -- ^ name
               -> Text  -- ^ description
               -> Parameter e FilePath
-filepathParam name description = Parameter
-  { parameterPeeker = peekFilePath
-  , parameterDoc = ParameterDoc
-    { parameterName = name
-    , parameterType = "string"
-    , parameterDescription = description
-    , parameterIsOptional = False
-    }
-  }
+filepathParam = stringParam
 
 -- | Result of a function returning a file path.
 filepathResult :: Text -- ^ Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hslua-module-system-1.0.0/src/HsLua/Module/SystemUtils.hs 
new/hslua-module-system-1.0.1/src/HsLua/Module/SystemUtils.hs
--- old/hslua-module-system-1.0.0/src/HsLua/Module/SystemUtils.hs       
2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-module-system-1.0.1/src/HsLua/Module/SystemUtils.hs       
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 {-|
 Module      : HsLua.Module.SystemUtils
-Copyright   : ?? 2019-2021 Albert Krewinkel
+Copyright   : ?? 2019-2022 Albert Krewinkel
 License     : MIT
 Maintainer  : Albert Krewinkel <[email protected]>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hslua-module-system-1.0.0/test/test-hslua-module-system.hs 
new/hslua-module-system-1.0.1/test/test-hslua-module-system.hs
--- old/hslua-module-system-1.0.0/test/test-hslua-module-system.hs      
2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-module-system-1.0.1/test/test-hslua-module-system.hs      
2001-09-09 03:46:40.000000000 +0200
@@ -2,7 +2,7 @@
 {-# LANGUAGE TypeApplications  #-}
 {-|
 Module      : Main
-Copyright   : ?? 2019-2021 Albert Krewinkel
+Copyright   : ?? 2019-2022 Albert Krewinkel
 License     : MIT
 Maintainer  : Albert Krewinkel <[email protected]>
 Stability   : alpha

++++++ hslua-module-system.cabal ++++++
cabal-version:       2.2
name:                hslua-module-system
version:             1.0.1
x-revision: 1
synopsis:            Lua module wrapper around Haskell's System module.

description:         Provides access to system information and
                     functionality to Lua scripts via Haskell's `System`
                     module.
                     .
                     This package is part of HsLua, a Haskell framework
                     built around the embeddable scripting language
                     <https://lua.org Lua>.
homepage:            https://github.com/hslua/hslua
license:             MIT
license-file:        LICENSE
author:              Albert Krewinkel
maintainer:          [email protected]
copyright:           ?? 2019-2022 Albert Krewinkel <[email protected]>
category:            Foreign
extra-source-files:  CHANGELOG.md
                   , test/test-system.lua
tested-with:         GHC == 8.0.2
                   , GHC == 8.2.2
                   , GHC == 8.4.4
                   , GHC == 8.6.5
                   , GHC == 8.8.3
                   , GHC == 8.10.7
                   , GHC == 9.0.1
                   , GHC == 9.2.1

source-repository head
  type:              git
  location:          https://github.com/hslua/hslua.git
  subdir:            hslua-module-system

common common-options
  default-language:    Haskell2010
  build-depends:       base                 >= 4.8    && < 5
                     , hslua-core           >= 2.1    && < 2.2
                     , hslua-packaging      >= 2.1    && < 2.2
                     , text                 >= 1.2    && < 2.1
  default-extensions:  LambdaCase
                     , OverloadedStrings
  ghc-options:         -Wall
                       -Wincomplete-record-updates
                       -Wnoncanonical-monad-instances
                       -Wredundant-constraints
  if impl(ghc >= 8.2)
    ghc-options:         -Wcpp-undef
                         -Werror=missing-home-modules
  if impl(ghc >= 8.4)
    ghc-options:         -Widentities
                         -Wincomplete-uni-patterns
                         -Wpartial-fields
                         -fhide-source-paths

library
  import:              common-options
  build-depends:       directory            >= 1.3    && < 1.4
                     , exceptions           >= 0.8    && < 0.11
                     , hslua-marshalling    >= 2.1    && < 2.2
                     , temporary            >= 1.2    && < 1.4
  exposed-modules:     HsLua.Module.System
  other-modules:       HsLua.Module.SystemUtils
  hs-source-dirs:      src

test-suite test-hslua-module-system
  import:              common-options
  type:                exitcode-stdio-1.0
  main-is:             test-hslua-module-system.hs
  hs-source-dirs:      test
  build-depends:       hslua-module-system
                     , tasty                >= 0.11
                     , tasty-hunit          >= 0.9
                     , tasty-lua            >= 1.0    && < 1.1
                     , text

Reply via email to