Accepting request 942812 from devel:languages:lua

- What was I thinking? Description and Summary had nothing to di
  with this package.

OBS-URL: https://build.opensuse.org/request/show/942812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-dkjson?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2021-12-28 11:26:17 +00:00 committed by Git OBS Bridge
commit 558ee40c4a
3 changed files with 19 additions and 8 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd7f3eb7120df085c205451a3e7faa7de8e61ff8dcb432322583d9133a8af118
size 15891
oid sha256:39e2aeec026d8f0e91a573174df7514be54bb3c1a922c944c896b18b46ad8ad0
size 17154

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 27 08:42:20 UTC 2021 - Matej Cepl <mcepl@suse.com>
- What was I thinking? Description and Summary had nothing to di
with this package.
-------------------------------------------------------------------
Thu Feb 18 15:50:02 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package lua-dkjson
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,15 +21,15 @@
%define uptag release_2_5
Version: 2.5.2
Release: 0
Summary: A feature-rich command-line argument parser
Summary: David Kolf's JSON module for Lua
License: MIT
Group: Development/Libraries/Other
URL: http://dkjson.org/
Source: http://dkolf.de/src/dkjson-lua.fsl/tarball/%{uptag}/dkjson.tar.gz
BuildRequires: %{flavor}-devel
BuildArch: noarch
Requires: %{flavor}
Requires: %{flavor}-lpeg
BuildArch: noarch
%lua_provides
%if "%{flavor}" == ""
Name: lua-dkjson
@ -39,9 +39,14 @@ Name: %{flavor}-dkjson
%endif
%description
Argparse supports positional arguments, options, flags, optional
arguments, subcommands and more. Argparse automatically generates usage,
help, and error messages, and can generate shell completion scripts.
dkjson is a module for encoding and decoding JSON data. It
supports UTF-8.
JSON (JavaScript Object Notation) is a format for serializing
data based on the syntax for JavaScript data structures.
dkjson is written in Lua without any dependencies, but
when LPeg is available dkjson can use it to speed up decoding.
%prep
%setup -q -n %{uptag}/%{mod_name}