From 9b9d371b5879e2449eaf5b339bbe5d7a7314eaa216ed089461c31653abe6d9f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Jun 2019 08:02:53 +0000 Subject: [PATCH] Accepting request 706959 from home:jengelh:branches:devel:languages:python - Use noun phrase in summary. - Remove excess markup from description that does not mean anything to rpm. - Ensure neutrality of descriptions. OBS-URL: https://build.opensuse.org/request/show/706959 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonslicer?expand=0&rev=3 --- python-jsonslicer.changes | 8 ++++++++ python-jsonslicer.spec | 24 ++++++++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/python-jsonslicer.changes b/python-jsonslicer.changes index ea64b03..7490e9a 100644 --- a/python-jsonslicer.changes +++ b/python-jsonslicer.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Jun 2 21:16:07 UTC 2019 - Jan Engelhardt + +- Use noun phrase in summary. +- Remove excess markup from description that does not mean + anything to rpm. +- Ensure neutrality of descriptions. + ------------------------------------------------------------------- Sun May 12 02:33:09 AM UTC 2019 - John Vandenberg diff --git a/python-jsonslicer.spec b/python-jsonslicer.spec index e8cc9d3..dbbe497 100644 --- a/python-jsonslicer.spec +++ b/python-jsonslicer.spec @@ -12,7 +12,8 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,30 +21,29 @@ Name: python-jsonslicer Version: 0.1.4 Release: 0 +Summary: Streaming JSON parser with iterator interface License: MIT -Summary: Stream JSON parser with iterator interface -Url: https://github.com/AMDmi3/jsonslicer Group: Development/Languages/Python +Url: https://github.com/AMDmi3/jsonslicer Source: https://files.pythonhosted.org/packages/source/j/jsonslicer/jsonslicer-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: gcc-c++ BuildRequires: fdupes +BuildRequires: gcc-c++ BuildRequires: pkg-config +BuildRequires: python-rpm-macros BuildRequires: pkgconfig(yajl) %python_subpackages %description -JsonSlicer performs a **stream** or **iterative**, **pull** JSON -parsing, which means it **does not load** whole JSON into memory -and is able to parse **very large** JSON files or streams. The -module is written in C and uses [YAJL](https://lloyd.github.io/yajl/) -JSON parsing library, so it's also quite **fast**. +JsonSlicer performs a stream or iterative, pull JSON parsing, which +means it does not load whole JSON into memory and is able to parse +very large JSON files or streams. The module is written in C and uses +YAJL JSON parsing library. -JsonSlicer takes a **path** of JSON map keys or array indexes, and -provides **iterator interface** which yields JSON data matching +JsonSlicer takes a path of JSON map keys or array indexes, and +provides iterator interface which yields JSON data matching given path as complete Python objects. %prep