From b0c87cf641a200c2b6da5024cba963e11c918e7bf4ad9eb0166f201f12d7b9dd Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 10 Feb 2022 14:36:52 +0000 Subject: [PATCH 1/2] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hslua-module-text revision:18, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua-module-text?expand=0&rev=35 --- ghc-hslua-module-text.changes | 8 ++++ ghc-hslua-module-text.spec | 8 ++-- hslua-module-text-1.0.0.tar.gz | 3 -- hslua-module-text-1.0.1.tar.gz | 3 ++ hslua-module-text.cabal | 71 ++++++++++++++++++++++++++++++++++ 5 files changed, 87 insertions(+), 6 deletions(-) delete mode 100644 hslua-module-text-1.0.0.tar.gz create mode 100644 hslua-module-text-1.0.1.tar.gz create mode 100644 hslua-module-text.cabal diff --git a/ghc-hslua-module-text.changes b/ghc-hslua-module-text.changes index 18637b8..4ab839d 100644 --- a/ghc-hslua-module-text.changes +++ b/ghc-hslua-module-text.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Feb 4 12:15:16 UTC 2022 - psimons@suse.com + +- Update hslua-module-text to version 1.0.1 revision 1. + Upstream has renamed and modified the change log file(s) in this + release. Unfortunately, the automatic updater cannot reliable + determine relevant entries for this release. + ------------------------------------------------------------------- Mon Nov 1 08:44:59 UTC 2021 - psimons@suse.com diff --git a/ghc-hslua-module-text.spec b/ghc-hslua-module-text.spec index 666f317..48a91c9 100644 --- a/ghc-hslua-module-text.spec +++ b/ghc-hslua-module-text.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-hslua-module-text # -# 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-text %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.0.0 +Version: 1.0.1 Release: 0 Summary: Lua module for text 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-hslua-core-devel BuildRequires: ghc-hslua-marshalling-devel @@ -57,6 +58,7 @@ files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build @@ -77,6 +79,6 @@ files. %license LICENSE %files devel -f %{name}-devel.files -%doc ChangeLog.md +%doc CHANGELOG.md %changelog diff --git a/hslua-module-text-1.0.0.tar.gz b/hslua-module-text-1.0.0.tar.gz deleted file mode 100644 index 027d4a1..0000000 --- a/hslua-module-text-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e13911b715d08b317eff12ef9c8b5f3f91091a7808e8953d7c1cf66a9362b57a -size 4600 diff --git a/hslua-module-text-1.0.1.tar.gz b/hslua-module-text-1.0.1.tar.gz new file mode 100644 index 0000000..87192c6 --- /dev/null +++ b/hslua-module-text-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:691c9680deeb177c0218a243fed689af535b4b3f270ab69c4f299dd377e1ce5c +size 4615 diff --git a/hslua-module-text.cabal b/hslua-module-text.cabal new file mode 100644 index 0000000..183d650 --- /dev/null +++ b/hslua-module-text.cabal @@ -0,0 +1,71 @@ +cabal-version: 2.2 +name: hslua-module-text +version: 1.0.1 +x-revision: 1 +synopsis: Lua module for text +description: UTF-8 aware subset of Lua's `string` module. + . + This package is part of HsLua, a Haskell framework + built around the embeddable scripting language + . +homepage: https://github.com/hslua/hslua +bug-reports: https://github.com/hslua/hslua/issues +license: MIT +license-file: LICENSE +author: Albert Krewinkel +maintainer: albert+hslua@zeitkraut.de +copyright: © 2017–2022 Albert Krewinkel +category: Foreign +extra-source-files: CHANGELOG.md + , test/test-text.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-text + +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 + 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 + exposed-modules: HsLua.Module.Text + hs-source-dirs: src + build-depends: hslua-marshalling >= 2.1 && < 2.2 + other-extensions: OverloadedStrings + +test-suite test-hslua-module-text + import: common-options + type: exitcode-stdio-1.0 + main-is: test-hslua-module-text.hs + hs-source-dirs: test + ghc-options: -Wall -threaded + build-depends: hslua-module-text + , tasty >= 0.11 + , tasty-hunit >= 0.9 + , tasty-lua >= 1.0 && < 1.1 + , text From e4c82a4588af5013e26d8fd576136012d3f87662a3e640ff2700b19914b1c639 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 11 Feb 2022 02:02:10 +0000 Subject: [PATCH 2/2] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hslua-module-text revision:19, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua-module-text?expand=0&rev=36 --- ghc-hslua-module-text.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-hslua-module-text.changes b/ghc-hslua-module-text.changes index 4ab839d..5e86c76 100644 --- a/ghc-hslua-module-text.changes +++ b/ghc-hslua-module-text.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Fri Feb 4 12:15:16 UTC 2022 - psimons@suse.com +Sun Jan 30 08:00:08 UTC 2022 - Peter Simons - Update hslua-module-text to version 1.0.1 revision 1. Upstream has renamed and modified the change log file(s) in this