Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Term-ProgressBar for
openSUSE:Factory checked in at 2022-10-15 16:37:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Term-ProgressBar (Old)
and /work/SRC/openSUSE:Factory/.perl-Term-ProgressBar.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Term-ProgressBar"
Sat Oct 15 16:37:46 2022 rev:11 rq:1010988 version:2.23
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Term-ProgressBar/perl-Term-ProgressBar.changes
2018-05-15 10:34:08.538556748 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Term-ProgressBar.new.2275/perl-Term-ProgressBar.changes
2022-10-15 16:40:37.254609539 +0200
@@ -1,0 +2,9 @@
+Sun Oct 9 03:07:26 UTC 2022 - Tina M??ller <[email protected]>
+
+- updated to 2.23
+ see /usr/share/doc/packages/perl-Term-ProgressBar/Changes
+
+ 2.23 2022-10-08 MANWAR
+ - Merged PR #11: Added a check to print a full bar at the end, thanks
@cwallacetlc.
+
+-------------------------------------------------------------------
Old:
----
Term-ProgressBar-2.22.tar.gz
New:
----
Term-ProgressBar-2.23.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Term-ProgressBar.spec ++++++
--- /var/tmp/diff_new_pack.9NEs76/_old 2022-10-15 16:40:37.690610587 +0200
+++ /var/tmp/diff_new_pack.9NEs76/_new 2022-10-15 16:40:37.698610606 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Term-ProgressBar
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,20 @@
# 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 Term-ProgressBar
Name: perl-Term-ProgressBar
-Version: 2.22
+Version: 2.23
Release: 0
-%define cpan_name Term-ProgressBar
-Summary: Provide a Progress Meter On a Standard Terminal
License: Artistic-1.0 OR GPL-1.0-or-later
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Term-ProgressBar/
+Summary: Provide a progress meter on a standard terminal
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny) >= 0.13
@@ -67,15 +65,15 @@
bar for the same width.
%prep
-%setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+%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 INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -83,7 +81,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes examples README
%changelog
++++++ Term-ProgressBar-2.22.tar.gz -> Term-ProgressBar-2.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ProgressBar-2.22/Changes
new/Term-ProgressBar-2.23/Changes
--- old/Term-ProgressBar-2.22/Changes 2018-05-11 18:41:10.000000000 +0200
+++ new/Term-ProgressBar-2.23/Changes 2022-10-08 05:20:03.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for Perl extension Term::ProgressBar
+2.23 2022-10-08 MANWAR
+ - Merged PR #11: Added a check to print a full bar at the end, thanks
@cwallacetlc.
+
2.22 2018-05-12 MANWAR
- Merged PR #10: Amend to prevent uninitialised warning error, thanks
@lharey.
@@ -116,4 +119,4 @@
1.00 2001-10-30
- original version
- - by Edward Avis, <epa98 at sync32>
\ No newline at end of file
+ - by Edward Avis, <epa98 at sync32>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ProgressBar-2.22/META.json
new/Term-ProgressBar-2.23/META.json
--- old/Term-ProgressBar-2.22/META.json 2018-05-12 11:01:27.000000000 +0200
+++ new/Term-ProgressBar-2.23/META.json 2022-10-08 05:22:49.000000000 +0200
@@ -4,13 +4,13 @@
"Martyn J. Pearce"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150005",
+ "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Term-ProgressBar",
"no_index" : {
@@ -51,6 +51,6 @@
"url" : "https://github.com/manwar/Term-ProgressBar"
}
},
- "version" : "2.22",
- "x_serialization_backend" : "JSON::PP version 2.27400"
+ "version" : "2.23",
+ "x_serialization_backend" : "JSON::PP version 4.02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ProgressBar-2.22/META.yml
new/Term-ProgressBar-2.23/META.yml
--- old/Term-ProgressBar-2.22/META.yml 2018-05-12 11:01:27.000000000 +0200
+++ new/Term-ProgressBar-2.23/META.yml 2022-10-08 05:22:48.000000000 +0200
@@ -11,7 +11,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -30,5 +30,5 @@
perl: '5.006'
resources:
repository: https://github.com/manwar/Term-ProgressBar
-version: '2.22'
+version: '2.23'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Term-ProgressBar-2.22/lib/Term/ProgressBar/IO.pm
new/Term-ProgressBar-2.23/lib/Term/ProgressBar/IO.pm
--- old/Term-ProgressBar-2.22/lib/Term/ProgressBar/IO.pm 2018-05-11
18:38:39.000000000 +0200
+++ new/Term-ProgressBar-2.23/lib/Term/ProgressBar/IO.pm 2022-10-08
05:18:21.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '2.22';
+our $VERSION = '2.23';
# 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/Term-ProgressBar-2.22/lib/Term/ProgressBar.pm
new/Term-ProgressBar-2.23/lib/Term/ProgressBar.pm
--- old/Term-ProgressBar-2.22/lib/Term/ProgressBar.pm 2018-05-11
18:38:39.000000000 +0200
+++ new/Term-ProgressBar-2.23/lib/Term/ProgressBar.pm 2022-10-08
05:18:21.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.22';
+our $VERSION = '2.23';
#XXX TODO Redo original test with count=20
# Amount Output
@@ -22,7 +22,7 @@
=head1 VERSION
-Version 2.22
+Version 2.23
=head1 SYNOPSIS
@@ -827,10 +827,15 @@
return 2**32-1;
}
- my $biggies = $self->major_units * $so_far;
my @chars = (' ') x $self->bar_width;
- $chars[$_] = $self->major_char
- for 0..$biggies-1;
+ if ( $so_far >= $target ) {
+ @chars = ($self->major_char) x $self->bar_width;
+ }
+ else {
+ my $biggies = $self->major_units * $so_far;
+ $chars[$_] = $self->major_char
+ for 0..$biggies-1;
+ }
if ( $self->minor ) {
my $smally = $self->minor_units * $so_far % $self->bar_width;