Accepting request 562288 from utilities

OBS-URL: https://build.opensuse.org/request/show/562288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/miller?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-01-09 13:53:08 +00:00 committed by Git OBS Bridge
commit f576464c6f
5 changed files with 29 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ca501367e60281eef6d21f62e994e46511f17d2c86b93c060fe7b55f97469b5
size 5024653

12
miller-5.3.0-gcc43.patch Normal file
View File

@ -0,0 +1,12 @@
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"

3
miller-5.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df576c0ea6e9c7a6fc1bde747078c3374d7b3407f86a1a1a678f0d88859daba7
size 4939901

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jan 7 07:56:34 UTC 2018 - aloisio@gmx.com
- Update to version 5.3.0 (see draft-release-notes.md for a
changelog)
- Added miller-5.3.0-gcc43.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 24 15:18:41 UTC 2017 - aloisio@gmx.com Thu Aug 24 15:18:41 UTC 2017 - aloisio@gmx.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package miller # spec file for package miller
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,14 +17,16 @@
Name: miller Name: miller
Version: 5.2.2 Version: 5.3.0
Release: 0 Release: 0
Summary: Name-indexed data processing tool Summary: Name-indexed data processing tool
# c/lib/netbsd_strptime.c is BSD-4-Clause # c/lib/netbsd_strptime.c is BSD-4-Clause
License: BSD-2-Clause and BSD-4-Clause License: BSD-2-Clause and BSD-4-Clause
Group: Productivity/File utilities Group: Productivity/File utilities
Url: http://johnkerl.org/miller/doc Url: http://johnkerl.org/miller/doc
Source0: https://github.com/johnkerl/miller/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/johnkerl/miller/archive/%{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: automake
BuildRequires: flex >= 2.5.35 BuildRequires: flex >= 2.5.35
BuildRequires: libtool BuildRequires: libtool
@ -42,6 +44,7 @@ well with pipes and can feed "tail -f".
%ifarch %ix86 %ifarch %ix86
sed -e 's/-pg//' -i c/Makefile.am sed -e 's/-pg//' -i c/Makefile.am
%endif %endif
%patch0 -p1
%build %build
autoreconf -fiv autoreconf -fiv
@ -53,7 +56,7 @@ make %{?_smp_mflags}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE.txt README.md %doc LICENSE.txt README.md c/draft-release-notes.md
%{_bindir}/mlr %{_bindir}/mlr
%{_mandir}/man1/mlr.1%{ext_man} %{_mandir}/man1/mlr.1%{ext_man}