Accepting request 732396 from home:AndreasStieger:branches:Base:System

less 551

OBS-URL: https://build.opensuse.org/request/show/732396
OBS-URL: https://build.opensuse.org/package/show/Base:System/less?expand=0&rev=66
This commit is contained in:
Kristyna Streitova 2019-09-23 11:22:32 +00:00 committed by Git OBS Bridge
parent 0736ddf804
commit 90d68b43c6
7 changed files with 31 additions and 15 deletions

View File

@ -2,20 +2,20 @@ Index: filename.c
===================================================================
--- filename.c.orig
+++ filename.c
@@ -585,7 +585,7 @@ shellcmd(cmd)
@@ -574,7 +574,7 @@ shellcmd(cmd)
#if HAVE_SHELL
char *shell;
- shell = lgetenv("SHELL");
+ shell = lgetenv("LESSSHELL");
if (shell != NULL && *shell != '\0')
if (!isnullenv(shell))
{
char *scmd;
Index: less.hlp
===================================================================
--- less.hlp.orig
+++ less.hlp
@@ -99,7 +99,7 @@
@@ -101,7 +101,7 @@
___<_n_a_m_e_> Display the setting of an option, by name.
+_c_m_d Execute the less cmd each time a new file is examined.
@ -28,7 +28,7 @@ Index: less.nro
===================================================================
--- less.nro.orig
+++ less.nro
@@ -411,7 +411,7 @@ current file.
@@ -419,7 +419,7 @@ current file.
A pound sign (#) is replaced by the name of the previously examined file.
"!!" repeats the last shell command.
"!" with no shell command simply invokes a shell.
@ -37,7 +37,7 @@ Index: less.nro
or defaults to "sh".
On MS-DOS and OS/2 systems, the shell is the normal command processor.
.IP "| <m> shell-command"
@@ -1732,7 +1732,7 @@ compatible mode.
@@ -1790,7 +1790,7 @@ compatible mode.
.IP PATH
User's search path (used to find a lesskey file
on MS-DOS and OS/2 systems).
@ -50,7 +50,7 @@ Index: lsystem.c
===================================================================
--- lsystem.c.orig
+++ lsystem.c
@@ -128,7 +128,7 @@ lsystem(cmd, donemsg)
@@ -133,7 +133,7 @@ lsystem(cmd, donemsg)
*/
#if HAVE_SHELL
p = NULL;

Binary file not shown.

View File

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

BIN
less-551.sig Normal file

Binary file not shown.

3
less-551.tar.gz Normal file
View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Sep 21 18:59:37 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
- less 551:
* Add --mouse option
* Add --wheel-lines option
* Add --no-histdups option
* Add --save-marks option
* Support PCRE2 regular expression library
* Redraw screen on SIGWINCH even if screen size doesn't change
* Shell-escape filenames in history so they can be used again
* Ring bell if user enters invalid long option name
* Use PCRE_UTF8 flag for pcre regular expressions when in UTF-8 mode
* Don't count lines in initial screen if using -X with -F
* Fix bug in v command on empty file
* Fix bug in v command when filename contains shell metacharacters
-------------------------------------------------------------------
Sun Apr 29 09:04:21 UTC 2018 - kstreitova@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package less
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,17 +12,17 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: less
Version: 530
Version: 551
Release: 0
Summary: Text File Browser and Pager Similar to more
License: GPL-3.0-or-later OR BSD-2-Clause
Group: Productivity/Text/Utilities
Url: http://www.greenwoodsoftware.com/less/
URL: http://www.greenwoodsoftware.com/less/
Source: http://www.greenwoodsoftware.com/less/less-%{version}.tar.gz
Source1: README.SUSE
Source2: lessopen.sh
@ -35,8 +35,8 @@ Patch1: less-429-save_line_position.patch
Patch2: less-429-more.patch
BuildRequires: automake
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
Requires: file
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
less is a text file browser and pager similar to more. It allows
@ -81,7 +81,6 @@ install -m 755 lessopen.sh lessclose.sh %{buildroot}/%{_bindir}
chmod -x LICENSE COPYING NEWS README.SUSE
%files
%defattr(-, root, root)
%license LICENSE COPYING
%doc NEWS README.SUSE
%{_mandir}/*/*