Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package json-c for openSUSE:Factory checked 
in at 2026-07-06 12:27:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/json-c (Old)
 and      /work/SRC/openSUSE:Factory/.json-c.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "json-c"

Mon Jul  6 12:27:58 2026 rev:32 rq:1363635 version:0.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/json-c/json-c.changes    2025-02-27 
14:52:51.425291443 +0100
+++ /work/SRC/openSUSE:Factory/.json-c.new.1982/json-c.changes  2026-07-06 
12:28:39.563743071 +0200
@@ -1,0 +2,65 @@
+Thu Jul  2 17:19:29 UTC 2026 - Jan Engelhardt <[email protected]>
+
+- Add no-xxd.patch and bring back the full testsuite.
+- Name the -devel and -doc subpackages based on the SRPM and
+  nothing else.
+
+-------------------------------------------------------------------
+Thu Jul  2 08:10:59 UTC 2026 - Paolo Stivanin <[email protected]>
+
+- Drop xxd BuildRequires to break an OBS build cycle; exclude the
+  test_json_parse_cli test (its only consumer) from %check.
+
+-------------------------------------------------------------------
+Mon Jun 29 07:34:46 UTC 2026 - Paolo Stivanin <[email protected]>
+
+- Update to 0.19:
+  New features
+  ------------
+  * Add support for Commodore Amiga and MorphOS
+  * Allow builds with CMake 4 - sync minimum version across all
+    CMakeLists.txt files
+  * Update openssl command to work for newer versions of openssl.
+  * Add support for building json-c with meson
+  * Support MSVC in packages that use GNU Autoconf.
+  * Add VERSIONINFO to libjson-c.dll
+  * Make json_tokener_free(NULL) a no-op, to simplify cleanup paths.
+  * Explicitly handle NaN values when converting to int
+  * Set errno=RANGE in json_object_get_int/int64/uint64() when the
+    source value can't be represented in the target type.
+  * Make json_parse a bit more useful by adding -u (validate UTF8)
+    and -P (specify arbitrary tokener parse flags), and read from
+    stdin if no filename is provided.
+  * Fix the apps/json_parse "-s" (strict) option so it actually does
+    something, and default to non-strict.
+
+  Significant changes and bug fixes
+  ---------------------------------
+  * Issue #867 - also disallow control characters in keys in
+    JSON_TOKENER_STRICT mode
+  * Issue #875: cast to unsigned char so bytes above 0x7f aren't
+    interpreted as negative, which was causing the strict-mode
+    control characters check to incorrectly trigger.
+  * Issue #881: don't allow json_tokener_new_ex() with a depth < 1
+  * Fix linkhash breaking -std=c89
+  * Fixing Cmake build when using clang-cl, avoids errors about
+    redefining existing symbols
+  * Fix AIX build failure - Add CMake detection for getopt.h
+  * Fix bug involving supplemental code points that look like high
+    surrogates
+  * Fix runtime issue with test_util_file.c in Windows (add O_BINARY)
+  * Fix macro WIN32_LEAN_AND_MEAN redefined
+  * Issue #914: Fix Memory usage regression due to newlocale() on
+    macOS
+  * Issue #916: Fix OOM via large array index in json_pointer_set
+  * Issue #923: Avoid stack recursion in json_object_put()
+  * Issue #927: CVE-2026-9146 - update json_object_iterator
+    documentation
+  * Issue #929: CVE-2026-11322 - fix information disclosure bug in
+    apps/json_parse (not installed by default)
+  * Issue #930: fix locale-dependent strtod in json_object_get_double
+  * Issue #931: deep copy values in json_patch copy op to avoid
+    aliasing and cycles
+
+
+-------------------------------------------------------------------

Old:
----
  json-c-0.18-20240915.tar.gz

New:
----
  json-c-0.19.tar.gz
  no-xxd.patch

----------(New B)----------
  New:
- Add no-xxd.patch and bring back the full testsuite.
- Name the -devel and -doc subpackages based on the SRPM and
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ json-c.spec ++++++
--- /var/tmp/diff_new_pack.sg5Kpm/_old  2026-07-06 12:28:40.567777904 +0200
+++ /var/tmp/diff_new_pack.sg5Kpm/_new  2026-07-06 12:28:40.571778043 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package json-c
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,21 @@
 
 %define libname libjson-c
 %define libsoname %{libname}5
-%define oldlibname libjson
-%define version_date 20240915
 Name:           json-c
