Accepting request 765461 from home:jbrielmaier:guile-3.0

- Make guile-json-rpmlintrc compatible with Guile 3.0 

- Update to version 3.2.0:
  * Fix writing empty objects to JSON (e.g. (scm->json-string '())).
  * Complex numbers, inf and nan are not allowed anymore as valid numbers
    when building JSON. 

- Update to version 3.1.0 (changes since 1.2.0):
  * Breaking compability to version 1.x and 2.x
  * JSON objects are now defined as alists (instead of hash tables)
    and JSON arrays are now defined as vectors (instead of lists).
    Both of these changes are mainly to use types that have read syntax.
    This will simplify things for the user when defining JSON objects 
    which is probably the most common case. 
  * Added unit tests.
  * scm->json and scm->json-string now support an additional key
    argument #:unicode.
- filter more messages in rpmlintrc
- require guile >= 2.0.10 because it implements srfi-43
- run test suite

OBS-URL: https://build.opensuse.org/request/show/765461
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile-json?expand=0&rev=20
This commit is contained in:
Jonathan Brielmaier 2020-01-18 12:04:44 +00:00 committed by Git OBS Bridge
parent 45a2538c27
commit 88029158dd
7 changed files with 46 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89817369f8534d7044818c48c749e1769a4c7e7ac3cda921feeac2d3085af695
size 104605

Binary file not shown.

3
guile-json-3.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df61fadd8c8b70194b381ab317ec5d6f93b2701ea693eaf6ac80ab2a9e59a692
size 120917

BIN
guile-json-3.2.0.tar.gz.sig Normal file

Binary file not shown.

View File

@ -2,6 +2,7 @@
# ignore it for now
addFilter("E: arch-dependent-file-in-usr-share .*/usr/share/guile/site/.*")
# using ELF for Guile bytecode confuse rpmlint
addFilter("W: missing-PT_GNU_STACK-section .*/usr/share/guile/site/.*")
addFilter("W: shared-lib-without-dependency-information .*/usr/share/guile/site/.*")
# using ELF for Guile bytecode confuses rpmlint
addFilter("W: missing-PT_GNU_STACK-section .*/usr/share/guile/.*")
addFilter("W: missing-PT_GNU_STACK-section /usr/lib64/guile/*/site-ccache*")
addFilter("W: shared-lib-without-dependency-information .*/usr/share/guile/site/.*")

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Mon Jan 13 21:51:46 UTC 2020 - Jonathan Brielmaier <jbrielmaier@suse.de>
- Make guile-json-rpmlintrc compatible with Guile 3.0
-------------------------------------------------------------------
Mon Sep 16 08:09:32 UTC 2019 - Jonathan Brielmaier <jbrielmaier@suse.de>
- Update to version 3.2.0:
* Fix writing empty objects to JSON (e.g. (scm->json-string '())).
* Complex numbers, inf and nan are not allowed anymore as valid numbers
when building JSON.
-------------------------------------------------------------------
Mon Jul 22 10:46:31 UTC 2019 - Jonathan Brielmaier <jbrielmaier@suse.de>
- Update to version 3.1.0 (changes since 1.2.0):
* Breaking compability to version 1.x and 2.x
* JSON objects are now defined as alists (instead of hash tables)
and JSON arrays are now defined as vectors (instead of lists).
Both of these changes are mainly to use types that have read syntax.
This will simplify things for the user when defining JSON objects
which is probably the most common case.
* Added unit tests.
* scm->json and scm->json-string now support an additional key
argument #:unicode.
- filter more messages in rpmlintrc
- require guile >= 2.0.10 because it implements srfi-43
- run test suite
-------------------------------------------------------------------
Fri Aug 24 12:07:57 UTC 2018 - jbrielmaier@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package guile-json
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,23 +12,23 @@
# 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/
#
Name: guile-json
Version: 1.2.0
Version: 3.2.0
Release: 0
Summary: JSON module for Guile
License: GPL-3.0-or-later
Group: Development/Libraries/Other
Url: https://savannah.nongnu.org/projects/guile-json/
URL: https://savannah.nongnu.org/projects/guile-json/
Source0: http://download.savannah.gnu.org/releases/guile-json/%{name}-%{version}.tar.gz
Source1: http://download.savannah.gnu.org/releases/guile-json/%{name}-%{version}.tar.gz.sig
Source2: https://savannah.nongnu.org/people/viewgpg.php?user_id=11331#/%{name}.keyring
Source1000: guile-json-rpmlintrc
BuildRequires: guile-devel >= 2.0.0
Requires: guile >= 2.0.0
BuildRequires: guile-devel >= 2.0.10
Requires: guile >= 2.0.10
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -48,6 +48,9 @@ are the main features:
%configure
make %{?_smp_mflags}
%check
make %{?_smp_mflags} check
%install
make install %{_smp_mflags} DESTDIR=%{buildroot}