Update to new upstream release

Resolves: #1674080
This commit is contained in:
Matej Mužila 2019-06-04 15:22:03 +02:00
parent dfb1edb94c
commit 4a46a54bc3
6 changed files with 13 additions and 8 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/less-530.tar.gz /less-530.tar.gz
/less-550.tar.gz

View File

@ -14,8 +14,8 @@ diff -ur less-418.orig/configure.ac less-418/configure.ac
# Checks for library functions. # Checks for library functions.
AC_TYPE_SIGNAL AC_TYPE_SIGNAL
-AC_CHECK_FUNCS([fsync 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]) +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_CHECK_FUNCS may not work for inline functions, so test these separately.
AC_MSG_CHECKING(for memcpy) AC_MSG_CHECKING(for memcpy)

View File

@ -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_orig/lessecho.c 2013-05-07 14:03:52.091104655 +0200
+++ less-458_work/lessecho.c 2013-05-07 11:21:10.883991862 +0200 +++ less-458_work/lessecho.c 2013-05-07 11:21:10.883991862 +0200
@@ -41,7 +41,27 @@ static int num_metachars = 0; @@ -41,7 +41,27 @@ static int num_metachars = 0;
pr_usage() pr_usage(VOID_PARAM)
{ {
fprintf(stderr, fprintf(stderr,
- "usage: lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-fn] [-a] file ...\n"); - "usage: lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-fn] [-a] file ...\n");

View File

@ -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 +++ less-458_work/lesskey.c 2013-05-07 11:21:10.881991855 +0200
@@ -217,7 +217,15 @@ extern char version[]; @@ -217,7 +217,15 @@ extern char version[];
void void
usage() usage(VOID_PARAM)
{ {
- fprintf(stderr, "usage: lesskey [-o output] [input]\n"); - fprintf(stderr, "usage: lesskey [-o output] [input]\n");
+ fprintf(stderr, "usage: lesskey [-o output] [input]\n\n"); + fprintf(stderr, "usage: lesskey [-o output] [input]\n\n");

View File

@ -1,7 +1,7 @@
Summary: A text file browser similar to more, but better Summary: A text file browser similar to more, but better
Name: less Name: less
Version: 530 Version: 550
Release: 4%{?dist} Release: 1%{?dist}
License: GPLv3+ or BSD License: GPLv3+ or BSD
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
Source1: lesspipe.sh 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 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 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 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 You should install less because it is a basic utility for viewing text
files, and you'll use it frequently. files, and you'll use it frequently.
@ -62,6 +62,10 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Tue Jun 04 2019 Matej Mužila <mmuzila@redhat.com> - 550-1
- Update to new upstream release
- Resolves: #1674080
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 530-4 * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 530-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (less-530.tar.gz) = 8d83a18b5648c4fe85921a563aa2c40bcf495aeb611098c83cd167b1e2f706649846cdf457c8506ae2683ab362ad970a0b261747349673020894bccdb9acbc10 SHA512 (less-550.tar.gz) = a3d2769d90589a8e6afbfc9ac10cd1b544e0b0bbe28884e5ad980a71c541a37545c11d3450984b346b516fe082dfc0cf89d246c5a2d6002a7a2b4a4296a15494