From c6e29b7bce61c65473128800dcd2953f064f992ea4bd3dca68353eb262bdac12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 3 Oct 2024 17:10:54 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main ed revision 6b2076ba3852a2392abeeb431544b4e8 --- ed-1.19.tar.zst | 3 --- ed-1.20.2.tar.xz | 3 +++ ed.changes | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ ed.spec | 16 ++++------------ 4 files changed, 56 insertions(+), 15 deletions(-) delete mode 100644 ed-1.19.tar.zst create mode 100644 ed-1.20.2.tar.xz diff --git a/ed-1.19.tar.zst b/ed-1.19.tar.zst deleted file mode 100644 index 63969f5..0000000 --- a/ed-1.19.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cfd96dc2224f9818532e7d5d0b5c1739223dde54f91a68b4a5a1d3b345588aca -size 69291 diff --git a/ed-1.20.2.tar.xz b/ed-1.20.2.tar.xz new file mode 100644 index 0000000..d64e902 --- /dev/null +++ b/ed-1.20.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c148f06cf38b1c316225595a47bdad9f0feec79e99e4c5803a9ed004c90da451 +size 69700 diff --git a/ed.changes b/ed.changes index e67cf65..40727c4 100644 --- a/ed.changes +++ b/ed.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Wed May 1 11:52:59 UTC 2024 - Andreas Stieger + +- GNU ed 1.20.2: + * Fix a bug that made global commands like 'g/x/s/x/x', with the + last delimiter omitted, print every substituted line twice + +------------------------------------------------------------------- +Fri Feb 16 15:50:41 UTC 2024 - Andreas Stieger + +- GNU ed 1.20.1: + * New command-line options '+line', '+/RE', and '+?RE' have been + implemented to set the current line to the line number + specified or to the first or last line matching the regular + expression 'RE'. + * File names containing control characters 1 to 31 are now + rejected unless they are allowed with the command-line option + '--unsafe-names'. + * File names containing control characters 1 to 31 are now + printed using octal escape sequences. + * Ed now rejects file names ending with a slash. + * Intervening commands that don't set the modified flag no longer + make a second 'e' or 'q' command fail with a 'buffer modified' + warning. + * Tilde expansion is now performed on file names supplied to + commands; if a file name starts with '~/', the tilde (~) is + expanded to the contents of the variable HOME. + * Ed now warns the first time that a command modifies a buffer + loaded from a read-only file. + * It has been documented that 'e' creates an empty buffer if + file does not exist. + * It has been documented that 'f' sets the default filename, + whether or not its argument names an existing file. + * The description of the exit status has been improved in + '--help' and in the manual. + +------------------------------------------------------------------- +Sun Jan 21 07:46:14 UTC 2024 - Andreas Stieger + +- update to 1.20: + * New command-line options for jumping to a line number or match + * Improved handling of file names containing control characters + * Tweak workflow for fewer 'buffer modified' warnings + * Tilde expansion is now performed on file names + * Warn on modifying a buffer from a read-only file + * Create missing intermediate directories when writing to a file + * Documentation updates +- drop obsolete makeinfo marcos + ------------------------------------------------------------------- Mon Jan 16 22:16:48 UTC 2023 - Andreas Stieger diff --git a/ed.spec b/ed.spec index e14c7c5..1206310 100644 --- a/ed.spec +++ b/ed.spec @@ -2,6 +2,7 @@ # spec file for package ed # # Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +18,7 @@ Name: ed -Version: 1.19 +Version: 1.20.2 Release: 0 Summary: A line-oriented text editor License: GPL-3.0-or-later AND LGPL-2.1-or-later @@ -25,10 +26,7 @@ Group: Productivity/Text/Editors URL: https://www.gnu.org/software/ed/ # This is just recompressed from https://ftp.gnu.org/gnu/ed/ed-%%{version}.tar.lz # in order to avoid pulling lzip to ring0 -Source0: ed-%{version}.tar.zst -BuildRequires: zstd -Requires(post): %{install_info_prereq} -Requires(preun):%{install_info_prereq} +Source0: ed-%{version}.tar.xz %description GNU ed is a line-oriented text editor. It is used to create, display, @@ -40,7 +38,7 @@ Unix, and thus widely available. For most purposes, however, it is superseded by full-screen editors such as GNU Emacs or GNU Moe. %prep -%setup -q +%autosetup -p1 %build %configure @@ -52,12 +50,6 @@ superseded by full-screen editors such as GNU Emacs or GNU Moe. %check %make_build check -%post -%install_info --entry="* ed: (ed). Line-oriented text editor" --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} - -%preun -%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} - %files %license COPYING %doc AUTHORS ChangeLog NEWS README