Hello community,
here is the log from the commit of package qore-json-module for
openSUSE:Factory checked in at 2020-08-17 12:06:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore-json-module (Old)
and /work/SRC/openSUSE:Factory/.qore-json-module.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qore-json-module"
Mon Aug 17 12:06:08 2020 rev:6 rq:827173 version:1.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/qore-json-module/qore-json-module.changes
2020-07-24 10:03:33.633838413 +0200
+++
/work/SRC/openSUSE:Factory/.qore-json-module.new.3399/qore-json-module.changes
2020-08-17 12:06:52.398744183 +0200
@@ -1,0 +2,22 @@
+Sun Aug 16 21:00:48 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 1.7:
+ * deprecated support for the non-published JSON-RPC 1.1 protocol
+ * added support for JSON-RPC 2.0
+ * added the JsonRpcConnection user module
+ * improved argument error messages with RPC calls in the JsonRpcHandler
module (issue 2573)
+ * fixed date serialization to use ISO-8601 format (instead of near-ISO-8601
format: issue 2655)
+ * parse_json() now ignores UTF-8 and Unicode BOMs at the start of passed
JSON string (issue 1398)
+ * fixed a bug in request logging in the JsonRpcHandler module (issue 1487)
+ * fixed a bug serializing hash keys with embedded quotes (issue 2242)
+ * serialize binary values as base64-encoded strings
+ * user modules moved to top-level qore module directory from
version-specific module directory since they are valid for multiple versions of
qore
+ * serialize nan, +/-inf as null according to the JSON spec
+ * added detection for invalid JSON-RPC calls and added a more user-friendly
error message in the JsonRpcHandler module
+ * new functions added conforming to Qore's function naming convention, old
camel-case functions deprecated
+ * JSON tests ported to QUnit
+ * Qore 0.8.12 required as a minimum to build
+ * JSON output is more compact; less extraneous whitespace is used
+- remove 0001-set-64bit-for-other-architectures.patch: upstream
+
+-------------------------------------------------------------------
Old:
----
0001-set-64bit-for-other-architectures.patch
qore-json-module-1.4.tar.bz2
New:
----
qore-json-module-1.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qore-json-module.spec ++++++
--- /var/tmp/diff_new_pack.WmcdRo/_old 2020-08-17 12:06:54.154745161 +0200
+++ /var/tmp/diff_new_pack.WmcdRo/_new 2020-08-17 12:06:54.162745166 +0200
@@ -1,7 +1,7 @@
#
# spec file for package qore-json-module
#
-# 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,22 +12,18 @@
# 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/
#
%define module_api %(qore --latest-module-api 2>/dev/null)
-%define module_dir %{_libdir}/qore-modules
-
Name: qore-json-module
-Version: 1.4
+Version: 1.7
Release: 0
Summary: JSON module for Qore
License: LGPL-2.0-or-later OR GPL-2.0-or-later OR MIT
-Group: Development/Languages
-Url: http://qore.org
-Source:
http://prdownloads.sourceforge.net/qore/%{name}-%{version}.tar.bz2
-Patch0: 0001-set-64bit-for-other-architectures.patch
+URL: https://qore.org
+Source:
https://github.com/qorelanguage/module-json/releases/download/v%{version}/qore-json-module-%{version}.tar.bz2
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -36,7 +32,6 @@
BuildRequires: qore-devel >= 0.8.5
Requires: %{_bindir}/env
Requires: qore-module-api-%{module_api}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the json module for the Qore Programming Language.
@@ -45,36 +40,34 @@
%prep
%setup -q
-%patch0 -p1
%build
# Remove -m32 and -m64 options except for x86* and ppc*
%ifnarch %{ix86} x86_64 ppc64 ppc64le
sed -i 's/-m32//g;s/-m64//g' configure
%endif
-CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ./configure
RPM_OPT_FLAGS="%{optflags}" --prefix=/usr --disable-debug
-make %{?_smp_mflags}
+# FIXME: you should use the %%configure macro
+CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ./configure
RPM_OPT_FLAGS="%{optflags}" --prefix=%{_prefix} --disable-debug
+%make_build
%install
-mkdir -p %{buildroot}/%{module_dir}
mkdir -p %{buildroot}%{_datadir}/doc/qore-json-module
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
%files
-%defattr(-,root,root,-)
-%{module_dir}
-%doc COPYING.LGPL COPYING.MIT README RELEASE-NOTES ChangeLog AUTHORS
+%{_datadir}/qore-modules
+%{_libdir}/qore-modules
+%license COPYING.LGPL COPYING.MIT
+%doc README RELEASE-NOTES
%package doc
Summary: JSON module for Qore
-Group: Development/Languages
%description doc
This package contains the HTML documentation and example programs for the Qore
json module.
%files doc
-%defattr(-,root,root,-)
%doc docs/json/html docs/JsonRpcHandler/html examples/ test/
%changelog
++++++ qore-json-module-1.4.tar.bz2 -> qore-json-module-1.7.tar.bz2 ++++++
++++ 52011 lines of diff (skipped)