- update to 1.8
+ Ed now stops reading stdin when reaching real End Of File the first time. (Before it needed to reach EOF twice). + Show the "Try 'ed --help' for more information." message if a bad option is given in the command line. + Quote characters in messages have been changed as advised by GNU Coding Standards. + The description of address offsets in the manual and a link to the Bash manual have been fixed. + Displaying of null characters by the "l" command has been fixed. + The condition deciding when to show the message "Newline appended" has been corrected. + The "modified" flag is now set when reading a non-empty file into an empty buffer. + An error that prevented using NUL characters in regular expressions has been fixed. + Ed now signals an error if it can't create a shell process when executing a shell command. + Ed now flushes stdout/stderr before reading a new command. + Man page is now generated with "help2man". All command-line options are now documented in the man page. - use gpg-offline to verify the package tarball OBS-URL: https://build.opensuse.org/package/show/utilities/ed?expand=0&rev=7
This commit is contained in:
27
ed.spec
27
ed.spec
@@ -16,20 +16,35 @@
|
||||
#
|
||||
|
||||
Name: ed
|
||||
Version: 1.8
|
||||
Release: 1
|
||||
Summary: GNU ed is a line-oriented text editor
|
||||
Url: http://www.gnu.org/software/ed/
|
||||
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
||||
Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
|
||||
Source2: ed.keyring
|
||||
License: GPL-3.0+ and LGPL-2.1+
|
||||
Group: Productivity/Editors/Other
|
||||
PreReq: %install_info_prereq
|
||||
Version: 1.6
|
||||
Release: 1
|
||||
Summary: Standard UNIX Line Editor
|
||||
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
Requires(pre): %install_info_prereq
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The standard, old Unix line editor.
|
||||
GNU ed is a line-oriented text editor. It is used to create, display,
|
||||
modify and otherwise manipulate text files, both interactively and via
|
||||
shell scripts. A restricted version of ed, red, can only edit files in
|
||||
the current directory and cannot execute shell commands. Ed is the
|
||||
"standard" text editor in the sense that it is the original editor for
|
||||
Unix, and thus widely available. For most purposes, however, it is
|
||||
superseded by full-screen editors such as GNU Emacs or GNU Moe.
|
||||
|
||||
%prep
|
||||
%if 0%{?suse_version} >= 1230
|
||||
%gpg_verify %{SOURCE1}
|
||||
%endif
|
||||
|
||||
%setup -q
|
||||
sed -i \
|
||||
-e "s/CFLAGS='.*/CFLAGS='%{optflags}'/" \
|
||||
|
Reference in New Issue
Block a user