From 88029158dd5f223a6ad9a20261033938e519842737d1a35d5fda7be590c8a489 Mon Sep 17 00:00:00 2001 From: Jonathan Brielmaier Date: Sat, 18 Jan 2020 12:04:44 +0000 Subject: [PATCH] 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 --- guile-json-1.2.0.tar.gz | 3 --- guile-json-1.2.0.tar.gz.sig | Bin 95 -> 0 bytes guile-json-3.2.0.tar.gz | 3 +++ guile-json-3.2.0.tar.gz.sig | Bin 0 -> 95 bytes guile-json-rpmlintrc | 7 ++++--- guile-json.changes | 30 ++++++++++++++++++++++++++++++ guile-json.spec | 15 +++++++++------ 7 files changed, 46 insertions(+), 12 deletions(-) delete mode 100644 guile-json-1.2.0.tar.gz delete mode 100644 guile-json-1.2.0.tar.gz.sig create mode 100644 guile-json-3.2.0.tar.gz create mode 100644 guile-json-3.2.0.tar.gz.sig diff --git a/guile-json-1.2.0.tar.gz b/guile-json-1.2.0.tar.gz deleted file mode 100644 index 46ccbfe..0000000 --- a/guile-json-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89817369f8534d7044818c48c749e1769a4c7e7ac3cda921feeac2d3085af695 -size 104605 diff --git a/guile-json-1.2.0.tar.gz.sig b/guile-json-1.2.0.tar.gz.sig deleted file mode 100644 index a2853522acab510144ebf9ecd2ce96ada61b41ec5fad955a2cf256689d90826f..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 95 zcmeB(WnmCxVvrS6WQhyZQFP=sME}3|yQ7Fp-jl4D+*2 v@2mU}_SxI3LV0=ZcJ6hjH~MBV%wppE8*=g4e7DmdWSjIBuiE;3C0h;v00|}q diff --git a/guile-json-3.2.0.tar.gz b/guile-json-3.2.0.tar.gz new file mode 100644 index 0000000..4b5a621 --- /dev/null +++ b/guile-json-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df61fadd8c8b70194b381ab317ec5d6f93b2701ea693eaf6ac80ab2a9e59a692 +size 120917 diff --git a/guile-json-3.2.0.tar.gz.sig b/guile-json-3.2.0.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..d4440727b7c1cf1786815d03d2e4976240dca46ad82f08a8950a2626efb73ca1 GIT binary patch literal 95 zcmeB(WnmCxVvrS6WQhyZQFP*s^2m8MrtFU?P^L4D+Kl vzpk3j_1a=R1G`({M&X+`?XJ#eSTJ`*M8}hTI{H^tSNr=1?SCG|RgeGx)ubcg literal 0 HcmV?d00001 diff --git a/guile-json-rpmlintrc b/guile-json-rpmlintrc index fbf5444..ab1d7b9 100644 --- a/guile-json-rpmlintrc +++ b/guile-json-rpmlintrc @@ -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/.*") \ No newline at end of file +# 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/.*") diff --git a/guile-json.changes b/guile-json.changes index db79441..e3cac6b 100644 --- a/guile-json.changes +++ b/guile-json.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Mon Jan 13 21:51:46 UTC 2020 - Jonathan Brielmaier + +- Make guile-json-rpmlintrc compatible with Guile 3.0 + +------------------------------------------------------------------- +Mon Sep 16 08:09:32 UTC 2019 - Jonathan Brielmaier + +- 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 + +- 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 diff --git a/guile-json.spec b/guile-json.spec index d94e16a..547687b 100644 --- a/guile-json.spec +++ b/guile-json.spec @@ -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}