diff --git a/.gitignore b/.gitignore index 0e8ce99..563e44e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /less-471.tar.gz /less-478.tar.gz /less-479.tar.gz +/less-481.tar.gz diff --git a/less-394-search.patch b/less-394-search.patch deleted file mode 100644 index 909d1b4..0000000 --- a/less-394-search.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- less-394/line.c.search 2005-12-03 21:20:32.000000000 +0100 -+++ less-394/line.c 2006-02-15 11:23:25.308694376 +0100 -@@ -1125,6 +1125,14 @@ - break; - } - } -+ if (c == '\0') -+ { -+ /* -+ * Pretend the line ended here -+ */ -+ new_pos = ch_tell(); -+ break; -+ } - linebuf[n++] = c; - c = ch_forw_get(); - } -@@ -1198,6 +1206,14 @@ - *to = *fm; - n = size_linebuf - old_size_linebuf; - } -+ if (c == '\0') -+ { -+ /* -+ * Pretend the line ended here -+ */ -+ new_pos = ch_tell() + 1; -+ break; -+ } - linebuf[--n] = c; - } - if (linep != NULL) diff --git a/less-458-outdated-unicode-data.patch b/less-458-outdated-unicode-data.patch deleted file mode 100644 index b0697fa..0000000 --- a/less-458-outdated-unicode-data.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -pruN less-458.orig/charset.c less-458/charset.c ---- less-458.orig/charset.c 2013-04-05 01:55:05.000000000 +0900 -+++ less-458/charset.c 2014-03-10 19:47:09.850026052 +0900 -@@ -970,7 +970,7 @@ static struct wchar_range ubin_table[] = - { 0x2064, 0x2069} /* Cn */, - { 0x206A, 0x206F} /* Cf */, - { 0x2072, 0x2073} /* Cn */, { 0x208F, 0x208F} /* Cn */, -- { 0x2095, 0x209F} /* Cn */, { 0x20B6, 0x20CF} /* Cn */, -+ { 0x2095, 0x209F} /* Cn */, { 0x20BB, 0x20CF} /* Cn */, - { 0x20F0, 0x20FF} /* Cn */, { 0x214F, 0x2152} /* Cn */, - { 0x2185, 0x218F} /* Cn */, { 0x23E8, 0x23FF} /* Cn */, - { 0x2427, 0x243F} /* Cn */, { 0x244B, 0x245F} /* Cn */, diff --git a/less.spec b/less.spec index 8b77c2e..0408c36 100644 --- a/less.spec +++ b/less.spec @@ -1,7 +1,7 @@ Summary: A text file browser similar to more, but better Name: less -Version: 479 -Release: 2%{?dist} +Version: 481 +Release: 1%{?dist} License: GPLv3+ or BSD Group: Applications/Text Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz @@ -9,7 +9,6 @@ Source1: lesspipe.sh Source2: less.sh Source3: less.csh Patch1: less-444-Foption.v2.patch -Patch2: less-394-search.patch Patch4: less-394-time.patch Patch5: less-418-fsync.patch Patch6: less-436-manpage-add-old-bot-option.patch @@ -37,7 +36,6 @@ files, and you'll use it frequently. %prep %setup -q %patch1 -p2 -b .Foption -%patch2 -p1 -b .search %patch4 -p1 -b .time %patch5 -p1 -b .fsync %patch6 -p1 -b .manpage-add-old-bot-option @@ -69,6 +67,9 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d %{_mandir}/man1/* %changelog +* Fri Oct 2 2015 Viktor Jancik - 481-1 +- Update to version 481, fixes #1231493 + * Wed Sep 2 2015 Viktor Jancik - 479-2 - Updated spec file to comply with current Fedora Packaging Guidelines Added missing documentation files diff --git a/sources b/sources index da68519..b9f3fe7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -049f51ccfe2686009c6ce943eeb4bbaf less-479.tar.gz +50ef46065c65257141a7340123527767 less-481.tar.gz