-Version:        0.18
+Version:        0.19
 Release:        0
 Summary:        JSON implementation in C
 License:        MIT
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/json-c/json-c
-Source0:        
https://github.com/json-c/json-c/archive/json-c-%{version}-%{version_date}.tar.gz
+Source0:        
https://github.com/json-c/json-c/archive/json-c-%{version}.tar.gz
 Source1:        baselibs.conf
+Patch1:         no-xxd.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  libtool
-BuildRequires:  pkgconfig
+BuildRequires:  pkg-config
+#!BuildIgnore:  xxd
 
 %description
 JSON-C implements a reference counting object model that allows you to
@@ -52,14 +52,16 @@
 
 This package includes the JSON library.
 
-%package -n %{libname}-devel
+%package devel
 Summary:        Development headers and libraries for json-c
 Group:          Development/Libraries/C and C++
 Requires:       %{libsoname} = %{version}
-Provides:       %{oldlibname}-devel = %{version}
-Obsoletes:      %{oldlibname}-devel < %{version}
+Provides:       libjson-devel = %{version}
+Obsoletes:      libjson-devel < %{version}
+Provides:       libjson-c-devel = %{version}
+Obsoletes:      libjson-c-devel < %{version}
 
-%description -n %{libname}-devel
+%description devel
 JSON-C implements a reference counting object model that allows you to
 easily construct JSON objects in C, output them as JSON formatted
 strings and parse JSON formatted strings back into the C
@@ -68,14 +70,16 @@
 This package includes header files and scripts needed for developers
 using the json-c library
 
-%package -n %{libname}-doc
+%package doc
 Summary:        Documentation files
 Group:          Documentation/Other
-Provides:       %{oldlibname}-doc = %{version}
-Obsoletes:      %{oldlibname}-doc < %{version}
+Provides:       libjson-doc = %{version}
+Obsoletes:      libjson-doc < %{version}
+Provides:       libjson-c-doc = %{version}
+Obsoletes:      libjson-c-doc < %{version}
 BuildArch:      noarch
 
-%description -n %{libname}-doc
+%description doc
 JSON-C implements a reference counting object model that allows you to
 easily construct JSON objects in C, output them as JSON formatted
 strings and parse JSON formatted strings back into the C
@@ -84,7 +88,7 @@
 This package includes the json-c documentation.
 
 %prep
-%autosetup -p1 -n %{name}-json-c-%{version}-%{version_date}
+%autosetup -p1 -n %{name}-json-c-%{version}
 
 %build
 %cmake \
@@ -108,14 +112,13 @@
 cp -R doc/html "%{buildroot}%{_docdir}/%{name}-doc"
 %fdupes %{buildroot}%{_docdir}
 
-%post -n %{libsoname} -p /sbin/ldconfig
-%postun -n %{libsoname} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{libsoname}
 
 %files -n %{libsoname}
 %{_libdir}/%{libname}.so.*
 %license COPYING
 
-%files -n %{libname}-devel
+%files devel
 %{_libdir}/%{libname}.so
 %{_includedir}/json-c
 %{_libdir}/pkgconfig/*.pc
@@ -124,7 +127,7 @@
 %{_libdir}/cmake/json-c/json-c-targets-none.cmake
 %{_libdir}/cmake/json-c/json-c-targets.cmake
 
-%files -n %{libname}-doc
+%files doc
 %license COPYING
 %doc AUTHORS ChangeLog README README.html
 %doc %{_docdir}/%{name}-doc

++++++ json-c-0.18-20240915.tar.gz -> json-c-0.19.tar.gz ++++++
++++ 18176 lines of diff (skipped)

++++++ no-xxd.patch ++++++
>From 19a014b923d559763ea3bbd4319da10f74c75efe Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <[email protected]>
Date: Thu, 2 Jul 2026 19:15:01 +0200
Subject: [PATCH] tests: do away with xxd invocation
References: https://github.com/json-c/json-c/pull/939

printf is perfectly capable of doing everything needed.
---
 tests/test_json_parse_cli.test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_json_parse_cli.test b/tests/test_json_parse_cli.test
index 0982afe..b9833c9 100755
--- a/tests/test_json_parse_cli.test
+++ b/tests/test_json_parse_cli.test
@@ -11,7 +11,7 @@ fi
 set -x -v
 
 echo -n '"tenant=blue;note=CANARY_STACK_WINDOW_2026;status=ok"' > file1.dat
-(printf '"' ; printf 'A%.0s' $(seq 1 16) ; echo 'e2'  | xxd -r -p) > file2.dat
+printf '"AAAAAAAAAAAAAAAA\xe2' > file2.dat
 
 TESTNAME="${0##*/}"
 TESTNAME="${TESTNAME%.test}"
-- 
2.54.0

Reply via email to