Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-File-ReadBackwards for
openSUSE:Factory checked in at 2021-04-29 01:37:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-ReadBackwards (Old)
and /work/SRC/openSUSE:Factory/.perl-File-ReadBackwards.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-ReadBackwards"
Thu Apr 29 01:37:40 2021 rev:6 rq:888192 version:1.06
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-File-ReadBackwards/perl-File-ReadBackwards.changes
2011-12-25 17:38:47.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-File-ReadBackwards.new.12324/perl-File-ReadBackwards.changes
2021-04-29 01:38:31.314588772 +0200
@@ -1,0 +2,14 @@
+Sat Apr 24 03:06:48 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 1.06
+ see /usr/share/doc/packages/perl-File-ReadBackwards/Changes
+
+ 1.06
+ - Drop support for Perls prior to 5.6
+ - Fix bug in tests that fail could fail with parallel build
+ (rt#92313, HAARG++)
+ - Fixed typo in documentation (rt#90009, dsteinbrunner++)
+ - Incidentally fixed compatability with Perls that do not have `.` in @INC
+ (rt#121002)
+
+-------------------------------------------------------------------
Old:
----
File-ReadBackwards-1.05.tar.gz
New:
----
File-ReadBackwards-1.06.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-File-ReadBackwards.spec ++++++
--- /var/tmp/diff_new_pack.VhBN6T/_old 2021-04-29 01:38:31.774589424 +0200
+++ /var/tmp/diff_new_pack.VhBN6T/_new 2021-04-29 01:38:31.774589424 +0200
@@ -1,8 +1,7 @@
-# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-File-ReadBackwards
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -13,57 +12,51 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
+
+%define cpan_name File-ReadBackwards
Name: perl-File-ReadBackwards
-Version: 1.05
+Version: 1.06
Release: 0
Summary: Read a file backwards by lines
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Source:
http://search.cpan.org/CPAN/authors/id/U/UR/URI/File-ReadBackwards-%{version}.tar.gz
-Url: http://search.cpan.org/dist/File-ReadBackwards
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
-BuildRequires: make
+License: Artistic-1.0 OR GPL-1.0-or-later
+URL: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
+BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(ExtUtils::MakeMaker)
+%{perl_requires}
%description
-This module reads a file backwards line by line. It is simple to use, memory
-efficient and fast. It supports both an object and a tied handle interface.
-
-It is intended for processing log and other similar text files which typically
-have their newest entries appended to them. By default files are assumed to be
-plain text and have a line ending appropriate to the OS. But you can set the
-input record separator string on a per file basis.
+This module reads a file backwards line by line. It is simple to use,
+memory efficient and fast. It supports both an object and a tied handle
+interface.
+
+It is intended for processing log and other similar text files which
+typically have their newest entries appended to them. By default files are
+assumed to be plain text and have a line ending appropriate to the OS. But
+you can set the input record separator string on a per file basis.
%prep
-%setup -q -n "File-ReadBackwards-%{version}"
-%__sed -i '/^auto_install/d' Makefile.PL
+%autosetup -n %{cpan_name}-%{version}
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
-%__perl Makefile.PL PREFIX="%{_prefix}"
-%__make %{?jobs:-j%{jobs}}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
+
+%check
+make test
%install
%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%check
-%__make test
-
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
-%files
-%defattr(-,root,root)
+%files -f %{name}.files
%doc Changes README
-%dir %{perl_vendorlib}/File
-%{perl_vendorlib}/File/ReadBackwards.pm
-%dir %{perl_vendorarch}/auto/File
-%{perl_vendorarch}/auto/File/ReadBackwards
-%doc %{perl_man3dir}/File::ReadBackwards.%{perl_man3ext}%{ext_man}
%changelog
++++++ File-ReadBackwards-1.05.tar.gz -> File-ReadBackwards-1.06.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-ReadBackwards-1.05/Changes
new/File-ReadBackwards-1.06/Changes
--- old/File-ReadBackwards-1.05/Changes 2011-06-04 08:26:21.000000000 +0200
+++ new/File-ReadBackwards-1.06/Changes 2021-04-23 04:57:24.000000000 +0200
@@ -1,5 +1,13 @@
Revision history for Perl extension File::ReadBackwards.
+1.06
+ - Drop support for Perls prior to 5.6
+ - Fix bug in tests that fail could fail with parallel build
+ (rt#92313, HAARG++)
+ - Fixed typo in documentation (rt#90009, dsteinbrunner++)
+ - Incidentally fixed compatability with Perls that do not have `.` in @INC
+ (rt#121002)
+
1.05 Sat Jun 4 02:24:35 EDT 2011
reordered Changes to be recent at the top
rewritten t/large_file.t to skip non-sparse file systems
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-ReadBackwards-1.05/MANIFEST
new/File-ReadBackwards-1.06/MANIFEST
--- old/File-ReadBackwards-1.05/MANIFEST 2005-05-06 00:54:08.000000000
+0200
+++ new/File-ReadBackwards-1.06/MANIFEST 2021-04-23 04:57:52.000000000
+0200
@@ -6,3 +6,4 @@
t/bw.t
t/large_file.t
META.yml Module meta-data (added by MakeMaker)
+META.json Module JSON meta-data (added by
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-ReadBackwards-1.05/META.json
new/File-ReadBackwards-1.06/META.json
--- old/File-ReadBackwards-1.05/META.json 1970-01-01 01:00:00.000000000
+0100
+++ new/File-ReadBackwards-1.06/META.json 2021-04-23 04:57:52.000000000
+0200
@@ -0,0 +1,48 @@
+{
+ "abstract" : "unknown",
+ "author" : [
+ "unknown"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter
version 2.150010",
+ "license" : [
+ "unknown"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : 2
+ },
+ "name" : "File-ReadBackwards",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/uperl/File-ReadBackwards/issues"
+ },
+ "homepage" : "https://metacpan.org/pod/File::ReadBackwards",
+ "repository" : {
+ "type" : "git",
+ "url" : "https://github.com/uperl/File-ReadBackwards.git",
+ "web" : "https://github.com/uperl/File-ReadBackwards"
+ }
+ },
+ "version" : "1.06",
+ "x_serialization_backend" : "JSON::PP version 4.06"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-ReadBackwards-1.05/META.yml
new/File-ReadBackwards-1.06/META.yml
--- old/File-ReadBackwards-1.05/META.yml 2011-06-07 10:07:13.000000000
+0200
+++ new/File-ReadBackwards-1.06/META.yml 2021-04-23 04:57:52.000000000
+0200
@@ -1,12 +1,25 @@
---- #YAML:1.0
-name: File-ReadBackwards
-version: 1.05
-abstract: ~
-license: ~
-author: ~
-generated_by: ExtUtils::MakeMaker version 6.42
-distribution_type: module
-requires:
+---
+abstract: unknown
+author:
+ - unknown
+build_requires:
+ ExtUtils::MakeMaker: '0'
+configure_requires:
+ ExtUtils::MakeMaker: '0'
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version
2.150010'
+license: unknown
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: File-ReadBackwards
+no_index:
+ directory:
+ - t
+ - inc
+resources:
+ bugtracker: https://github.com/uperl/File-ReadBackwards/issues
+ homepage: https://metacpan.org/pod/File::ReadBackwards
+ repository: https://github.com/uperl/File-ReadBackwards.git
+version: '1.06'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-ReadBackwards-1.05/Makefile.PL
new/File-ReadBackwards-1.06/Makefile.PL
--- old/File-ReadBackwards-1.05/Makefile.PL 2003-08-18 07:36:25.000000000
+0200
+++ new/File-ReadBackwards-1.06/Makefile.PL 2021-04-23 04:50:55.000000000
+0200
@@ -4,4 +4,21 @@
WriteMakefile(
'NAME' => 'File::ReadBackwards',
'VERSION_FROM' => 'ReadBackwards.pm', # finds $VERSION
+
+ META_MERGE => {
+ 'meta-spec' => { version => 2 },
+ resources => {
+ bugtracker => {
+ web => 'https://github.com/uperl/File-ReadBackwards/issues',
+ },
+ homepage => 'https://metacpan.org/pod/File::ReadBackwards',
+ repository => {
+ type => 'git',
+ url => 'https://github.com/uperl/File-ReadBackwards.git',
+ web => 'https://github.com/uperl/File-ReadBackwards',
+ },
+ },
+ },
+
+ clean => { FILES => 'File-ReadBackwards-*' },
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-ReadBackwards-1.05/README
new/File-ReadBackwards-1.06/README
--- old/File-ReadBackwards-1.05/README 2003-08-18 07:43:51.000000000 +0200
+++ new/File-ReadBackwards-1.06/README 2021-04-23 04:42:44.000000000 +0200
@@ -13,7 +13,7 @@
PREREQUISITES
-There are no prerequisite modules.
+Perl 5.005 or better. There are no prerequisite modules.
INSTALLATION
@@ -31,25 +31,23 @@
the normal documentation directories on your system. An HTML version of
the documentation is at:
- http://www.sysarch.com/perl/modules/File-ReadBackwards.html
+ https://metacpan.org/pod/File::ReadBackwards
SUPPORT
-If you have any questions, bug reports or feedback, email it to
+If you have any questions, bug reports or feedback, please open a ticket
+on the project GitHub:
- [email protected]
+ https://github.com/uperl/File-ReadBackwards/issues
AVAILABILITY
The latest version of File::ReadBackwards.pm will always be available in
-this directory:
-
- http://www.sysarch.com/perl/modules
-
+on CPAN.
COPYRIGHT
-(C) 2000 Uri Guttman. All rights reserved.
+(C) 2000-2021 Uri Guttman. All rights reserved.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-ReadBackwards-1.05/ReadBackwards.pm
new/File-ReadBackwards-1.06/ReadBackwards.pm
--- old/File-ReadBackwards-1.05/ReadBackwards.pm 2011-06-04
08:22:08.000000000 +0200
+++ new/File-ReadBackwards-1.06/ReadBackwards.pm 2021-04-23
04:51:42.000000000 +0200
@@ -1,20 +1,17 @@
# File::ReadBackwards.pm
-# Copyright (C) 2003 by Uri Guttman. All rights reserved.
+# Copyright (C) 2000-2021 by Uri Guttman. All rights reserved.
# mail bugs, comments and feedback to [email protected]
package File::ReadBackwards ;
use strict ;
-
-use vars qw( $VERSION ) ;
-
-$VERSION = '1.05' ;
-
use Symbol ;
use Fcntl qw( :seek O_RDONLY ) ;
use Carp ;
+our $VERSION = '1.06' ;
+
my $max_read_size = 1 << 13 ;
my $default_rec_sep ;
@@ -227,7 +224,6 @@
=head1 NAME
File::ReadBackwards.pm -- Read a file backwards by lines.
-
=head1 SYNOPSIS
@@ -258,7 +254,6 @@
}
=head1 DESCRIPTION
-
This module reads a file backwards line by line. It is simple to use,
memory efficient and fast. It supports both an object and a tied handle
@@ -270,11 +265,9 @@
OS. But you can set the input record separator string on a per file
basis.
-
=head1 OBJECT INTERFACE
-
-These are the methods in C<File::ReadBackwards>' object interface:
+These are the methods in C<File::ReadBackwards>' object interface:
=head2 new( $file, [$rec_sep], [$sep_is_regex] )
@@ -292,7 +285,7 @@
=head2 getline
C<getline> is an alias for the readline method. It is here for
-compatibilty with the IO::* classes which has a getline method.
+compatibility with the IO::* classes which has a getline method.
=head2 eof
@@ -323,7 +316,6 @@
=head1 TIED HANDLE INTERFACE
=head2 tie( *HANDLE, 'File::ReadBackwards', $file, [$rec_sep], [$sep_is_regex]
)
-
The TIEHANDLE, READLINE, EOF, CLOSE and TELL methods are aliased to
the new, readline, eof, close and tell methods respectively so refer
@@ -335,7 +327,6 @@
unsupported operations on the tied handle.
=head1 LINE AND RECORD ENDINGS
-
Since this module needs to use low level I/O for efficiency, it can't
portably seek and do block I/O without managing line ending conversions.
@@ -367,9 +358,7 @@
line (no newline) it will be the first line returned and lines larger
than the read buffer size are handled properly.
-
=head1 NOTES
-
There is no support for list context in either the object or tied
interfaces. If you want to slurp all of the lines into an array in
@@ -381,14 +370,14 @@
a file to the beginning.
=head1 AUTHOR
-
-Uri Guttman, [email protected]
+Original author: Uri Guttman, C<< [email protected] >>
+
+Current maintainer: Graham Ollis C<< [email protected] >>
=head1 COPYRIGHT
-
-Copyright (C) 2003 by Uri Guttman. All rights reserved. This program is
+Copyright (C) 2000-2021 by Uri Guttman. All rights reserved. This program is
free software; you can redistribute it and/or modify it under the same
terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-ReadBackwards-1.05/t/bw.t
new/File-ReadBackwards-1.06/t/bw.t
--- old/File-ReadBackwards-1.05/t/bw.t 2005-05-05 07:09:50.000000000 +0200
+++ new/File-ReadBackwards-1.06/t/bw.t 2021-04-23 04:42:44.000000000 +0200
@@ -1,14 +1,16 @@
#!/usr/local/bin/perl -ws
use strict ;
+use warnings ;
use Test::More ;
use Fcntl qw( :seek ) ;
use File::ReadBackwards ;
use Carp ;
+use File::Temp qw( tempfile );
-use vars qw( $opt_v ) ;
+our $opt_v ;
-my $file = 'bw.data' ;
+my (undef, $file) = tempfile('bw-XXXXXX', SUFFIX => '.data', TMPDIR => 1,
CLEANUP => 1);
my $is_crlf = ( $^O =~ /win32/i || $^O =~ /vms/i ) ;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-ReadBackwards-1.05/t/large_file.t
new/File-ReadBackwards-1.06/t/large_file.t
--- old/File-ReadBackwards-1.05/t/large_file.t 2011-06-04 08:35:27.000000000
+0200
+++ new/File-ReadBackwards-1.06/t/large_file.t 2021-04-23 04:42:44.000000000
+0200
@@ -1,7 +1,7 @@
#!/usr/local/bin/perl -ws
use strict ;
-
+use warnings ;
use Carp ;
use Config ;
use Fcntl qw( :seek ) ;
@@ -13,7 +13,7 @@
# NOTE: much of this code was taken from the core perl test script
# ops/lfs.t. it was modified to test File::ReadBackwards and large files
-my $test_file = 'bw.data' ;
+my (undef, $test_file) = tempfile('bw-XXXXXX', SUFFIX => '.data', TMPDIR => 1,
CLEANUP => 1);
my @test_lines = (
"3rd from last line\n",
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section