diff --git a/ghc-hslua-module-system.changes b/ghc-hslua-module-system.changes index 6e27a11..63c49ae 100644 --- a/ghc-hslua-module-system.changes +++ b/ghc-hslua-module-system.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Jan 30 07:17:44 UTC 2022 - Peter Simons + +- 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 + ------------------------------------------------------------------- Mon Nov 1 08:48:28 UTC 2021 - psimons@suse.com diff --git a/ghc-hslua-module-system.spec b/ghc-hslua-module-system.spec index 24829a2..df4e1da 100644 --- a/ghc-hslua-module-system.spec +++ b/ghc-hslua-module-system.spec @@ -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 @@ files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/hslua-module-system-1.0.0.tar.gz b/hslua-module-system-1.0.0.tar.gz deleted file mode 100644 index 0519deb..0000000 --- a/hslua-module-system-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:38516315524dda323a56af928d03748b308b1069632b2827c337c40a80106ce3 -size 8461 diff --git a/hslua-module-system-1.0.1.tar.gz b/hslua-module-system-1.0.1.tar.gz new file mode 100644 index 0000000..5f57003 --- /dev/null +++ b/hslua-module-system-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc53a1c952e8716d685f22c3c76f1730c576610dea32bdf575c7841aa03f7755 +size 8457 diff --git a/hslua-module-system.cabal b/hslua-module-system.cabal new file mode 100644 index 0000000..f8fd948 --- /dev/null +++ b/hslua-module-system.cabal @@ -0,0 +1,77 @@ +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 + . +homepage: https://github.com/hslua/hslua +license: MIT +license-file: LICENSE +author: Albert Krewinkel +maintainer: albert+hslua@zeitkraut.de +copyright: © 2019-2022 Albert Krewinkel +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