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
This commit is contained in:
parent
40c5012e4a
commit
614cf422fd
@ -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 <unistd.h>
|
||||
#include "lib/context.h"
|
||||
#include "containers/slls.h"
|
||||
#include "containers/sllv.h"
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5ef4a2c58fa8f6d12ba64d26cecf904af1dc476cc6db9b92d3e2aff2e937f4bf
|
||||
size 5001955
|
3
miller-5.8.0.tar.gz
Normal file
3
miller-5.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:83fcb8218145654583f5c384d3c8e055f478f1da919d51e9be3c489a006492c2
|
||||
size 5003415
|
@ -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
|
||||
|
||||
|
10
miller.spec
10
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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user