Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Term-ReadLine-Gnu for
openSUSE:Factory checked in at 2022-11-09 12:57:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Term-ReadLine-Gnu (Old)
and /work/SRC/openSUSE:Factory/.perl-Term-ReadLine-Gnu.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Term-ReadLine-Gnu"
Wed Nov 9 12:57:11 2022 rev:7 rq:1034533 version:1.44
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.changes
2022-10-06 07:41:40.776617246 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Term-ReadLine-Gnu.new.1597/perl-Term-ReadLine-Gnu.changes
2022-11-09 12:57:41.444434274 +0100
@@ -1,0 +2,12 @@
+Mon Nov 7 03:08:07 UTC 2022 - Tina M??ller <[email protected]>
+
+- updated to 1.44
+ see /usr/share/doc/packages/perl-Term-ReadLine-Gnu/Changes
+
+ 1.44 2022-11-06
+ - change the TERM check as bash does (#11)
+ - Use `Term::ReadLine::Stub` if the environment variable `TERM` is
+ set to `"emacs"` or the environment variable `INSIDE_EMACS` or
+ `EMACS` is defined.
+
+-------------------------------------------------------------------
Old:
----
Term-ReadLine-Gnu-1.43.tar.gz
New:
----
Term-ReadLine-Gnu-1.44.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Term-ReadLine-Gnu.spec ++++++
--- /var/tmp/diff_new_pack.JsrshE/_old 2022-11-09 12:57:41.968437228 +0100
+++ /var/tmp/diff_new_pack.JsrshE/_new 2022-11-09 12:57:41.976437274 +0100
@@ -18,7 +18,7 @@
%define cpan_name Term-ReadLine-Gnu
Name: perl-Term-ReadLine-Gnu
-Version: 1.43
+Version: 1.44
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl extension for the GNU Readline/History Library
++++++ Term-ReadLine-Gnu-1.43.tar.gz -> Term-ReadLine-Gnu-1.44.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.43/Changes
new/Term-ReadLine-Gnu-1.44/Changes
--- old/Term-ReadLine-Gnu-1.43/Changes 2022-10-01 06:58:39.000000000 +0200
+++ new/Term-ReadLine-Gnu-1.44/Changes 2022-11-06 14:34:24.000000000 +0100
@@ -1,5 +1,11 @@
-*- Indented-text -*-
+1.44 2022-11-06
+ - change the TERM check as bash does (#11)
+ - Use `Term::ReadLine::Stub` if the environment variable `TERM` is
+ set to `"emacs"` or the environment variable `INSIDE_EMACS` or
+ `EMACS` is defined.
+
1.43 2022-09-27
- readline-8.2 support
new functions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.43/Gnu/XS.pm
new/Term-ReadLine-Gnu-1.44/Gnu/XS.pm
--- old/Term-ReadLine-Gnu-1.43/Gnu/XS.pm 2022-10-01 06:58:39.000000000
+0200
+++ new/Term-ReadLine-Gnu-1.44/Gnu/XS.pm 2022-11-06 14:42:36.000000000
+0100
@@ -1,7 +1,7 @@
#
# XS.pm : perl function definition for Term::ReadLine::Gnu
#
-# Copyright (c) 1999-2021 Hiroo Hayashi. All rights reserved.
+# Copyright (c) 1999-2022 Hiroo Hayashi. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
@@ -14,7 +14,7 @@
use AutoLoader 'AUTOLOAD';
our $VERSION;
-$VERSION='1.43'; # added for CPAN
+$VERSION='1.44'; # added for CPAN
# make aliases
our %Attribs;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.43/Gnu.pm
new/Term-ReadLine-Gnu-1.44/Gnu.pm
--- old/Term-ReadLine-Gnu-1.43/Gnu.pm 2022-10-01 06:58:39.000000000 +0200
+++ new/Term-ReadLine-Gnu-1.44/Gnu.pm 2022-11-06 14:42:28.000000000 +0100
@@ -1,7 +1,7 @@
#
# Gnu.pm --- The GNU Readline/History Library wrapper module
#
-# Copyright (c) 1996-2021 Hiroo Hayashi. All rights reserved.
+# Copyright (c) 1996-2022 Hiroo Hayashi. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
@@ -78,12 +78,17 @@
END
}
}
-# use Term::ReadLine::Stub on a dumb terminal.
-# https://rt.cpan.org/Ticket/Display.html?id=123398
-# Debian Bug Report #99843
+
BEGIN {
- if (!exists($ENV{TERM}) || !defined($ENV{TERM}) || $ENV{TERM} =~
/^(dumb|emacs|unknown|)$/) {
- croak "dumb terminal.";
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=99843
+ $ENV{TERM} = 'dumb' unless defined($ENV{TERM});
+
+ # Use Term::ReadLine::Stub in Emacs
+ # as bash does not do line-editing in the case. (cf. bash-5.2/shell.c)
+ # https://rt.cpan.org/Ticket/Display.html?id=123398
+ # https://github.com/hirooih/perl-trg/issues/11
+ if ($ENV{TERM} eq "emacs" || defined($ENV{EMACS}) ||
defined($ENV{INSIDE_EMACS})) {
+ croak "Use Term::ReadLine::Stub.";
}
}
@@ -91,7 +96,7 @@
use Exporter ();
use DynaLoader;
- our $VERSION = '1.43'; # update Gnu::XS::VERSION also.
+ our $VERSION = '1.44'; # update Gnu::XS::VERSION also.
# Term::ReadLine::Gnu::AU makes a function in
# `Term::ReadLine::Gnu::XS' as a method.
@@ -2177,6 +2182,10 @@
L<Term::ReadLine|http://search.cpan.org/dist/Term-ReadLine/> for
further details.
+If the environment variable C<TERM> is set to C<"emacs">
+or the environment variable C<INSIDE_EMACS> or C<EMACS> is defined,
+C<Term::ReadLine::Stub> is used instead of <Term::ReadLine:Gnu>.
+
=head1 SEE ALSO
=over 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.43/META.json
new/Term-ReadLine-Gnu-1.44/META.json
--- old/Term-ReadLine-Gnu-1.43/META.json 2022-10-01 07:08:20.000000000
+0200
+++ new/Term-ReadLine-Gnu-1.44/META.json 2022-11-06 15:00:00.000000000
+0100
@@ -49,6 +49,6 @@
"url" : "https://github.com/hirooih/perl-trg.git"
}
},
- "version" : "1.43",
+ "version" : "1.44",
"x_serialization_backend" : "JSON::PP version 4.02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.43/META.yml
new/Term-ReadLine-Gnu-1.44/META.yml
--- old/Term-ReadLine-Gnu-1.43/META.yml 2022-10-01 07:08:20.000000000 +0200
+++ new/Term-ReadLine-Gnu-1.44/META.yml 2022-11-06 15:00:00.000000000 +0100
@@ -24,5 +24,5 @@
homepage: https://github.com/hirooih/perl-trg
license: http://dev.perl.org/licenses/
repository: https://github.com/hirooih/perl-trg.git
-version: '1.43'
+version: '1.44'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.43/Makefile.PL
new/Term-ReadLine-Gnu-1.44/Makefile.PL
--- old/Term-ReadLine-Gnu-1.43/Makefile.PL 2022-09-29 15:53:18.000000000
+0200
+++ new/Term-ReadLine-Gnu-1.44/Makefile.PL 2022-11-06 11:01:46.000000000
+0100
@@ -30,12 +30,6 @@
warn "cannot open /dev/tty\n";
exit 0;
}
-# https://rt.cpan.org/Ticket/Display.html?id=128806
-# https://github.com/hirooih/perl-trg/issues/11
-if (!exists($ENV{TERM}) || !defined($ENV{TERM}) || $ENV{TERM} =~
/^(dumb|emacs|unknown|)$/) {
- warn "Warning: wrong \$TERM value, '$ENV{TERM}'. The GNU Readline Library
does not work properly.\n";
- exit 0 if $ENV{AUTOMATED_TESTING}; # exit on CPAN testers
-}
push(@defs, '-DHAVE_STRING_H') if ($Config{strings} =~ m|/string.h$|);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.43/t/00checkver.t
new/Term-ReadLine-Gnu-1.44/t/00checkver.t
--- old/Term-ReadLine-Gnu-1.43/t/00checkver.t 2022-09-29 15:17:16.000000000
+0200
+++ new/Term-ReadLine-Gnu-1.44/t/00checkver.t 2022-11-06 11:00:19.000000000
+0100
@@ -27,8 +27,8 @@
# The GNU Readline library requires $TERM to be set properly.
# https://github.com/hirooih/perl-trg/issues/11
-if (!exists($ENV{TERM}) || !defined($ENV{TERM}) || $ENV{TERM} =~
/^(dumb|emacs|unknown|)$/) {
- warn "wrong \$TERM value: $ENV{TERM}\n";
+if ($ENV{TERM} eq "emacs" || defined($ENV{EMACS}) ||
defined($ENV{INSIDE_EMACS})) {
+ warn "Wrong env setting: \$TERM is set to 'emacs', or \$EMACS or
\$INSIDE_EMACS is defined.\n";
exit 1;
}
ok(1, '$TERM value');