diff --git a/.gitignore b/.gitignore index 1d8f23b..08d3f3f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /less-530.tar.gz +/less-550.tar.gz diff --git a/less-418-fsync.patch b/less-418-fsync.patch index 5774bb2..5288fb2 100644 --- a/less-418-fsync.patch +++ b/less-418-fsync.patch @@ -14,8 +14,8 @@ diff -ur less-418.orig/configure.ac less-418/configure.ac # Checks for library functions. AC_TYPE_SIGNAL --AC_CHECK_FUNCS([fsync popen _setjmp sigprocmask sigsetmask snprintf stat system fchmod]) -+AC_CHECK_FUNCS([popen _setjmp sigprocmask sigsetmask snprintf stat system fchmod]) +-AC_CHECK_FUNCS([fsync popen _setjmp sigprocmask sigsetmask snprintf stat system fchmod realpath]) ++AC_CHECK_FUNCS([popen _setjmp sigprocmask sigsetmask snprintf stat system fchmod realpath]) # AC_CHECK_FUNCS may not work for inline functions, so test these separately. AC_MSG_CHECKING(for memcpy) diff --git a/less-458-lessecho-usage.patch b/less-458-lessecho-usage.patch index 40a05b7..14a7f37 100644 --- a/less-458-lessecho-usage.patch +++ b/less-458-lessecho-usage.patch @@ -2,7 +2,7 @@ diff -upr less-458_orig/lessecho.c less-458_work/lessecho.c --- less-458_orig/lessecho.c 2013-05-07 14:03:52.091104655 +0200 +++ less-458_work/lessecho.c 2013-05-07 11:21:10.883991862 +0200 @@ -41,7 +41,27 @@ static int num_metachars = 0; - pr_usage() + pr_usage(VOID_PARAM) { fprintf(stderr, - "usage: lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-fn] [-a] file ...\n"); diff --git a/less-458-lesskey-usage.patch b/less-458-lesskey-usage.patch index dbef8a0..4015354 100644 --- a/less-458-lesskey-usage.patch +++ b/less-458-lesskey-usage.patch @@ -3,7 +3,7 @@ diff -upr less-458_orig/lesskey.c less-458_work/lesskey.c +++ less-458_work/lesskey.c 2013-05-07 11:21:10.881991855 +0200 @@ -217,7 +217,15 @@ extern char version[]; void - usage() + usage(VOID_PARAM) { - fprintf(stderr, "usage: lesskey [-o output] [input]\n"); + fprintf(stderr, "usage: lesskey [-o output] [input]\n\n"); diff --git a/less.spec b/less.spec index c895f19..2455be5 100644 --- a/less.spec +++ b/less.spec @@ -1,7 +1,7 @@ Summary: A text file browser similar to more, but better Name: less -Version: 530 -Release: 4%{?dist} +Version: 550 +Release: 1%{?dist} License: GPLv3+ or BSD Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz Source1: lesspipe.sh @@ -24,7 +24,7 @@ The less utility is a text file browser that resembles more, but has more capabilities. Less allows you to move backwards in the file as well as forwards. Since less doesn't have to read the entire input file before it starts, less starts up more quickly than text editors (for -example, vi). +example, vi). You should install less because it is a basic utility for viewing text files, and you'll use it frequently. @@ -62,6 +62,10 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d %{_mandir}/man1/* %changelog +* Tue Jun 04 2019 Matej Mužila - 550-1 +- Update to new upstream release +- Resolves: #1674080 + * Fri Feb 01 2019 Fedora Release Engineering - 530-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index b754c36..9981d61 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (less-530.tar.gz) = 8d83a18b5648c4fe85921a563aa2c40bcf495aeb611098c83cd167b1e2f706649846cdf457c8506ae2683ab362ad970a0b261747349673020894bccdb9acbc10 +SHA512 (less-550.tar.gz) = a3d2769d90589a8e6afbfc9ac10cd1b544e0b0bbe28884e5ad980a71c541a37545c11d3450984b346b516fe082dfc0cf89d246c5a2d6002a7a2b4a4296a15494