Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package less for openSUSE:Factory checked in at 2025-05-13 20:11:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/less (Old) and /work/SRC/openSUSE:Factory/.less.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "less" Tue May 13 20:11:52 2025 rev:79 rq:1276665 version:676 Changes: -------- --- /work/SRC/openSUSE:Factory/less/less.changes 2025-03-07 16:39:49.487471914 +0100 +++ /work/SRC/openSUSE:Factory/.less.new.30101/less.changes 2025-05-13 20:11:57.071159264 +0200 @@ -1,0 +2,49 @@ +Fri Apr 25 11:32:43 UTC 2025 - Matej Cepl <mc...@cepl.eu> + +- Update to 676 + * Treat -r in LESS environment variable as -R. + * Add ESC-j and ESC-k commands (github #560). + * Add --no-paste option (github #523). + * Add --no-edit-warn option (github #513). + * Add --form-feed option (github #496). + * Add ESC-b command (github #615). + * Make TAB complete option name in -- command (github #531). + * Update the file size on an attempt to go past end of file. + * Make -R able to pass through any OSC escape sequences, not + just OSC 8 (github #504). + * Setting LESS_IS_MORE=0 now disables "more" compatibility even + if invoked via a file link named "more" (github #500). + * Pass through escape sequences in prompts even if -R is not + set. + * Add LESS_SHELL_LINES to support shell prompts which use more + than one line (github #514). + * Add LESSANSIOSCALLOW to define OSC types which may be passed + through. + * Add LESSANSIOSCCHARS to define non-standard OSC intro chars. + * Add LESS_SIGUSR1 to define user signal handler (github #582). + * Add mouse and mouse6 commands to lesskey (github #569). + * Improve behavior of ^O^N and ^O^P commands. + * Fix unexpected behavior when entering a partial command + followed by a valid command (github #543). + * Fix bug when coloring prompt string with SGR sequences + (github #516). + * Fix bug when searching for text near an invalid UTF-8 + sequence (github #542). + * Fix display bug when file contains ESC followed by NUL + (github #550). + * Fix bug when using +:n +:p +:x or +:d on the command line + (github #552). + * Fix bug with --no-number-headers when header is not at start + of file (github #566). + * Fix bug where lesstest fails if window is resized (github + #570). + * Fix bug using "configure --with-secure=no" (github #584). + * Fix bug using multibyte command chars (github #595). + * Fix auto_wrap setting on Windows (github #497). + * Fix two bugs using ^S search modifier (github #605). + * Fix bug searching for UTF-8 strings with the PCRE2 library + (github #610). + * Fix bug highlighting OSC 8 links when opening a new file. +- Remove upstreamed reproducible.patch + +------------------------------------------------------------------- Old: ---- less-668.sig less-668.tar.gz reproducible.patch New: ---- less-676.tar.gz BETA DEBUG BEGIN: Old: * Fix bug highlighting OSC 8 links when opening a new file. - Remove upstreamed reproducible.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ less.spec ++++++ --- /var/tmp/diff_new_pack.MwNvKR/_old 2025-05-13 20:11:58.415215675 +0200 +++ /var/tmp/diff_new_pack.MwNvKR/_new 2025-05-13 20:11:58.419215843 +0200 @@ -1,7 +1,7 @@ # # spec file for package less # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2024 Andreas Stieger <andreas.stie...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -23,7 +23,7 @@ %define use_usretc 1 %endif Name: less -Version: 668 +Version: 676 Release: 0 Summary: Text File Browser and Pager Similar to more License: BSD-2-Clause OR GPL-3.0-or-later @@ -34,12 +34,12 @@ Source2: lessopen.sh Source3: lessclose.sh Source4: lesskey.src -Source5: https://www.greenwoodsoftware.com/less/less-%{version}.sig +# Source5: https://www.greenwoodsoftware.com/less/less-%%{version}.sig Source6: https://www.greenwoodsoftware.com/less/pubkey.asc#/%{name}.keyring Patch0: less-429-shell.patch Patch2: less-429-more.patch -Patch3: reproducible.patch BuildRequires: automake +BuildRequires: groff BuildRequires: ncurses-devel BuildRequires: pkgconfig # weak dependencies required only by preprocessor, which is disabled by default @@ -61,6 +61,8 @@ # cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . +make -f Makefile.aut distfiles + %build autoreconf -fiv export CFLAGS="%{optflags} -fPIE" @@ -68,7 +70,8 @@ %configure # # regenerate help.c because less.hlp was patched -./mkhelp.pl <less.hlp >help.c +perl mkhelp.pl < less.hlp > help.c +grep -h "^public [^;]*$" *.c *.h | sed "s/$/;/" >funcs.h # # build less %make_build ++++++ less-429-more.patch ++++++ --- /var/tmp/diff_new_pack.MwNvKR/_old 2025-05-13 20:11:58.459217522 +0200 +++ /var/tmp/diff_new_pack.MwNvKR/_new 2025-05-13 20:11:58.467217857 +0200 @@ -1,8 +1,12 @@ -Index: less-643/option.c +--- + option.c | 4 ++++ + 1 file changed, 4 insertions(+) + +Index: less-676/option.c =================================================================== ---- less-643.orig/option.c -+++ less-643/option.c -@@ -165,6 +165,10 @@ public void scan_option(char *s) +--- less-676.orig/option.c 2025-04-16 21:56:56.000000000 +0200 ++++ less-676/option.c 2025-04-25 13:37:40.675778807 +0200 +@@ -169,6 +169,10 @@ s--; optc = 'z'; break; ++++++ less-429-shell.patch ++++++ --- /var/tmp/diff_new_pack.MwNvKR/_old 2025-05-13 20:11:58.479218361 +0200 +++ /var/tmp/diff_new_pack.MwNvKR/_new 2025-05-13 20:11:58.483218529 +0200 @@ -1,8 +1,14 @@ -Index: less-656/filename.c +--- + filename.c | 2 +- + less.hlp | 2 +- + lsystem.c | 4 ++-- + 3 files changed, 4 insertions(+), 4 deletions(-) + +Index: less-676/filename.c =================================================================== ---- less-656.orig/filename.c -+++ less-656/filename.c -@@ -553,7 +553,7 @@ static FILE * shellcmd(constant char *cm +--- less-676.orig/filename.c 2025-04-16 21:56:56.000000000 +0200 ++++ less-676/filename.c 2025-04-25 13:37:10.333952009 +0200 +@@ -553,7 +553,7 @@ #if HAVE_SHELL constant char *shell; @@ -11,11 +17,11 @@ if (!isnullenv(shell)) { char *scmd; -Index: less-656/less.hlp +Index: less-676/less.hlp =================================================================== ---- less-656.orig/less.hlp -+++ less-656/less.hlp -@@ -109,7 +109,7 @@ +--- less-676.orig/less.hlp 2025-04-16 21:56:56.000000000 +0200 ++++ less-676/less.hlp 2025-04-25 13:37:10.334552439 +0200 +@@ -113,7 +113,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. @@ -24,33 +30,11 @@ #_c_o_m_m_a_n_d Execute the shell command, expanded like a prompt. |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. s _f_i_l_e Save input to a file. -Index: less-656/less.nro +Index: less-676/lsystem.c =================================================================== ---- less-656.orig/less.nro -+++ less-656/less.nro -@@ -468,7 +468,7 @@ A pound sign (#) is replaced by the name - "!" with no shell command simply invokes a shell. - If a \(haP (CONTROL-P) is entered immediately after the !, - no "done" message is printed after the shell command is executed. --On Unix systems, the shell is taken from the environment variable SHELL, -+On Unix systems, the shell is taken from the environment variable LESSSHELL, - or defaults to "sh". - On MS-DOS, Windows, and OS/2 systems, the shell is the normal command processor. - .IP "# shell-command" -@@ -2493,7 +2493,7 @@ automatically when running in - .IP PATH - User's search path (used to find a lesskey file - on MS-DOS, Windows, and OS/2 systems). --.IP SHELL -+.IP LESSSHELL - The shell used to execute the !\& command, as well as to expand filenames. - .IP TERM - The type of terminal on which -Index: less-656/lsystem.c -=================================================================== ---- less-656.orig/lsystem.c -+++ less-656/lsystem.c -@@ -120,13 +120,13 @@ public void lsystem(constant char *cmd, +--- less-676.orig/lsystem.c 2025-04-16 21:56:56.000000000 +0200 ++++ less-676/lsystem.c 2025-04-25 13:37:10.334851222 +0200 +@@ -120,13 +120,13 @@ /* * Pass the command to the system to be executed. ++++++ less-668.tar.gz -> less-676.tar.gz ++++++ ++++ 76319 lines of diff (skipped)