From e5e9e472207bf6a0e5a46d7bec6030cea6b7cd7a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jul 29 2015 08:35:18 +0000 Subject: import less-458-9.el7 --- diff --git a/SOURCES/less-458-use-backslash.patch b/SOURCES/less-458-use-backslash.patch new file mode 100644 index 0000000..6892807 --- /dev/null +++ b/SOURCES/less-458-use-backslash.patch @@ -0,0 +1,24 @@ +diff -up ./less-458/help.c.use-backslash ./less-458/help.c +--- ./less-458/help.c.use-backslash 2015-05-21 17:37:34.000000000 +0200 ++++ ./less-458/help.c 2015-05-21 17:47:17.020997416 +0200 +@@ -208,6 +208,8 @@ constant char helpdata[] = { + ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','D','o','n','\'','t',' ','s','e','n','d',' ','t','e','r','m','c','a','p',' ','k','e','y','p','a','d',' ','i','n','i','t','/','d','e','i','n','i','t',' ','s','t','r','i','n','g','s','.','\n', + ' ',' ',' ',' ',' ',' ','.','.','.','.','.','.','.','.',' ',' ','-','-','f','o','l','l','o','w','-','n','a','m','e','\n', + ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','T','h','e',' ','F',' ','c','o','m','m','a','n','d',' ','c','h','a','n','g','e','s',' ','f','i','l','e','s',' ','i','f',' ','t','h','e',' ','i','n','p','u','t',' ','f','i','l','e',' ','i','s',' ','r','e','n','a','m','e','d','.','\n', ++' ',' ',' ',' ',' ',' ','.','.','.','.','.','.','.','.',' ',' ','-','-','u','s','e','-','b','a','c','k','s','l','a','s','h','\n', ++' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','S','u','b','s','e','q','u','e','n','t',' ','o','p','t','i','o','n','s',' ','u','s','e',' ','b','a','c','k','s','l','a','s','h',' ','a','s',' ','e','s','c','a','p','e',' ','c','h','a','r','.','\n', + '\n', + '\n', + ' ','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','\n', +diff -up ./less-458/less.hlp.use-backslash ./less-458/less.hlp +--- ./less-458/less.hlp.use-backslash 2015-05-21 17:37:34.000000000 +0200 ++++ ./less-458/less.hlp 2015-05-21 17:37:10.000000000 +0200 +@@ -205,6 +205,8 @@ + Don't send termcap keypad init/deinit strings. + ........ --follow-name + The F command changes files if the input file is renamed. ++ ........ --use-backslash ++ Subsequent options use backslash as escape char. + + + --------------------------------------------------------------------------- diff --git a/SPECS/less.spec b/SPECS/less.spec index 4ed5ee8..d2f365c 100644 --- a/SPECS/less.spec +++ b/SPECS/less.spec @@ -1,7 +1,7 @@ Summary: A text file browser similar to more, but better Name: less Version: 458 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv3+ Group: Applications/Text Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz @@ -18,6 +18,7 @@ Patch8: less-458-lessecho-usage.patch Patch9: less-458-less-filters-man.patch Patch10: less-458-lesskey-usage.patch Patch11: less-458-old-bot-in-help.patch +Patch12: less-458-use-backslash.patch URL: http://www.greenwoodsoftware.com/less/ Requires: groff-base BuildRequires: ncurses-devel @@ -45,6 +46,7 @@ files, and you'll use it frequently. %patch9 -p1 -b .less-filters-man %patch10 -p1 -b .lesskey-usage %patch11 -p1 -b .oldbothelp +%patch12 -p2 -b .use-backslash autoreconf chmod -R a+w * @@ -74,6 +76,11 @@ ls -la $RPM_BUILD_ROOT/etc/profile.d rm -rf $RPM_BUILD_ROOT %changelog +* Thu May 21 2015 Jozef Mlich - 458-9 +- The --use-backslash option documented in the man page + was missing from online help for less. + Resolves: #1109090 + * Mon Feb 03 2014 Jozef Mlich - 458-8 - changes introduced in less-458-old-bot-in-help.patch wasn't compiled in. It is necessary to use mkhelp tool.