Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jq for openSUSE:Factory checked in at 2023-09-21 22:13:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jq (Old) and /work/SRC/openSUSE:Factory/.jq.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jq" Thu Sep 21 22:13:17 2023 rev:12 rq:1111947 version:1.7 Changes: -------- --- /work/SRC/openSUSE:Factory/jq/jq.changes 2022-10-10 18:45:08.218942840 +0200 +++ /work/SRC/openSUSE:Factory/.jq.new.1770/jq.changes 2023-09-21 22:13:37.132332463 +0200 @@ -1,0 +2,68 @@ +Thu Sep 7 13:42:19 UTC 2023 - Martin Hauke <mar...@gmx.de> + +- Update to version 1.7 + * Make object key color configurable using JQ_COLORS environment + variable. + * Change the default color of null to Bright Black. + * Respect NO_COLOR environment variable to disable color output. + * Improved --help output. Now mentions all options and nicer + order. + * Fix multiple issues of exit code using --exit-code/-e option. + * Add --raw-output0 for NUL (zero byte) separated output. + * Fix assert crash and validate JSON for --jsonarg. + * Remove deprecated --argfile option. + Language changes + * Use decimal number literals to preserve precision. Comparison + operations respects precision but arithmetic operations might + truncate. + * Adds new builtin pick(stream) to emit a projection of the + input object or array. + * Adds new builtin debug(msgs) that works like debug but applies + a filter on the input before writing to stderr. + * Adds new builtin scan($re; $flags). Was documented but not + implemented. + * Adds new builtin abs to get absolute value. This potentially + allows the literal value of numbers to be preserved as length + and fabs convert to float. + * Allow if without else-branch. When skipped the else-branch + will be . (identity). + * Allow use of $binding as key in object literals. + * Allow dot between chained indexes when using .["index"] + * Allow dot for chained value iterator .[], .[]? + * Fix try/catch catches more than it should. + * Speed up and refactor some builtins, also remove + scalars_or_empty/0. + * Now halt and halt_error exit immediately instead of continuing + to the next input. + * Fix issue converting string to number after previous convert + error. + * Fix issue representing large numbers on some platforms causing + invalid JSON output. + * Fix deletion using assigning empty against arrays. + * Allow keywords to be used as binding name in more places. + * Allow using nan as NaN in JSON. + * Expose a module's function names in modulemeta. + * Fix contains/1 to handle strings with NUL. + * Fix stderr/0 to output raw text without any decoration. + * Fix nth/2 to emit empty on index out of range. + * Fix implode to not assert and instead replace invalid unicode + codepoints. + * Fix indices/1 and rindex/1 in case of overlapping matches in + strings. + * Fix sub/3 to resolve issues involving global search-and-replace + (gsub) operations. + * Fix empty regular expression matches. + * Fix overflow exception of the modulo operator. + * Fix string multiplication by 0 (and less than 1) to emit empty + string. + * Fix segfault when using libjq and threads. + * Fix constant folding of division and reminder with zero + divisor. + * Fix error/0, error/1 to throw null error. + * Simpler and faster transpose. + * Simple and efficient implementation of walk/1. + * Remove deprecated filters leaf_paths, recurse_down. +- Adjust URL/Source - new upstream + https://github.com/stedolan/jq -> https://github.com/jqlang + +------------------------------------------------------------------- Old: ---- jq-1.6.tar.gz New: ---- jq-1.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jq.spec ++++++ --- /var/tmp/diff_new_pack.BFfaGO/_old 2023-09-21 22:13:38.396378339 +0200 +++ /var/tmp/diff_new_pack.BFfaGO/_new 2023-09-21 22:13:38.396378339 +0200 @@ -1,7 +1,7 @@ # # spec file for package jq # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,23 @@ Name: jq -Version: 1.6 +Version: 1.7 Release: 0 Summary: A lightweight and flexible command-line JSON processor License: CC-BY-3.0 AND MIT Group: Productivity/Text/Utilities -URL: https://stedolan.github.io/jq/ -Source: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz +URL: https://github.com/jqlang +Source: https://github.com/jqlang/jq/archive/refs/tags/jq-%{version}/jq-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake BuildRequires: chrpath -BuildRequires: flex +BuildRequires: libtool +#BuildRequires: flex BuildRequires: oniguruma-devel +Requires: libjq1 = %{version} %ifnarch riscv64 BuildRequires: valgrind %endif -Requires: libjq1 = %{version} %description A lightweight and flexible command-line JSON processor. jq is like sed for @@ -54,16 +57,17 @@ Development files (headers and libraries for jq). %prep -%setup -q +%setup -q -n %{name}-%{name}-%{version} %build +autoreconf -fiv %configure \ --disable-static \ %ifarch riscv64 --disable-valgrind \ %endif --disable-silent-rules -make %{?_smp_mflags} +%make_build %install %make_install @@ -79,7 +83,7 @@ %check %if "%{qemu_user_space_build}" == "0" -make %{?_smp_mflags} check +%make_build check %endif %post -n libjq1 -p /sbin/ldconfig @@ -87,7 +91,7 @@ %files %license COPYING -%doc AUTHORS ChangeLog NEWS README.md +%doc AUTHORS ChangeLog NEWS.md README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1%{?ext_man} @@ -98,4 +102,5 @@ %{_includedir}/jq.h %{_includedir}/jv.h %{_libdir}/libjq.so +%{_libdir}/pkgconfig/libjq.pc ++++++ jq-1.6.tar.gz -> jq-1.7.tar.gz ++++++ ++++ 198998 lines of diff (skipped)