diff --git a/less-661.sig b/less-661.sig deleted file mode 100644 index f49d655..0000000 Binary files a/less-661.sig and /dev/null differ diff --git a/less-661.tar.gz b/less-661.tar.gz deleted file mode 100644 index 9e5bc71..0000000 --- a/less-661.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b5f0167216e3ef0ffcb0c31c374e287eb035e4e223d5dae315c2783b6e738ed -size 648198 diff --git a/less-668.sig b/less-668.sig new file mode 100644 index 0000000..93b69b2 Binary files /dev/null and b/less-668.sig differ diff --git a/less-668.tar.gz b/less-668.tar.gz new file mode 100644 index 0000000..50d243a --- /dev/null +++ b/less-668.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2819f55564d86d542abbecafd82ff61e819a3eec967faa36cd3e68f1596a44b8 +size 649770 diff --git a/less.changes b/less.changes index ae30f78..16aaf71 100644 --- a/less.changes +++ b/less.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sun Dec 15 06:16:41 UTC 2024 - Bernhard Wiedemann + +- Update to 668 + * Fix crash when using --header on command line + * Fix possible crash when scrolling left/right or toggling -S + * Fix bug when using #stop in a lesskey file + * Fix bug when using --shift or --match-shift on command line with a parameter starting with '.' + * Fix bug in R command when file size changes + * Fix bug using --header when file does not fill screen + * Fix ^X bug when output is not a terminal + * Fix bug where ^Z is not handled immediately + * Fix bug where first byte from a LESSOPEN filter is deleted if it is greater than 0x7F + * Fix uninitialized variable in edit_ifile + * Fix incorrect handling of UTF-8 chars in prompts +- Add reproducible.patch to override build date (boo#1047218) + ------------------------------------------------------------------- Mon Oct 21 14:48:40 UTC 2024 - Antonio Feijoo diff --git a/less.spec b/less.spec index 8f0f10c..ef3581a 100644 --- a/less.spec +++ b/less.spec @@ -23,7 +23,7 @@ %define use_usretc 1 %endif Name: less -Version: 661 +Version: 668 Release: 0 Summary: Text File Browser and Pager Similar to more License: BSD-2-Clause OR GPL-3.0-or-later @@ -38,6 +38,7 @@ 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: ncurses-devel BuildRequires: pkgconfig diff --git a/reproducible.patch b/reproducible.patch new file mode 100644 index 0000000..09e9b33 --- /dev/null +++ b/reproducible.patch @@ -0,0 +1,22 @@ +https://github.com/gwsw/less/pull/567 +From c02f7554a1e5685e4332fb6857e95761953c8db4 Mon Sep 17 00:00:00 2001 +From: Mark Nudelman +Date: Mon, 9 Sep 2024 14:48:10 -0700 +Subject: [PATCH] Allow SOURCE_DATE_EPOCH to override timestamps in generated + files. + +Related to #567. + +diff --git a/mkhelp.pl b/mkhelp.pl +index e93535b..452d9a0 100755 +--- a/mkhelp.pl ++++ b/mkhelp.pl +@@ -7,7 +7,7 @@ use strict; + # whose content is the input to this script. + + { +- my ($sec,$min,$hour,$mday,$mon,$year) = gmtime(); ++ my ($sec,$min,$hour,$mday,$mon,$year) = gmtime($ENV{SOURCE_DATE_EPOCH} // time()); + printf "/* This file was generated by mkhelp.pl from less.hlp at %d:%02d on %d/%d/%d */\n", + $hour, $min, $year+1900, $mon+1, $mday; + print "#include \"less.h\"\n";