From 614cf422fdb378fb038166214ce65d7c63c998d2 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Tue, 4 Aug 2020 07:21:33 +0000 Subject: [PATCH] Accepting request 824266 from home:alois:branches:utilities - Update to version 5.8.0 Features: * The new count verb is a keystroke-saver for stats -a count -f {some field name}`. * --jsonx and --ojsonx are keystroke-savers for --json --jvstack and --ojson --jvstack, which is to say, multi-line pretty-printed JSON format. * The new -s name=value feature for mlr put and mlr filter gives you simpler access to environment variables in your Miller script, as requested in #315. Bugfixes: * mlr format-values is no longer SEGVing on CSV/TSV input. This was reported on #330. * #313 fixes a corner case when field names within command-line arguments have embedded newlines. * Line/column indicators for JSON-formatting error messages are now correct (previously they were showing up as 0). * end {print NF} no longer SEGVs. This was reported in #330. * Several broken doc links were fixed up as reported on #329. - Drop miller-5.3.0-gcc43.patch (no longer necessary) - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/824266 OBS-URL: https://build.opensuse.org/package/show/utilities/miller?expand=0&rev=23 --- miller-5.3.0-gcc43.patch | 12 ------------ miller-5.7.0.tar.gz | 3 --- miller-5.8.0.tar.gz | 3 +++ miller.changes | 25 +++++++++++++++++++++++++ miller.spec | 10 +++------- 5 files changed, 31 insertions(+), 22 deletions(-) delete mode 100644 miller-5.3.0-gcc43.patch delete mode 100644 miller-5.7.0.tar.gz create mode 100644 miller-5.8.0.tar.gz diff --git a/miller-5.3.0-gcc43.patch b/miller-5.3.0-gcc43.patch deleted file mode 100644 index 6a5cc9b..0000000 --- a/miller-5.3.0-gcc43.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: miller-5.3.0/c/cli/mlrcli.h -=================================================================== ---- miller-5.3.0.orig/c/cli/mlrcli.h -+++ miller-5.3.0/c/cli/mlrcli.h -@@ -5,6 +5,7 @@ - #ifndef MLRCLI_H - #define MLRCLI_H - -+#include - #include "lib/context.h" - #include "containers/slls.h" - #include "containers/sllv.h" diff --git a/miller-5.7.0.tar.gz b/miller-5.7.0.tar.gz deleted file mode 100644 index 6e5cb25..0000000 --- a/miller-5.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ef4a2c58fa8f6d12ba64d26cecf904af1dc476cc6db9b92d3e2aff2e937f4bf -size 5001955 diff --git a/miller-5.8.0.tar.gz b/miller-5.8.0.tar.gz new file mode 100644 index 0000000..7253760 --- /dev/null +++ b/miller-5.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83fcb8218145654583f5c384d3c8e055f478f1da919d51e9be3c489a006492c2 +size 5003415 diff --git a/miller.changes b/miller.changes index ad07cbf..3210743 100644 --- a/miller.changes +++ b/miller.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Tue Aug 4 06:57:04 UTC 2020 - aloisio@gmx.com + +- Update to version 5.8.0 + Features: + * The new count verb is a keystroke-saver for stats -a count + -f {some field name}`. + * --jsonx and --ojsonx are keystroke-savers for --json + --jvstack and --ojson --jvstack, which is to say, multi-line + pretty-printed JSON format. + * The new -s name=value feature for mlr put and mlr filter + gives you simpler access to environment variables in your + Miller script, as requested in #315. + Bugfixes: + * mlr format-values is no longer SEGVing on CSV/TSV input. + This was reported on #330. + * #313 fixes a corner case when field names within + command-line arguments have embedded newlines. + * Line/column indicators for JSON-formatting error messages + are now correct (previously they were showing up as 0). + * end {print NF} no longer SEGVs. This was reported in #330. + * Several broken doc links were fixed up as reported on #329. +- Drop miller-5.3.0-gcc43.patch (no longer necessary) +- Spec cleanup + ------------------------------------------------------------------- Tue Mar 17 06:56:30 UTC 2020 - aloisio@gmx.com diff --git a/miller.spec b/miller.spec index 1163c7d..1b17611 100644 --- a/miller.spec +++ b/miller.spec @@ -17,19 +17,16 @@ Name: miller -Version: 5.7.0 +Version: 5.8.0 Release: 0 Summary: Name-indexed data processing tool # c/lib/netbsd_strptime.c is BSD-4-Clause License: BSD-2-Clause AND BSD-4-Clause URL: http://johnkerl.org/miller/doc Source0: https://github.com/johnkerl/miller/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM miller-5.3.0-gcc43.patch -Patch0: miller-5.3.0-gcc43.patch BuildRequires: automake BuildRequires: flex >= 2.5.35 BuildRequires: libtool -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Miller (mlr) allows name-indexed data such as CSV and JSON files to be @@ -43,7 +40,6 @@ well with pipes and can feed "tail -f". %ifarch %ix86 sed -e 's/-pg//' -i c/Makefile.am %endif -%patch0 -p1 %build autoreconf -fiv @@ -54,8 +50,8 @@ make %{?_smp_mflags} %make_install %files -%defattr(-,root,root) -%doc LICENSE.txt README.md c/draft-release-notes.md +%license LICENSE.txt +%doc README.md c/draft-release-notes.md %{_bindir}/mlr %{_mandir}/man1/mlr.1%{ext_man}