openSUSE Commits
Threads by month
- ----- 2024 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
April 2018
- 1 participants
- 1679 discussions
Hello community,
here is the log from the commit of package perl-DateTime-Tiny for openSUSE:Factory checked in at 2018-04-26 13:37:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime-Tiny (Old)
and /work/SRC/openSUSE:Factory/.perl-DateTime-Tiny.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DateTime-Tiny"
Thu Apr 26 13:37:52 2018 rev:7 rq:599887 version:1.07
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DateTime-Tiny/perl-DateTime-Tiny.changes 2016-07-12 23:50:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-DateTime-Tiny.new/perl-DateTime-Tiny.changes 2018-04-26 13:37:59.448169378 +0200
@@ -1,0 +2,10 @@
+Mon Apr 23 05:17:55 UTC 2018 - coolo(a)suse.com
+
+- updated to 1.07
+ see /usr/share/doc/packages/perl-DateTime-Tiny/Changes
+
+ 1.07 2018-04-22 11:06:08+02:00 Europe/Oslo
+
+ - Bugfix: only match ASCII digits in from_string() method.
+
+-------------------------------------------------------------------
Old:
----
DateTime-Tiny-1.06.tar.gz
New:
----
DateTime-Tiny-1.07.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DateTime-Tiny.spec ++++++
--- /var/tmp/diff_new_pack.qXN9ny/_old 2018-04-26 13:37:59.972150174 +0200
+++ /var/tmp/diff_new_pack.qXN9ny/_new 2018-04-26 13:37:59.972150174 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-DateTime-Tiny
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
Name: perl-DateTime-Tiny
-Version: 1.06
+Version: 1.07
Release: 0
%define cpan_name DateTime-Tiny
Summary: Date Object, with As Little Code As Possible
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DateTime-Tiny/
-Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.…
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -55,6 +55,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes CONTRIBUTING.mkdn LICENSE README
+%doc Changes CONTRIBUTING.mkdn README
+%license LICENSE
%changelog
++++++ DateTime-Tiny-1.06.tar.gz -> DateTime-Tiny-1.07.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/Changes new/DateTime-Tiny-1.07/Changes
--- old/DateTime-Tiny-1.06/Changes 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/Changes 2018-04-22 11:06:14.000000000 +0200
@@ -1,5 +1,9 @@
Changes for Perl extension DateTime-Tiny
+1.07 2018-04-22 11:06:08+02:00 Europe/Oslo
+
+ - Bugfix: only match ASCII digits in from_string() method.
+
1.06 2016-06-23 09:43:41-04:00 America/New_York
- No changes from 1.05
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/MANIFEST new/DateTime-Tiny-1.07/MANIFEST
--- old/DateTime-Tiny-1.06/MANIFEST 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/MANIFEST 2018-04-22 11:06:14.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.005.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012.
CONTRIBUTING.mkdn
Changes
LICENSE
@@ -16,10 +16,10 @@
t/02_main.t
xt/author/00-compile.t
xt/author/critic.t
+xt/author/minimum-version.t
xt/author/pod-coverage.t
xt/author/pod-spell.t
xt/author/pod-syntax.t
xt/author/portability.t
xt/author/test-version.t
xt/release/distmeta.t
-xt/release/minimum-version.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/META.json new/DateTime-Tiny-1.07/META.json
--- old/DateTime-Tiny-1.06/META.json 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/META.json 2018-04-22 11:06:14.000000000 +0200
@@ -5,7 +5,7 @@
"David Golden <dagolden(a)cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.005, CPAN::Meta::Converter version 2.150005",
+ "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -37,7 +37,6 @@
"Dist::Zilla" : "5",
"Dist::Zilla::Plugin::RemovePrereqs" : "0",
"Dist::Zilla::PluginBundle::DAGOLDEN" : "0.072",
- "English" : "0",
"File::Spec" : "0",
"File::Temp" : "0",
"IO::Handle" : "0",
@@ -46,13 +45,14 @@
"Pod::Wordlist" : "0",
"Software::License::Perl_5" : "0",
"Test::CPAN::Meta" : "0",
+ "Test::MinimumVersion" : "0",
"Test::More" : "0",
+ "Test::Perl::Critic" : "0",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08",
"Test::Portability::Files" : "0",
"Test::Spelling" : "0.12",
"Test::Version" : "1",
- "blib" : "1.01",
"perl" : "5.006"
}
},
@@ -60,7 +60,7 @@
"requires" : {
"Carp" : "0",
"overload" : "0",
- "perl" : "5.006",
+ "perl" : "5.008",
"strict" : "0",
"warnings" : "0"
}
@@ -73,14 +73,15 @@
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"Test::More" : "0",
- "perl" : "5.006"
+ "perl" : "5.008",
+ "utf8" : "0"
}
}
},
"provides" : {
"DateTime::Tiny" : {
"file" : "lib/DateTime/Tiny.pm",
- "version" : "1.06"
+ "version" : "1.07"
}
},
"release_status" : "stable",
@@ -95,11 +96,14 @@
"web" : "https://github.com/dagolden/DateTime-Tiny"
}
},
- "version" : "1.06",
+ "version" : "1.07",
"x_authority" : "cpan:DAGOLDEN",
"x_contributors" : [
"Ken Williams <Ken.Williams(a)WindLogics.com>",
- "Nigel Gregoire <nigelg(a)airg.com>"
- ]
+ "Nigel Gregoire <nigelg(a)airg.com>",
+ "Ovid <curtis_ovid_poe(a)yahoo.com>"
+ ],
+ "x_generated_by_perl" : "v5.26.1",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/META.yml new/DateTime-Tiny-1.07/META.yml
--- old/DateTime-Tiny-1.06/META.yml 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/META.yml 2018-04-22 11:06:14.000000000 +0200
@@ -7,12 +7,13 @@
ExtUtils::MakeMaker: '0'
File::Spec: '0'
Test::More: '0'
- perl: '5.006'
+ perl: '5.008'
+ utf8: '0'
configure_requires:
ExtUtils::MakeMaker: '6.17'
perl: '5.006'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.005, CPAN::Meta::Converter version 2.150005'
+generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,19 +30,22 @@
provides:
DateTime::Tiny:
file: lib/DateTime/Tiny.pm
- version: '1.06'
+ version: '1.07'
requires:
Carp: '0'
overload: '0'
- perl: '5.006'
+ perl: '5.008'
strict: '0'
warnings: '0'
resources:
bugtracker: https://github.com/dagolden/DateTime-Tiny/issues
homepage: https://github.com/dagolden/DateTime-Tiny
repository: https://github.com/dagolden/DateTime-Tiny.git
-version: '1.06'
+version: '1.07'
x_authority: cpan:DAGOLDEN
x_contributors:
- 'Ken Williams <Ken.Williams(a)WindLogics.com>'
- 'Nigel Gregoire <nigelg(a)airg.com>'
+ - 'Ovid <curtis_ovid_poe(a)yahoo.com>'
+x_generated_by_perl: v5.26.1
+x_serialization_backend: 'YAML::Tiny version 1.70'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/Makefile.PL new/DateTime-Tiny-1.07/Makefile.PL
--- old/DateTime-Tiny-1.06/Makefile.PL 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/Makefile.PL 2018-04-22 11:06:14.000000000 +0200
@@ -1,8 +1,8 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.005.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012.
use strict;
use warnings;
-use 5.006;
+use 5.008;
use ExtUtils::MakeMaker 6.17;
@@ -14,7 +14,7 @@
},
"DISTNAME" => "DateTime-Tiny",
"LICENSE" => "perl",
- "MIN_PERL_VERSION" => "5.006",
+ "MIN_PERL_VERSION" => "5.008",
"NAME" => "DateTime::Tiny",
"PREREQ_PM" => {
"Carp" => 0,
@@ -25,9 +25,10 @@
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
- "Test::More" => 0
+ "Test::More" => 0,
+ "utf8" => 0
},
- "VERSION" => "1.06",
+ "VERSION" => "1.07",
"test" => {
"TESTS" => "t/*.t"
}
@@ -41,6 +42,7 @@
"Test::More" => 0,
"overload" => 0,
"strict" => 0,
+ "utf8" => 0,
"warnings" => 0
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/README new/DateTime-Tiny-1.07/README
--- old/DateTime-Tiny-1.06/README 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/README 2018-04-22 11:06:14.000000000 +0200
@@ -2,7 +2,7 @@
DateTime::Tiny - A date object, with as little code as possible
VERSION
- version 1.06
+ version 1.07
SYNOPSIS
# Create a date manually
@@ -220,6 +220,8 @@
* Nigel Gregoire <nigelg(a)airg.com>
+ * Ovid <curtis_ovid_poe(a)yahoo.com>
+
COPYRIGHT AND LICENSE
This software is copyright (c) 2006 by Adam Kennedy.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/cpanfile new/DateTime-Tiny-1.07/cpanfile
--- old/DateTime-Tiny-1.06/cpanfile 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/cpanfile 2018-04-22 11:06:14.000000000 +0200
@@ -1,6 +1,6 @@
requires "Carp" => "0";
requires "overload" => "0";
-requires "perl" => "5.006";
+requires "perl" => "5.008";
requires "strict" => "0";
requires "warnings" => "0";
@@ -8,7 +8,8 @@
requires "ExtUtils::MakeMaker" => "0";
requires "File::Spec" => "0";
requires "Test::More" => "0";
- requires "perl" => "5.006";
+ requires "perl" => "5.008";
+ requires "utf8" => "0";
};
on 'test' => sub {
@@ -24,7 +25,6 @@
requires "Dist::Zilla" => "5";
requires "Dist::Zilla::Plugin::RemovePrereqs" => "0";
requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.072";
- requires "English" => "0";
requires "File::Spec" => "0";
requires "File::Temp" => "0";
requires "IO::Handle" => "0";
@@ -33,12 +33,13 @@
requires "Pod::Wordlist" => "0";
requires "Software::License::Perl_5" => "0";
requires "Test::CPAN::Meta" => "0";
+ requires "Test::MinimumVersion" => "0";
requires "Test::More" => "0";
+ requires "Test::Perl::Critic" => "0";
requires "Test::Pod" => "1.41";
requires "Test::Pod::Coverage" => "1.08";
requires "Test::Portability::Files" => "0";
requires "Test::Spelling" => "0.12";
requires "Test::Version" => "1";
- requires "blib" => "1.01";
requires "perl" => "5.006";
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/lib/DateTime/Tiny.pm new/DateTime-Tiny-1.07/lib/DateTime/Tiny.pm
--- old/DateTime-Tiny-1.06/lib/DateTime/Tiny.pm 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/lib/DateTime/Tiny.pm 2018-04-22 11:06:14.000000000 +0200
@@ -3,7 +3,7 @@
package DateTime::Tiny;
# ABSTRACT: A date object, with as little code as possible
-our $VERSION = '1.06';
+our $VERSION = '1.07';
use overload 'bool' => sub () { 1 };
use overload '""' => 'as_string';
@@ -197,7 +197,8 @@
require Carp;
Carp::croak("Did not provide a string to from_string");
}
- unless ( $string =~ /^(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)$/ ) {
+ my $d = '[0-9]'; # backwards-compatible way of not matching anything but ASCII digits
+ unless ( $string =~ /^($d$d$d$d)-($d$d)-($d$d)T($d$d):($d$d):($d$d)$/ ) {
require Carp;
Carp::croak("Invalid time format (does not match ISO 8601)");
}
@@ -275,7 +276,7 @@
=head1 VERSION
-version 1.06
+version 1.07
=head1 SYNOPSIS
@@ -522,7 +523,7 @@
=head1 CONTRIBUTORS
-=for stopwords Ken Williams Nigel Gregoire
+=for stopwords Ken Williams Nigel Gregoire Ovid
=over 4
@@ -534,6 +535,10 @@
Nigel Gregoire <nigelg(a)airg.com>
+=item *
+
+Ovid <curtis_ovid_poe(a)yahoo.com>
+
=back
=head1 COPYRIGHT AND LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/t/00-report-prereqs.dd new/DateTime-Tiny-1.07/t/00-report-prereqs.dd
--- old/DateTime-Tiny-1.06/t/00-report-prereqs.dd 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/t/00-report-prereqs.dd 2018-04-22 11:06:14.000000000 +0200
@@ -10,7 +10,6 @@
'Dist::Zilla' => '5',
'Dist::Zilla::Plugin::RemovePrereqs' => '0',
'Dist::Zilla::PluginBundle::DAGOLDEN' => '0.072',
- 'English' => '0',
'File::Spec' => '0',
'File::Temp' => '0',
'IO::Handle' => '0',
@@ -19,13 +18,14 @@
'Pod::Wordlist' => '0',
'Software::License::Perl_5' => '0',
'Test::CPAN::Meta' => '0',
+ 'Test::MinimumVersion' => '0',
'Test::More' => '0',
+ 'Test::Perl::Critic' => '0',
'Test::Pod' => '1.41',
'Test::Pod::Coverage' => '1.08',
'Test::Portability::Files' => '0',
'Test::Spelling' => '0.12',
'Test::Version' => '1',
- 'blib' => '1.01',
'perl' => '5.006'
}
},
@@ -33,7 +33,7 @@
'requires' => {
'Carp' => '0',
'overload' => '0',
- 'perl' => '5.006',
+ 'perl' => '5.008',
'strict' => '0',
'warnings' => '0'
}
@@ -46,7 +46,8 @@
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
'Test::More' => '0',
- 'perl' => '5.006'
+ 'perl' => '5.008',
+ 'utf8' => '0'
}
}
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/t/00-report-prereqs.t new/DateTime-Tiny-1.07/t/00-report-prereqs.t
--- old/DateTime-Tiny-1.06/t/00-report-prereqs.t 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/t/00-report-prereqs.t 2018-04-22 11:06:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
use Test::More tests => 1;
@@ -68,7 +68,7 @@
);
# Add static prereqs to the included modules list
-my $static_prereqs = do 't/00-report-prereqs.dd';
+my $static_prereqs = do './t/00-report-prereqs.dd';
# Merge all prereqs (either with ::Prereqs or a hashref)
my $full_prereqs = _merge_prereqs(
@@ -78,12 +78,14 @@
# Add dynamic prereqs to the included modules list (if we can)
my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+my $cpan_meta_error;
if ( $source && $HAS_CPAN_META
&& (my $meta = eval { CPAN::Meta->load_file($source) } )
) {
$full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
}
else {
+ $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source)
$source = 'static metadata';
}
@@ -169,10 +171,18 @@
diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports;
}
+if ( $cpan_meta_error || @dep_errors ) {
+ diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n";
+}
+
+if ( $cpan_meta_error ) {
+ my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+ diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n";
+}
+
if ( @dep_errors ) {
diag join("\n",
- "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n",
- "The following REQUIRED prerequisites were not satisfied:\n",
+ "\nThe following REQUIRED prerequisites were not satisfied:\n",
@dep_errors,
"\n"
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/t/02_main.t new/DateTime-Tiny-1.07/t/02_main.t
--- old/DateTime-Tiny-1.06/t/02_main.t 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/t/02_main.t 2018-04-22 11:06:14.000000000 +0200
@@ -8,8 +8,9 @@
$^W = 1;
}
-use Test::More tests => 31;
+use Test::More tests => 32;
use DateTime::Tiny;
+use utf8;
@@ -114,3 +115,10 @@
$tiny, '->from_string ok',
);
}
+
+SCOPE: {
+ eval { DateTime::Tiny->from_string('୭୮୯௦-௧௨-௩௪T௫௬:௭௮:௯౦') };
+ my $error = $@;
+ like $error, qr/\QInvalid time format (does not match ISO 8601)/,
+ 'Only ASCII digits are valid in datetime strings';
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/xt/author/00-compile.t new/DateTime-Tiny-1.07/xt/author/00-compile.t
--- old/DateTime-Tiny-1.06/xt/author/00-compile.t 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/xt/author/00-compile.t 2018-04-22 11:06:14.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058
use Test::More;
@@ -19,7 +19,9 @@
local $ENV{HOME} = File::Temp::tempdir( CLEANUP => 1 );
-my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib';
+my @switches = (
+ -d 'blib' ? '-Mblib' : '-Ilib',
+);
use File::Spec;
use IPC::Open3;
@@ -33,14 +35,18 @@
# see L<perlfaq8/How can I capture STDERR from an external command?>
my $stderr = IO::Handle->new;
- my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]");
+ diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . $str . q{'} }
+ $^X, @switches, '-e', "require q[$lib]"))
+ if $ENV{PERL_COMPILE_TEST_DEBUG};
+
+ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]");
binmode $stderr, ':crlf' if $^O eq 'MSWin32';
my @_warnings = <$stderr>;
waitpid($pid, 0);
is($?, 0, "$lib loaded ok");
shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/
- and not eval { require blib; blib->VERSION('1.01') };
+ and not eval { +require blib; blib->VERSION('1.01') };
if (@_warnings)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/xt/author/critic.t new/DateTime-Tiny-1.07/xt/author/critic.t
--- old/DateTime-Tiny-1.06/xt/author/critic.t 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/xt/author/critic.t 2018-04-22 11:06:14.000000000 +0200
@@ -3,10 +3,5 @@
use strict;
use warnings;
-use Test::More;
-use English qw(-no_match_vars);
-
-eval "use Test::Perl::Critic";
-plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
-Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
+use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc";
all_critic_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/xt/author/minimum-version.t new/DateTime-Tiny-1.07/xt/author/minimum-version.t
--- old/DateTime-Tiny-1.06/xt/author/minimum-version.t 1970-01-01 01:00:00.000000000 +0100
+++ new/DateTime-Tiny-1.07/xt/author/minimum-version.t 2018-04-22 11:06:14.000000000 +0200
@@ -0,0 +1,6 @@
+#!perl
+
+use Test::More;
+
+use Test::MinimumVersion;
+all_minimum_version_ok( qq{5.010} );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/xt/author/pod-spell.t new/DateTime-Tiny-1.07/xt/author/pod-spell.t
--- old/DateTime-Tiny-1.06/xt/author/pod-spell.t 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/xt/author/pod-spell.t 2018-04-22 11:06:14.000000000 +0200
@@ -2,27 +2,29 @@
use warnings;
use Test::More;
-# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007002
+# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005
use Test::Spelling 0.12;
use Pod::Wordlist;
add_stopwords(<DATA>);
-all_pod_files_spelling_ok( qw( bin lib ) );
+all_pod_files_spelling_ok( qw( bin lib ) );
__DATA__
-designator
-ymdhms
Adam
-Kennedy
-adamk
+DateTime
David
Golden
-dagolden
+Gregoire
Ken
-Williams
+Kennedy
Nigel
-Gregoire
-nigelg
-lib
-DateTime
+Ovid
Tiny
+Williams
+adamk
+curtis_ovid_poe
+dagolden
+designator
+lib
+nigelg
+ymdhms
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/xt/author/portability.t new/DateTime-Tiny-1.07/xt/author/portability.t
--- old/DateTime-Tiny-1.06/xt/author/portability.t 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/xt/author/portability.t 2018-04-22 11:06:14.000000000 +0200
@@ -1,5 +1,3 @@
-#!perl
-
use strict;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DateTime-Tiny-1.06/xt/release/minimum-version.t new/DateTime-Tiny-1.07/xt/release/minimum-version.t
--- old/DateTime-Tiny-1.06/xt/release/minimum-version.t 2016-06-23 15:43:47.000000000 +0200
+++ new/DateTime-Tiny-1.07/xt/release/minimum-version.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!perl
-
-use Test::More;
-
-eval "use Test::MinimumVersion";
-plan skip_all => "Test::MinimumVersion required for testing minimum versions"
- if $@;
-all_minimum_version_ok( qq{5.010} );
1
0
Hello community,
here is the log from the commit of package perl-Encode for openSUSE:Factory checked in at 2018-04-26 13:37:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Encode (Old)
and /work/SRC/openSUSE:Factory/.perl-Encode.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Encode"
Thu Apr 26 13:37:49 2018 rev:5 rq:599886 version:2.98
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Encode/perl-Encode.changes 2018-02-27 16:57:48.376370678 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Encode.new/perl-Encode.changes 2018-04-26 13:37:57.880226845 +0200
@@ -1,0 +2,6 @@
+Mon Apr 23 05:23:09 UTC 2018 - coolo(a)suse.com
+
+- updated to 2.98
+ see /usr/share/doc/packages/perl-Encode/Changes
+
+-------------------------------------------------------------------
Old:
----
Encode-2.97.tar.gz
New:
----
Encode-2.98.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Encode.spec ++++++
--- /var/tmp/diff_new_pack.U6qcrK/_old 2018-04-26 13:37:58.968186970 +0200
+++ /var/tmp/diff_new_pack.U6qcrK/_new 2018-04-26 13:37:58.968186970 +0200
@@ -17,7 +17,7 @@
Name: perl-Encode
-Version: 2.97
+Version: 2.98
Release: 0
%define cpan_name Encode
Summary: Character Encodings in Perl
++++++ Encode-2.97.tar.gz -> Encode-2.98.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-2.97/Changes new/Encode-2.98/Changes
--- old/Encode-2.97/Changes 2018-02-21 13:14:35.000000000 +0100
+++ new/Encode-2.98/Changes 2018-04-22 11:03:09.000000000 +0200
@@ -1,8 +1,22 @@
# Revision history for Perl extension Encode.
#
-# $Id: Changes,v 2.97 2018/02/21 12:14:33 dankogai Exp dankogai $
+# $Id: Changes,v 2.98 2018/04/22 09:02:00 dankogai Exp $
#
-$Revision: 2.97 $ $Date: 2018/02/21 12:14:33 $
+$Revision: 2.98 $ $Date: 2018/04/22 09:02:00 $
+! t/truncated_utf8.t
+ Resolved: RT125131: truncated_utf8.t TODO test pass in blead
+ https://rt.cpan.org/Ticket/Display.html?id=125131
+! Encode.xs
+ Pulled: Remove XS functions _bytes_to_utf8() and _utf8_to_bytes()
+ https://github.com/dankogai/p5-encode/pull/133
+! Unicode/Unicode.xs
+ Pulled: Automatically compute length in attr() macro
+ https://github.com/dankogai/p5-encode/pull/132
+! Encode.xs
+ Pulled: Fix compile warnings on 64bit MS VS2017
+ https://github.com/dankogai/p5-encode/pull/131
+
+2.97 2018/02/21 12:14:33
! Encode.xs
Pulled: New perls that fixes
https://github.com/dankogai/p5-encode/issues/129
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-2.97/Encode.pm new/Encode-2.98/Encode.pm
--- old/Encode-2.97/Encode.pm 2018-02-21 13:14:35.000000000 +0100
+++ new/Encode-2.98/Encode.pm 2018-04-22 11:03:09.000000000 +0200
@@ -1,5 +1,5 @@
#
-# $Id: Encode.pm,v 2.97 2018/02/21 12:14:24 dankogai Exp $
+# $Id: Encode.pm,v 2.98 2018/04/22 09:03:00 dankogai Exp $
#
package Encode;
use strict;
@@ -7,7 +7,7 @@
use constant DEBUG => !!$ENV{PERL_ENCODE_DEBUG};
our $VERSION;
BEGIN {
- $VERSION = sprintf "%d.%02d", q$Revision: 2.97 $ =~ /(\d+)/g;
+ $VERSION = sprintf "%d.%02d", q$Revision: 2.98 $ =~ /(\d+)/g;
require XSLoader;
XSLoader::load( __PACKAGE__, $VERSION );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-2.97/Encode.xs new/Encode-2.98/Encode.xs
--- old/Encode-2.97/Encode.xs 2018-02-21 13:14:37.000000000 +0100
+++ new/Encode-2.98/Encode.xs 2018-04-22 11:03:09.000000000 +0200
@@ -1,5 +1,5 @@
/*
- $Id: Encode.xs,v 2.43 2018/02/21 12:14:33 dankogai Exp dankogai $
+ $Id: Encode.xs,v 2.44 2018/04/22 09:02:00 dankogai Exp $
*/
#define PERL_NO_GET_CONTEXT
@@ -20,17 +20,6 @@
encode_method(). 1 is recommended. 2 restores NI-S original */
#define ENCODE_XS_USEFP 1
-#define UNIMPLEMENTED(x,y) static y x (SV *sv, char *encoding) { \
- Perl_croak_nocontext("panic_unimplemented"); \
- PERL_UNUSED_VAR(sv); \
- PERL_UNUSED_VAR(encoding); \
- return (y)0; /* fool picky compilers */ \
- }
-/**/
-
-UNIMPLEMENTED(_encoded_utf8_to_bytes, I32)
-UNIMPLEMENTED(_encoded_bytes_to_utf8, I32)
-
#ifndef SvIV_nomg
#define SvIV_nomg SvIV
#endif
@@ -67,16 +56,6 @@
}
static void
-call_failure(SV * routine, U8 * done, U8 * dest, U8 * orig)
-{
- /* Exists for breakpointing */
- PERL_UNUSED_VAR(routine);
- PERL_UNUSED_VAR(done);
- PERL_UNUSED_VAR(dest);
- PERL_UNUSED_VAR(orig);
-}
-
-static void
utf8_safe_downgrade(pTHX_ SV ** src, U8 ** s, STRLEN * slen, bool modify)
{
if (!modify) {
@@ -164,7 +143,7 @@
static SV *
encode_method(pTHX_ const encode_t * enc, const encpage_t * dir, SV * src, U8 * s, STRLEN slen,
- int check, STRLEN * offset, SV * term, int * retcode,
+ IV check, STRLEN * offset, SV * term, int * retcode,
SV *fallback_cb)
{
STRLEN tlen = slen;
@@ -472,7 +451,7 @@
UV uv;
STRLEN ulen;
SV *fallback_cb;
- int check;
+ IV check;
U8 *d;
STRLEN dlen;
char esc[UTF8_MAXLEN * 6 + 1];
@@ -683,7 +662,7 @@
U8 *e;
SV *dst;
bool renewed = 0;
- int check;
+ IV check;
bool modify;
dSP;
INIT:
@@ -744,7 +723,7 @@
U8 *s;
U8 *e;
SV *dst;
- int check;
+ IV check;
bool modify;
INIT:
SvGETMAGIC(src);
@@ -848,7 +827,7 @@
SV * term
SV * check_sv
PREINIT:
- int check;
+ IV check;
SV *fallback_cb;
bool modify;
encode_t *enc;
@@ -886,7 +865,7 @@
SV * src
SV * check_sv
PREINIT:
- int check;
+ IV check;
SV *fallback_cb;
bool modify;
encode_t *enc;
@@ -917,7 +896,7 @@
SV * src
SV * check_sv
PREINIT:
- int check;
+ IV check;
SV *fallback_cb;
bool modify;
encode_t *enc;
@@ -988,102 +967,6 @@
PROTOTYPES: ENABLE
-I32
-_bytes_to_utf8(sv, ...)
-SV * sv
-PREINIT:
- SV * encoding;
-INIT:
- encoding = items == 2 ? ST(1) : Nullsv;
-CODE:
- if (encoding)
- RETVAL = _encoded_bytes_to_utf8(sv, SvPV_nolen(encoding));
- else {
- STRLEN len;
- U8* s = (U8*)SvPV(sv, len);
- U8* converted;
-
- converted = bytes_to_utf8(s, &len); /* This allocs */
- sv_setpvn(sv, (char *)converted, len);
- SvUTF8_on(sv); /* XXX Should we? */
- Safefree(converted); /* ... so free it */
- RETVAL = len;
- }
-OUTPUT:
- RETVAL
-
-I32
-_utf8_to_bytes(sv, ...)
-SV * sv
-PREINIT:
- SV * to;
- SV * check;
-INIT:
- to = items > 1 ? ST(1) : Nullsv;
- check = items > 2 ? ST(2) : Nullsv;
-CODE:
- if (to) {
- RETVAL = _encoded_utf8_to_bytes(sv, SvPV_nolen(to));
- } else {
- STRLEN len;
- U8 *s = (U8*)SvPV(sv, len);
-
- RETVAL = 0;
- if (SvTRUE(check)) {
- /* Must do things the slow way */
- U8 *dest;
- /* We need a copy to pass to check() */
- U8 *src = s;
- U8 *send = s + len;
- U8 *d0;
-
- New(83, dest, len, U8); /* I think */
- d0 = dest;
-
- while (s < send) {
- if (*s < 0x80){
- *dest++ = *s++;
- } else {
- STRLEN ulen;
- UV uv = *s++;
-
- /* Have to do it all ourselves because of error routine,
- aargh. */
- if (!(uv & 0x40)){ goto failure; }
- if (!(uv & 0x20)) { ulen = 2; uv &= 0x1f; }
- else if (!(uv & 0x10)) { ulen = 3; uv &= 0x0f; }
- else if (!(uv & 0x08)) { ulen = 4; uv &= 0x07; }
- else if (!(uv & 0x04)) { ulen = 5; uv &= 0x03; }
- else if (!(uv & 0x02)) { ulen = 6; uv &= 0x01; }
- else if (!(uv & 0x01)) { ulen = 7; uv = 0; }
- else { ulen = 13; uv = 0; }
-
- /* Note change to utf8.c variable naming, for variety */
- while (ulen--) {
- if ((*s & 0xc0) != 0x80){
- goto failure;
- } else {
- uv = (uv << 6) | (*s++ & 0x3f);
- }
- }
- if (uv > 256) {
- failure:
- call_failure(check, s, dest, src);
- /* Now what happens? */
- }
- *dest++ = (U8)uv;
- }
- }
- RETVAL = dest - d0;
- sv_usepvn(sv, (char *)dest, RETVAL);
- SvUTF8_off(sv);
- } else {
- RETVAL = (utf8_to_bytes(s, &len) ? len : 0);
- }
- }
-OUTPUT:
- RETVAL
-
bool
is_utf8(sv, check = 0)
SV * sv
@@ -1141,7 +1024,7 @@
BOOT:
{
- HV *stash = gv_stashpvn("Encode", strlen("Encode"), GV_ADD);
+ HV *stash = gv_stashpvn("Encode", (U32)strlen("Encode"), GV_ADD);
newCONSTSUB(stash, "DIE_ON_ERR", newSViv(ENCODE_DIE_ON_ERR));
newCONSTSUB(stash, "WARN_ON_ERR", newSViv(ENCODE_WARN_ON_ERR));
newCONSTSUB(stash, "RETURN_ON_ERR", newSViv(ENCODE_RETURN_ON_ERR));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-2.97/META.json new/Encode-2.98/META.json
--- old/Encode-2.97/META.json 2018-02-21 13:15:13.000000000 +0100
+++ new/Encode-2.98/META.json 2018-04-22 11:03:52.000000000 +0200
@@ -45,7 +45,7 @@
"url" : "https://github.com/dankogai/p5-encode"
}
},
- "version" : "2.97",
+ "version" : "2.98",
"x_contributors" : [
"Alex Davies <alex.davies(a)talktalk.net>",
"Alex Kapranoff <alex(a)kapranoff.ru>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-2.97/META.yml new/Encode-2.98/META.yml
--- old/Encode-2.97/META.yml 2018-02-21 13:15:13.000000000 +0100
+++ new/Encode-2.98/META.yml 2018-04-22 11:03:52.000000000 +0200
@@ -24,7 +24,7 @@
parent: '0.221'
resources:
repository: https://github.com/dankogai/p5-encode
-version: '2.97'
+version: '2.98'
x_contributors:
- 'Alex Davies <alex.davies(a)talktalk.net>'
- 'Alex Kapranoff <alex(a)kapranoff.ru>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-2.97/Unicode/Unicode.xs new/Encode-2.98/Unicode/Unicode.xs
--- old/Encode-2.97/Unicode/Unicode.xs 2018-02-21 13:14:37.000000000 +0100
+++ new/Encode-2.98/Unicode/Unicode.xs 2018-04-22 11:03:09.000000000 +0200
@@ -1,5 +1,5 @@
/*
- $Id: Unicode.xs,v 2.17 2018/02/08 00:26:15 dankogai Exp $
+ $Id: Unicode.xs,v 2.18 2018/04/22 09:02:00 dankogai Exp $
*/
#define PERL_NO_GET_CONTEXT
@@ -123,8 +123,8 @@
PROTOTYPES: DISABLE
-#define attr(k, l) (hv_exists((HV *)SvRV(obj),k,l) ? \
- *hv_fetch((HV *)SvRV(obj),k,l,0) : &PL_sv_undef)
+#define attr(k) (hv_exists((HV *)SvRV(obj),"" k "",sizeof(k)-1) ? \
+ *hv_fetch((HV *)SvRV(obj),"" k "",sizeof(k)-1,0) : &PL_sv_undef)
void
decode(obj, str, check = 0)
@@ -133,9 +133,9 @@
IV check
CODE:
{
- SV *sve = attr("endian", 6);
+ SV *sve = attr("endian");
U8 endian = *((U8 *)SvPV_nolen(sve));
- SV *svs = attr("size", 4);
+ SV *svs = attr("size");
int size = SvIV(svs);
int ucs2 = -1; /* only needed in the event of surrogate pairs */
SV *result = newSVpvn("",0);
@@ -209,7 +209,7 @@
}
#if 1
/* Update endian for next sequence */
- sv = attr("renewed", 7);
+ sv = attr("renewed");
if (SvTRUE(sv)) {
(void)hv_store((HV *)SvRV(obj),"endian",6,newSVpv((char *)&endian,1),0);
}
@@ -229,7 +229,7 @@
U8 *d;
if (issurrogate(ord)) {
if (ucs2 == -1) {
- SV *sv = attr("ucs2", 4);
+ SV *sv = attr("ucs2");
ucs2 = SvTRUE(sv);
}
if (ucs2 || size == 4) {
@@ -351,9 +351,9 @@
IV check
CODE:
{
- SV *sve = attr("endian", 6);
+ SV *sve = attr("endian");
U8 endian = *((U8 *)SvPV_nolen(sve));
- SV *svs = attr("size", 4);
+ SV *svs = attr("size");
const int size = SvIV(svs);
int ucs2 = -1; /* only needed if there is invalid_ucs2 input */
const STRLEN usize = (size > 0 ? size : 1);
@@ -399,7 +399,7 @@
enc_pack(aTHX_ result,size,endian,BOM_BE);
#if 1
/* Update endian for next sequence */
- sv = attr("renewed", 7);
+ sv = attr("renewed");
if (SvTRUE(sv)) {
(void)hv_store((HV *)SvRV(obj),"endian",6,newSVpv((char *)&endian,1),0);
}
@@ -416,7 +416,7 @@
if (size != 4 && invalid_ucs2(ord)) {
if (!issurrogate(ord)) {
if (ucs2 == -1) {
- SV *sv = attr("ucs2", 4);
+ SV *sv = attr("ucs2");
ucs2 = SvTRUE(sv);
}
if (ucs2 || ord > 0x10FFFF) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-2.97/t/truncated_utf8.t new/Encode-2.98/t/truncated_utf8.t
--- old/Encode-2.97/t/truncated_utf8.t 2017-05-17 03:51:40.000000000 +0200
+++ new/Encode-2.98/t/truncated_utf8.t 2018-04-19 18:27:07.000000000 +0200
@@ -45,7 +45,7 @@
is($str2, ("x" x 1023) . ("\x{fffd}" x 3) . "x");
TODO: {
- local $TODO = "bug in perlio";
+ local $TODO = "bug in perlio" if $] < 5.027009;
my $str = ("x" x 1023) . "\xfd\xfe\xff";
open my $fh, '<:encoding(UTF-8)', \$str;
my $str2 = <$fh>;
1
0
Hello community,
here is the log from the commit of package perl-Module-CPANfile for openSUSE:Factory checked in at 2018-04-26 13:37:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-CPANfile (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-CPANfile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-CPANfile"
Thu Apr 26 13:37:45 2018 rev:6 rq:599885 version:1.1003
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Module-CPANfile/perl-Module-CPANfile.changes 2016-02-17 12:20:08.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Module-CPANfile.new/perl-Module-CPANfile.changes 2018-04-26 13:37:52.672417719 +0200
@@ -1,0 +2,6 @@
+Mon Apr 23 05:40:57 UTC 2018 - coolo(a)suse.com
+
+- updated to 1.1003
+ see /usr/share/doc/packages/perl-Module-CPANfile/Changes
+
+-------------------------------------------------------------------
Old:
----
Module-CPANfile-1.1002.tar.gz
New:
----
Module-CPANfile-1.1003.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-CPANfile.spec ++++++
--- /var/tmp/diff_new_pack.VScTmJ/_old 2018-04-26 13:37:53.416390451 +0200
+++ /var/tmp/diff_new_pack.VScTmJ/_new 2018-04-26 13:37:53.416390451 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-CPANfile
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
Name: perl-Module-CPANfile
-Version: 1.1002
+Version: 1.1003
Release: 0
%define cpan_name Module-CPANfile
Summary: Parse cpanfile
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-CPANfile/
-Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.…
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -32,12 +32,11 @@
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta) >= 2.12091
BuildRequires: perl(CPAN::Meta::Prereqs) >= 2.12091
-BuildRequires: perl(JSON::PP) >= 2.27300
+BuildRequires: perl(File::pushd)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(parent)
Requires: perl(CPAN::Meta) >= 2.12091
Requires: perl(CPAN::Meta::Prereqs) >= 2.12091
-Requires: perl(JSON::PP) >= 2.27300
Requires: perl(parent)
%{perl_requires}
@@ -63,6 +62,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
%changelog
++++++ Module-CPANfile-1.1002.tar.gz -> Module-CPANfile-1.1003.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/Changes new/Module-CPANfile-1.1003/Changes
--- old/Module-CPANfile-1.1002/Changes 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/Changes 2018-04-22 01:54:49.000000000 +0200
@@ -1,5 +1,10 @@
Revision history for Module::Install::CPANfile
+1.1003 2018-04-22 01:54:46 CEST
+ - Make options written back with save()
+ - Documented options_for_module method
+ - Internal refactoring
+
1.1002 2016-02-12 08:23:00 PST
- Make it work under the taint mode (-T) #41
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/LICENSE new/Module-CPANfile-1.1003/LICENSE
--- old/Module-CPANfile-1.1002/LICENSE 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/LICENSE 2018-04-22 01:54:49.000000000 +0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2016 by Tatsuhiko Miyagawa.
+This software is copyright (c) 2018 by Tatsuhiko Miyagawa.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2016 by Tatsuhiko Miyagawa.
+This software is Copyright (c) 2018 by Tatsuhiko Miyagawa.
This is free software, licensed under:
@@ -272,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2016 by Tatsuhiko Miyagawa.
+This software is Copyright (c) 2018 by Tatsuhiko Miyagawa.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/MANIFEST new/Module-CPANfile-1.1003/MANIFEST
--- old/Module-CPANfile-1.1002/MANIFEST 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/MANIFEST 2018-04-22 01:54:49.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.043.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009.
Changes
LICENSE
MANIFEST
@@ -23,5 +23,6 @@
t/from_prereqs.t
t/merge.t
t/mirror.t
+t/options.t
t/parse.t
t/requirement.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/META.json new/Module-CPANfile-1.1003/META.json
--- old/Module-CPANfile-1.1002/META.json 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/META.json 2018-04-22 01:54:49.000000000 +0200
@@ -4,7 +4,7 @@
"Tatsuhiko Miyagawa"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.043, Dist::Milla version v1.0.15, CPAN::Meta::Converter version 2.150005",
+ "generated_by" : "Dist::Milla version v1.0.18, Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -27,11 +27,14 @@
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
+ },
+ "suggests" : {
+ "JSON::PP" : "2.27300"
}
},
"develop" : {
"requires" : {
- "Dist::Milla" : "v1.0.15",
+ "Dist::Milla" : "v1.0.18",
"Test::Pod" : "1.41"
}
},
@@ -42,12 +45,12 @@
"requires" : {
"CPAN::Meta" : "2.12091",
"CPAN::Meta::Prereqs" : "2.12091",
- "JSON::PP" : "2.27300",
"parent" : "0"
}
},
"test" : {
"requires" : {
+ "File::pushd" : "0",
"Test::More" : "0.88"
}
}
@@ -64,7 +67,7 @@
"web" : "https://github.com/miyagawa/cpanfile"
}
},
- "version" : "1.1002",
+ "version" : "1.1003",
"x_contributors" : [
"Atsushi Kato <ktat(a)cpan.org>",
"David Golden <dagolden(a)cpan.org>",
@@ -76,8 +79,10 @@
"Kenichi Ishigaki <ishigaki(a)cpan.org>",
"Masahiro Honma <hiratara(a)cpan.org>",
"Michiel Beijen <michiel.beijen(a)gmail.com>",
- "Olivier Mengué <dolmen(a)cpan.org>",
- "Tatsuhiko Miyagawa <miyagawa(a)bulknews.net>"
- ]
+ "Olivier Mengu\u00e9 <dolmen(a)cpan.org>",
+ "Tatsuhiko Miyagawa <miyagawa(a)bulknews.net>",
+ "Tatsuhiko Miyagawa <miyagawa(a)gmail.com>"
+ ],
+ "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/META.yml new/Module-CPANfile-1.1003/META.yml
--- old/Module-CPANfile-1.1002/META.yml 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/META.yml 2018-04-22 01:54:49.000000000 +0200
@@ -3,11 +3,12 @@
author:
- 'Tatsuhiko Miyagawa'
build_requires:
+ File::pushd: '0'
Test::More: '0.88'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.043, Dist::Milla version v1.0.15, CPAN::Meta::Converter version 2.150005'
+generated_by: 'Dist::Milla version v1.0.18, Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -26,13 +27,12 @@
requires:
CPAN::Meta: '2.12091'
CPAN::Meta::Prereqs: '2.12091'
- JSON::PP: '2.27300'
parent: '0'
resources:
bugtracker: https://github.com/miyagawa/cpanfile/issues
homepage: https://github.com/miyagawa/cpanfile
repository: https://github.com/miyagawa/cpanfile.git
-version: '1.1002'
+version: '1.1003'
x_contributors:
- 'Atsushi Kato <ktat(a)cpan.org>'
- 'David Golden <dagolden(a)cpan.org>'
@@ -46,3 +46,5 @@
- 'Michiel Beijen <michiel.beijen(a)gmail.com>'
- 'Olivier Mengué <dolmen(a)cpan.org>'
- 'Tatsuhiko Miyagawa <miyagawa(a)bulknews.net>'
+ - 'Tatsuhiko Miyagawa <miyagawa(a)gmail.com>'
+x_serialization_backend: 'YAML::Tiny version 1.70'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/Makefile.PL new/Module-CPANfile-1.1003/Makefile.PL
--- old/Module-CPANfile-1.1002/Makefile.PL 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/Makefile.PL 2018-04-22 01:54:49.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.043.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.009.
use strict;
use warnings;
@@ -22,13 +22,13 @@
"PREREQ_PM" => {
"CPAN::Meta" => "2.12091",
"CPAN::Meta::Prereqs" => "2.12091",
- "JSON::PP" => "2.27300",
"parent" => 0
},
"TEST_REQUIRES" => {
+ "File::pushd" => 0,
"Test::More" => "0.88"
},
- "VERSION" => "1.1002",
+ "VERSION" => "1.1003",
"test" => {
"TESTS" => "t/*.t"
}
@@ -38,7 +38,7 @@
my %FallbackPrereqs = (
"CPAN::Meta" => "2.12091",
"CPAN::Meta::Prereqs" => "2.12091",
- "JSON::PP" => "2.27300",
+ "File::pushd" => 0,
"Test::More" => "0.88",
"parent" => 0
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/README new/Module-CPANfile-1.1003/README
--- old/Module-CPANfile-1.1002/README 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/README 2018-04-22 01:54:49.000000000 +0200
@@ -106,6 +106,25 @@
version in the second argument, which defaults to 1.4 in case the
given file is YAML, and 2 if it is JSON.
+ options_for_module
+
+ my $options = $file->options_for_module($module);
+
+ Returns the extra options specified for a given module as a hash
+ reference. Returns undef when the given module is not specified in
+ the cpanfile.
+
+ For example,
+
+ # cpanfile
+ requires 'Plack', '1.000',
+ dist => "MIYAGAWA/Plack-1.000.tar.gz";
+
+ # ...
+ my $file = Module::CPANfile->load;
+ my $options = $file->options_for_module('Plack');
+ # => { dist => "MIYAGAWA/Plack-1.000.tar.gz" }
+
AUTHOR
Tatsuhiko Miyagawa
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/cpanfile new/Module-CPANfile-1.1003/cpanfile
--- old/Module-CPANfile-1.1002/cpanfile 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/cpanfile 2018-04-22 01:54:49.000000000 +0200
@@ -6,4 +6,5 @@
on test => sub {
requires 'Test::More', 0.88;
+ requires 'File::pushd';
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/lib/Module/CPANfile/Environment.pm new/Module-CPANfile-1.1003/lib/Module/CPANfile/Environment.pm
--- old/Module-CPANfile-1.1002/lib/Module/CPANfile/Environment.pm 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/lib/Module/CPANfile/Environment.pm 2018-04-22 01:54:49.000000000 +0200
@@ -138,7 +138,7 @@
sub add_prereq {
my($self, $type, $module, @args) = @_;
- $self->prereqs->add_prereq(
+ $self->prereqs->add(
feature => $self->{feature},
phase => $self->{phase},
type => $type,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/lib/Module/CPANfile/Prereq.pm new/Module-CPANfile-1.1003/lib/Module/CPANfile/Prereq.pm
--- old/Module-CPANfile-1.1002/lib/Module/CPANfile/Prereq.pm 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/lib/Module/CPANfile/Prereq.pm 2018-04-22 01:54:49.000000000 +0200
@@ -12,10 +12,4 @@
sub module { $_[0]->{module} }
sub requirement { $_[0]->{requirement} }
-sub match_feature {
- my($self, $identifier) = @_;
- no warnings 'uninitialized';
- $self->feature eq $identifier;
-}
-
1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/lib/Module/CPANfile/Prereqs.pm new/Module-CPANfile-1.1003/lib/Module/CPANfile/Prereqs.pm
--- old/Module-CPANfile-1.1002/lib/Module/CPANfile/Prereqs.pm 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/lib/Module/CPANfile/Prereqs.pm 2018-04-22 01:54:49.000000000 +0200
@@ -12,7 +12,7 @@
for my $phase (keys %$prereqs) {
for my $type (keys %{ $prereqs->{$phase} }) {
while (my($module, $requirement) = each %{ $prereqs->{$phase}{$type} }) {
- $self->add_prereq(
+ $self->add(
phase => $phase,
type => $type,
module => $module,
@@ -28,7 +28,7 @@
sub new {
my $class = shift;
bless {
- prereqs => [],
+ prereqs => {},
features => {},
}, $class;
}
@@ -38,14 +38,12 @@
$self->{features}{$identifier} = { description => $description };
}
-sub add_prereq {
+sub add {
my($self, %args) = @_;
- $self->add( Module::CPANfile::Prereq->new(%args) );
-}
-sub add {
- my($self, $prereq) = @_;
- push @{$self->{prereqs}}, $prereq;
+ my $feature = $args{feature} || '';
+ push @{$self->{prereqs}{$feature}},
+ Module::CPANfile::Prereq->new(%args);
}
sub as_cpan_meta {
@@ -54,24 +52,25 @@
}
sub build_cpan_meta {
- my($self, $identifier) = @_;
+ my($self, $feature) = @_;
+ CPAN::Meta::Prereqs->new($self->specs($feature));
+}
- my $prereq_spec = {};
- $self->prereq_each($identifier, sub {
- my $prereq = shift;
- $prereq_spec->{$prereq->phase}{$prereq->type}{$prereq->module} = $prereq->requirement->version;
- });
+sub specs {
+ my($self, $feature) = @_;
- CPAN::Meta::Prereqs->new($prereq_spec);
-}
+ $feature = ''
+ unless defined $feature;
-sub prereq_each {
- my($self, $identifier, $code) = @_;
+ my $prereqs = $self->{prereqs}{$feature} || [];
+ my $specs = {};
- for my $prereq (@{$self->{prereqs}}) {
- next unless $prereq->match_feature($identifier);
- $code->($prereq);
+ for my $prereq (@$prereqs) {
+ $specs->{$prereq->phase}{$prereq->type}{$prereq->module} =
+ $prereq->requirement->version;
}
+
+ return $specs;
}
sub merged_requirements {
@@ -88,8 +87,10 @@
sub find {
my($self, $module) = @_;
- for my $prereq (@{$self->{prereqs}}) {
- return $prereq if $prereq->module eq $module;
+ for my $feature ('', keys %{$self->{features}}) {
+ for my $prereq (@{$self->{prereqs}{$feature}}) {
+ return $prereq if $prereq->module eq $module;
+ }
}
return;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/lib/Module/CPANfile.pm new/Module-CPANfile-1.1003/lib/Module/CPANfile.pm
--- old/Module-CPANfile-1.1002/lib/Module/CPANfile.pm 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/lib/Module/CPANfile.pm 2018-04-22 01:54:49.000000000 +0200
@@ -6,7 +6,7 @@
use Module::CPANfile::Environment;
use Module::CPANfile::Requirement;
-our $VERSION = '1.1002';
+our $VERSION = '1.1003';
BEGIN {
if (${^TAINT}) {
@@ -101,10 +101,8 @@
sub prereqs_with {
my($self, @feature_identifiers) = @_;
- my $prereqs = $self->prereqs;
my @others = map { $self->feature($_)->prereqs } @feature_identifiers;
-
- $prereqs->with_merged_prereqs(\@others);
+ $self->prereqs->with_merged_prereqs(\@others);
}
sub prereq_specs {
@@ -139,10 +137,9 @@
CPAN::Meta->new($struct)->save($file, { version => $version });
}
-sub _dump {
- my $str = shift;
+sub _d($) {
require Data::Dumper;
- chomp(my $value = Data::Dumper->new([$str])->Terse(1)->Dump);
+ chomp(my $value = Data::Dumper->new([$_[0]])->Terse(1)->Dump);
$value;
}
@@ -162,9 +159,9 @@
$code .= $self->_dump_prereqs($prereqs, $include_empty);
for my $feature ($self->features) {
- $code .= sprintf "feature %s, %s => sub {\n", _dump($feature->{identifier}), _dump($feature->{description});
+ $code .= "feature @{[ _d $feature->{identifier} ]}, @{[ _d $feature->{description} ]} => sub {\n";
$code .= $self->_dump_prereqs($feature->{spec}, $include_empty, 4);
- $code .= "}\n\n";
+ $code .= "};\n\n";
}
$code =~ s/\n+$/\n/s;
@@ -177,7 +174,7 @@
my $code = "";
for my $url (@$mirrors) {
- $code .= "mirror '$url';\n";
+ $code .= "mirror @{[ _d $url ]};\n";
}
$code =~ s/\n+$/\n/s;
@@ -190,7 +187,7 @@
my $code = '';
for my $phase (qw(runtime configure build test develop)) {
my $indent = $phase eq 'runtime' ? '' : ' ';
- $indent = (' ' x ($base_indent || 0)) . $indent;
+ $indent .= (' ' x ($base_indent || 0));
my($phase_code, $requirements);
$phase_code .= "on $phase => sub {\n" unless $phase eq 'runtime';
@@ -199,8 +196,21 @@
for my $mod (sort keys %{$prereqs->{$phase}{$type}}) {
my $ver = $prereqs->{$phase}{$type}{$mod};
$phase_code .= $ver eq '0'
- ? "${indent}$type '$mod';\n"
- : "${indent}$type '$mod', '$ver';\n";
+ ? "${indent}$type @{[ _d $mod ]}"
+ : "${indent}$type @{[ _d $mod ]}, @{[ _d $ver ]}";
+
+ my $options = $self->options_for_module($mod) || {};
+ if (%$options) {
+ my @opts;
+ for my $key (keys %$options) {
+ my $k = $key =~ /^[a-zA-Z0-9_]+$/ ? $key : _d $key;
+ push @opts, "$k => @{[ _d $options->{$k} ]}";
+ }
+
+ $phase_code .= ",\n" . join(",\n", map " $indent$_", @opts);
+ }
+
+ $phase_code .= ";\n";
$requirements++;
}
}
@@ -329,6 +339,25 @@
version in the second argument, which defaults to 1.4 in case the
given file is YAML, and 2 if it is JSON.
+=item options_for_module
+
+ my $options = $file->options_for_module($module);
+
+Returns the extra options specified for a given module as a hash
+reference. Returns C<undef> when the given module is not specified in
+the C<cpanfile>.
+
+For example,
+
+ # cpanfile
+ requires 'Plack', '1.000',
+ dist => "MIYAGAWA/Plack-1.000.tar.gz";
+
+ # ...
+ my $file = Module::CPANfile->load;
+ my $options = $file->options_for_module('Plack');
+ # => { dist => "MIYAGAWA/Plack-1.000.tar.gz" }
+
=back
=head1 AUTHOR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/t/Utils.pm new/Module-CPANfile-1.1003/t/Utils.pm
--- old/Module-CPANfile-1.1002/t/Utils.pm 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/t/Utils.pm 2018-04-22 01:54:49.000000000 +0200
@@ -1,5 +1,6 @@
package t::Utils;
use base qw(Exporter);
+use File::pushd qw(tempd);
our @EXPORT = qw(write_cpanfile write_files);
@@ -10,30 +11,15 @@
sub write_files {
my %files = @_;
- my $dir = "t/sample-" . rand(100000);
- mkdir $dir;
- chdir $dir;
+ my $dir = tempd;
for my $file (keys %files) {
- open my $fh, ">", $file or die $!;
+ open my $fh, ">", $file or die "$file: $!";
print $fh $files{$file};
}
- return Remover->new($dir, [ keys %files ]);
+ return $dir;
}
-package
- Remover;
-sub new {
- bless { dir => $_[1], files => $_[2] }, $_[0];
-}
-
-sub DESTROY {
- my $self = shift;
- for my $file (@{$self->{files}}) {
- unlink $file;
- }
- chdir "../..";
- rmdir $self->{dir};
-}
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/t/author-pod-syntax.t new/Module-CPANfile-1.1003/t/author-pod-syntax.t
--- old/Module-CPANfile-1.1002/t/author-pod-syntax.t 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/t/author-pod-syntax.t 2018-04-22 01:54:49.000000000 +0200
@@ -2,8 +2,8 @@
BEGIN {
unless ($ENV{AUTHOR_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for testing by the author');
+ print qq{1..0 # SKIP these tests are for testing by the author\n};
+ exit
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/t/feature.t new/Module-CPANfile-1.1003/t/feature.t
--- old/Module-CPANfile-1.1002/t/feature.t 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/t/feature.t 2018-04-22 01:54:49.000000000 +0200
@@ -1,6 +1,7 @@
use strict;
use Module::CPANfile;
use Test::More;
+use lib ".";
use t::Utils;
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/t/from_prereqs.t new/Module-CPANfile-1.1003/t/from_prereqs.t
--- old/Module-CPANfile-1.1002/t/from_prereqs.t 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/t/from_prereqs.t 2018-04-22 01:54:49.000000000 +0200
@@ -2,6 +2,7 @@
use Test::More;
use Module::CPANfile;
+use lib ".";
use t::Utils;
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/t/merge.t new/Module-CPANfile-1.1003/t/merge.t
--- old/Module-CPANfile-1.1002/t/merge.t 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/t/merge.t 2018-04-22 01:54:49.000000000 +0200
@@ -1,6 +1,7 @@
use strict;
use Module::CPANfile;
use Test::More;
+use lib ".";
use t::Utils;
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/t/mirror.t new/Module-CPANfile-1.1003/t/mirror.t
--- old/Module-CPANfile-1.1002/t/mirror.t 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/t/mirror.t 2018-04-22 01:54:49.000000000 +0200
@@ -1,6 +1,7 @@
use strict;
use Module::CPANfile;
use Test::More;
+use lib ".";
use t::Utils;
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/t/options.t new/Module-CPANfile-1.1003/t/options.t
--- old/Module-CPANfile-1.1002/t/options.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-CPANfile-1.1003/t/options.t 2018-04-22 01:54:49.000000000 +0200
@@ -0,0 +1,37 @@
+use strict;
+use Test::More;
+
+use Module::CPANfile;
+use lib ".";
+use t::Utils;
+
+{
+ my $r = write_cpanfile(<<FILE);
+requires 'Path::Class', 0.26,
+ dist => "KWILLIAMS/Path-Class-0.26.tar.gz";
+
+# omit version specifier
+requires 'Hash::MultiValue',
+ dist => "MIYAGAWA/Hash-MultiValue-0.15.tar.gz";
+
+# use dist + mirror
+requires 'Cookie::Baker',
+ dist => "KAZEBURO/Cookie-Baker-0.08.tar.gz",
+ mirror => "http://cpan.cpantesters.org/";
+
+# use the full URL
+requires 'Try::Tiny', 0.28,
+ url => "http://backpan.perl.org/authors/id/E/ET/ETHER/Try-Tiny-0.28.tar.gz";
+FILE
+
+ my $file1 = Module::CPANfile->load;
+ my $blob = $file1->to_string;
+
+ my $file2 = Module::CPANfile->load(\$blob);
+
+ for my $mod ( qw(Path::Class Hash::MultiValue Cookie::Baker Try::Tiny) ) {
+ is_deeply $file1->options_for_module($mod), $file2->options_for_module($mod);
+ }
+}
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/t/parse.t new/Module-CPANfile-1.1003/t/parse.t
--- old/Module-CPANfile-1.1002/t/parse.t 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/t/parse.t 2018-04-22 01:54:49.000000000 +0200
@@ -2,6 +2,7 @@
use Module::CPANfile;
use Test::More;
use POSIX qw(locale_h);
+use lib ".";
use t::Utils;
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-CPANfile-1.1002/t/requirement.t new/Module-CPANfile-1.1003/t/requirement.t
--- old/Module-CPANfile-1.1002/t/requirement.t 2016-02-12 17:23:03.000000000 +0100
+++ new/Module-CPANfile-1.1003/t/requirement.t 2018-04-22 01:54:49.000000000 +0200
@@ -1,6 +1,7 @@
use strict;
use Module::CPANfile;
use Test::More;
+use lib ".";
use t::Utils;
{
1
0
Hello community,
here is the log from the commit of package perl-Time-Tiny for openSUSE:Factory checked in at 2018-04-26 13:37:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Time-Tiny (Old)
and /work/SRC/openSUSE:Factory/.perl-Time-Tiny.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Time-Tiny"
Thu Apr 26 13:37:43 2018 rev:7 rq:599884 version:1.08
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Time-Tiny/perl-Time-Tiny.changes 2016-07-12 23:50:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Time-Tiny.new/perl-Time-Tiny.changes 2018-04-26 13:37:51.812449238 +0200
@@ -1,0 +2,10 @@
+Mon Apr 23 06:10:59 UTC 2018 - coolo(a)suse.com
+
+- updated to 1.08
+ see /usr/share/doc/packages/perl-Time-Tiny/Changes
+
+ 1.08 2018-04-22 10:50:14+02:00 Europe/Oslo
+
+ - Typo fix
+
+-------------------------------------------------------------------
Old:
----
Time-Tiny-1.07.tar.gz
New:
----
Time-Tiny-1.08.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Time-Tiny.spec ++++++
--- /var/tmp/diff_new_pack.e8eMJF/_old 2018-04-26 13:37:52.364429007 +0200
+++ /var/tmp/diff_new_pack.e8eMJF/_new 2018-04-26 13:37:52.368428861 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Time-Tiny
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
Name: perl-Time-Tiny
-Version: 1.07
+Version: 1.08
Release: 0
%define cpan_name Time-Tiny
Summary: Time Object, with As Little Code As Possible
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Time-Tiny/
-Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.…
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -55,6 +55,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes CONTRIBUTING.mkdn LICENSE README
+%doc Changes CONTRIBUTING.mkdn README
+%license LICENSE
%changelog
++++++ Time-Tiny-1.07.tar.gz -> Time-Tiny-1.08.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/Changes new/Time-Tiny-1.08/Changes
--- old/Time-Tiny-1.07/Changes 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/Changes 2018-04-22 10:50:20.000000000 +0200
@@ -1,5 +1,9 @@
Revision history for Time-Tiny
+1.08 2018-04-22 10:50:14+02:00 Europe/Oslo
+
+ - Typo fix
+
1.07 2016-06-23 09:41:50-04:00 America/New_York
- No changes from 1.06
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/MANIFEST new/Time-Tiny-1.08/MANIFEST
--- old/Time-Tiny-1.07/MANIFEST 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/MANIFEST 2018-04-22 10:50:20.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.005.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012.
CONTRIBUTING.mkdn
Changes
LICENSE
@@ -16,10 +16,10 @@
t/02_main.t
xt/author/00-compile.t
xt/author/critic.t
+xt/author/minimum-version.t
xt/author/pod-coverage.t
xt/author/pod-spell.t
xt/author/pod-syntax.t
xt/author/portability.t
xt/author/test-version.t
xt/release/distmeta.t
-xt/release/minimum-version.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/META.json new/Time-Tiny-1.08/META.json
--- old/Time-Tiny-1.07/META.json 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/META.json 2018-04-22 10:50:20.000000000 +0200
@@ -5,7 +5,7 @@
"David Golden <dagolden(a)cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.005, CPAN::Meta::Converter version 2.150005",
+ "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -37,7 +37,6 @@
"Dist::Zilla" : "5",
"Dist::Zilla::Plugin::RemovePrereqs" : "0",
"Dist::Zilla::PluginBundle::DAGOLDEN" : "0.072",
- "English" : "0",
"File::Spec" : "0",
"File::Temp" : "0",
"IO::Handle" : "0",
@@ -46,13 +45,14 @@
"Pod::Wordlist" : "0",
"Software::License::Perl_5" : "0",
"Test::CPAN::Meta" : "0",
+ "Test::MinimumVersion" : "0",
"Test::More" : "0",
+ "Test::Perl::Critic" : "0",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08",
"Test::Portability::Files" : "0",
"Test::Spelling" : "0.12",
"Test::Version" : "1",
- "blib" : "1.01",
"perl" : "5.006"
}
},
@@ -80,7 +80,7 @@
"provides" : {
"Time::Tiny" : {
"file" : "lib/Time/Tiny.pm",
- "version" : "1.07"
+ "version" : "1.08"
}
},
"release_status" : "stable",
@@ -95,7 +95,12 @@
"web" : "https://github.com/dagolden/Time-Tiny"
}
},
- "version" : "1.07",
- "x_authority" : "cpan:DAGOLDEN"
+ "version" : "1.08",
+ "x_authority" : "cpan:DAGOLDEN",
+ "x_contributors" : [
+ "Tim Heaney <oylenshpeegul(a)gmail.com>"
+ ],
+ "x_generated_by_perl" : "v5.26.1",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/META.yml new/Time-Tiny-1.08/META.yml
--- old/Time-Tiny-1.07/META.yml 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/META.yml 2018-04-22 10:50:20.000000000 +0200
@@ -12,7 +12,7 @@
ExtUtils::MakeMaker: '6.17'
perl: '5.006'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.005, CPAN::Meta::Converter version 2.150005'
+generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,7 +29,7 @@
provides:
Time::Tiny:
file: lib/Time/Tiny.pm
- version: '1.07'
+ version: '1.08'
requires:
Carp: '0'
overload: '0'
@@ -40,5 +40,9 @@
bugtracker: https://github.com/dagolden/Time-Tiny/issues
homepage: https://github.com/dagolden/Time-Tiny
repository: https://github.com/dagolden/Time-Tiny.git
-version: '1.07'
+version: '1.08'
x_authority: cpan:DAGOLDEN
+x_contributors:
+ - 'Tim Heaney <oylenshpeegul(a)gmail.com>'
+x_generated_by_perl: v5.26.1
+x_serialization_backend: 'YAML::Tiny version 1.70'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/Makefile.PL new/Time-Tiny-1.08/Makefile.PL
--- old/Time-Tiny-1.07/Makefile.PL 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/Makefile.PL 2018-04-22 10:50:20.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.005.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012.
use strict;
use warnings;
@@ -27,7 +27,7 @@
"File::Spec" => 0,
"Test::More" => 0
},
- "VERSION" => "1.07",
+ "VERSION" => "1.08",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/README new/Time-Tiny-1.08/README
--- old/Time-Tiny-1.07/README 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/README 2018-04-22 10:50:20.000000000 +0200
@@ -2,7 +2,7 @@
Time::Tiny - A time object, with as little code as possible
VERSION
- version 1.07
+ version 1.08
SYNOPSIS
# Create a time manually
@@ -68,14 +68,14 @@
the usefulness greatly.
To make up for this, if you have DateTime installed, any Time::Tiny
- module can be inflated into the equivalent DateTime as needing, loading
+ module can be inflated into the equivalent DateTime as needed, loading
DateTime on the fly if necessary.
For the purposes of date/time logic, all Time::Tiny objects exist in the
"C" locale, and the "floating" time zone (although obviously in a pure
date context, the time zone largely doesn't matter).
- When converting up to full DateTime objects, these local and time zone
+ When converting up to full DateTime objects, these locale and time zone
settings will be applied (although an ability is provided to override
this).
@@ -187,6 +187,9 @@
* David Golden <dagolden(a)cpan.org>
+CONTRIBUTOR
+ Tim Heaney <oylenshpeegul(a)gmail.com>
+
COPYRIGHT AND LICENSE
This software is copyright (c) 2006 by Adam Kennedy.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/cpanfile new/Time-Tiny-1.08/cpanfile
--- old/Time-Tiny-1.07/cpanfile 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/cpanfile 2018-04-22 10:50:20.000000000 +0200
@@ -24,7 +24,6 @@
requires "Dist::Zilla" => "5";
requires "Dist::Zilla::Plugin::RemovePrereqs" => "0";
requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.072";
- requires "English" => "0";
requires "File::Spec" => "0";
requires "File::Temp" => "0";
requires "IO::Handle" => "0";
@@ -33,12 +32,13 @@
requires "Pod::Wordlist" => "0";
requires "Software::License::Perl_5" => "0";
requires "Test::CPAN::Meta" => "0";
+ requires "Test::MinimumVersion" => "0";
requires "Test::More" => "0";
+ requires "Test::Perl::Critic" => "0";
requires "Test::Pod" => "1.41";
requires "Test::Pod::Coverage" => "1.08";
requires "Test::Portability::Files" => "0";
requires "Test::Spelling" => "0.12";
requires "Test::Version" => "1";
- requires "blib" => "1.01";
requires "perl" => "5.006";
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/lib/Time/Tiny.pm new/Time-Tiny-1.08/lib/Time/Tiny.pm
--- old/Time-Tiny-1.07/lib/Time/Tiny.pm 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/lib/Time/Tiny.pm 2018-04-22 10:50:20.000000000 +0200
@@ -3,7 +3,7 @@
package Time::Tiny;
# ABSTRACT: A time object, with as little code as possible
-our $VERSION = '1.07';
+our $VERSION = '1.08';
use overload 'bool' => sub () { 1 };
use overload '""' => 'as_string';
@@ -219,7 +219,7 @@
=head1 VERSION
-version 1.07
+version 1.08
=head1 SYNOPSIS
@@ -290,13 +290,13 @@
To make up for this, B<if> you have L<DateTime> installed, any
B<Time::Tiny> module can be inflated into the equivalent L<DateTime>
-as needing, loading L<DateTime> on the fly if necessary.
+as needed, loading L<DateTime> on the fly if necessary.
For the purposes of date/time logic, all B<Time::Tiny> objects exist
in the "C" locale, and the "floating" time zone (although obviously in a
pure date context, the time zone largely doesn't matter).
-When converting up to full L<DateTime> objects, these local and time
+When converting up to full L<DateTime> objects, these locale and time
zone settings will be applied (although an ability is provided to
override this).
@@ -435,6 +435,12 @@
=back
+=head1 CONTRIBUTOR
+
+=for stopwords Tim Heaney
+
+Tim Heaney <oylenshpeegul(a)gmail.com>
+
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2006 by Adam Kennedy.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/t/00-report-prereqs.dd new/Time-Tiny-1.08/t/00-report-prereqs.dd
--- old/Time-Tiny-1.07/t/00-report-prereqs.dd 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/t/00-report-prereqs.dd 2018-04-22 10:50:20.000000000 +0200
@@ -10,7 +10,6 @@
'Dist::Zilla' => '5',
'Dist::Zilla::Plugin::RemovePrereqs' => '0',
'Dist::Zilla::PluginBundle::DAGOLDEN' => '0.072',
- 'English' => '0',
'File::Spec' => '0',
'File::Temp' => '0',
'IO::Handle' => '0',
@@ -19,13 +18,14 @@
'Pod::Wordlist' => '0',
'Software::License::Perl_5' => '0',
'Test::CPAN::Meta' => '0',
+ 'Test::MinimumVersion' => '0',
'Test::More' => '0',
+ 'Test::Perl::Critic' => '0',
'Test::Pod' => '1.41',
'Test::Pod::Coverage' => '1.08',
'Test::Portability::Files' => '0',
'Test::Spelling' => '0.12',
'Test::Version' => '1',
- 'blib' => '1.01',
'perl' => '5.006'
}
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/t/00-report-prereqs.t new/Time-Tiny-1.08/t/00-report-prereqs.t
--- old/Time-Tiny-1.07/t/00-report-prereqs.t 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/t/00-report-prereqs.t 2018-04-22 10:50:20.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
use Test::More tests => 1;
@@ -68,7 +68,7 @@
);
# Add static prereqs to the included modules list
-my $static_prereqs = do 't/00-report-prereqs.dd';
+my $static_prereqs = do './t/00-report-prereqs.dd';
# Merge all prereqs (either with ::Prereqs or a hashref)
my $full_prereqs = _merge_prereqs(
@@ -78,12 +78,14 @@
# Add dynamic prereqs to the included modules list (if we can)
my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+my $cpan_meta_error;
if ( $source && $HAS_CPAN_META
&& (my $meta = eval { CPAN::Meta->load_file($source) } )
) {
$full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
}
else {
+ $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source)
$source = 'static metadata';
}
@@ -169,10 +171,18 @@
diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports;
}
+if ( $cpan_meta_error || @dep_errors ) {
+ diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n";
+}
+
+if ( $cpan_meta_error ) {
+ my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+ diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n";
+}
+
if ( @dep_errors ) {
diag join("\n",
- "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n",
- "The following REQUIRED prerequisites were not satisfied:\n",
+ "\nThe following REQUIRED prerequisites were not satisfied:\n",
@dep_errors,
"\n"
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/xt/author/00-compile.t new/Time-Tiny-1.08/xt/author/00-compile.t
--- old/Time-Tiny-1.07/xt/author/00-compile.t 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/xt/author/00-compile.t 2018-04-22 10:50:20.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058
use Test::More;
@@ -19,7 +19,9 @@
local $ENV{HOME} = File::Temp::tempdir( CLEANUP => 1 );
-my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib';
+my @switches = (
+ -d 'blib' ? '-Mblib' : '-Ilib',
+);
use File::Spec;
use IPC::Open3;
@@ -33,14 +35,18 @@
# see L<perlfaq8/How can I capture STDERR from an external command?>
my $stderr = IO::Handle->new;
- my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]");
+ diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . $str . q{'} }
+ $^X, @switches, '-e', "require q[$lib]"))
+ if $ENV{PERL_COMPILE_TEST_DEBUG};
+
+ my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]");
binmode $stderr, ':crlf' if $^O eq 'MSWin32';
my @_warnings = <$stderr>;
waitpid($pid, 0);
is($?, 0, "$lib loaded ok");
shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/
- and not eval { require blib; blib->VERSION('1.01') };
+ and not eval { +require blib; blib->VERSION('1.01') };
if (@_warnings)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/xt/author/critic.t new/Time-Tiny-1.08/xt/author/critic.t
--- old/Time-Tiny-1.07/xt/author/critic.t 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/xt/author/critic.t 2018-04-22 10:50:20.000000000 +0200
@@ -3,10 +3,5 @@
use strict;
use warnings;
-use Test::More;
-use English qw(-no_match_vars);
-
-eval "use Test::Perl::Critic";
-plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
-Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
+use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc";
all_critic_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/xt/author/minimum-version.t new/Time-Tiny-1.08/xt/author/minimum-version.t
--- old/Time-Tiny-1.07/xt/author/minimum-version.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Time-Tiny-1.08/xt/author/minimum-version.t 2018-04-22 10:50:20.000000000 +0200
@@ -0,0 +1,6 @@
+#!perl
+
+use Test::More;
+
+use Test::MinimumVersion;
+all_minimum_version_ok( qq{5.010} );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/xt/author/pod-spell.t new/Time-Tiny-1.08/xt/author/pod-spell.t
--- old/Time-Tiny-1.07/xt/author/pod-spell.t 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/xt/author/pod-spell.t 2018-04-22 10:50:20.000000000 +0200
@@ -2,20 +2,23 @@
use warnings;
use Test::More;
-# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007002
+# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005
use Test::Spelling 0.12;
use Pod::Wordlist;
add_stopwords(<DATA>);
-all_pod_files_spelling_ok( qw( bin lib ) );
+all_pod_files_spelling_ok( qw( bin lib ) );
__DATA__
Adam
-Kennedy
-adamk
David
Golden
-dagolden
-lib
+Heaney
+Kennedy
+Tim
Time
Tiny
+adamk
+dagolden
+lib
+oylenshpeegul
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/xt/author/portability.t new/Time-Tiny-1.08/xt/author/portability.t
--- old/Time-Tiny-1.07/xt/author/portability.t 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/xt/author/portability.t 2018-04-22 10:50:20.000000000 +0200
@@ -1,5 +1,3 @@
-#!perl
-
use strict;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Tiny-1.07/xt/release/minimum-version.t new/Time-Tiny-1.08/xt/release/minimum-version.t
--- old/Time-Tiny-1.07/xt/release/minimum-version.t 2016-06-23 15:41:55.000000000 +0200
+++ new/Time-Tiny-1.08/xt/release/minimum-version.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!perl
-
-use Test::More;
-
-eval "use Test::MinimumVersion";
-plan skip_all => "Test::MinimumVersion required for testing minimum versions"
- if $@;
-all_minimum_version_ok( qq{5.010} );
1
0
Hello community,
here is the log from the commit of package gstreamer-plugins-libav for openSUSE:Factory checked in at 2018-04-26 13:37:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-libav (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-plugins-libav.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-libav"
Thu Apr 26 13:37:39 2018 rev:10 rq:599881 version:1.12.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/gstreamer-plugins-libav/gstreamer-plugins-libav.changes 2018-04-03 12:12:00.215592656 +0200
+++ /work/SRC/openSUSE:Factory/.gstreamer-plugins-libav.new/gstreamer-plugins-libav.changes 2018-04-26 13:37:50.216507731 +0200
@@ -1,0 +2,9 @@
+Sun Apr 22 23:35:03 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Explicitly version pkgconfig(libavcodec), pkgconfig(libavfilter),
+ pkgconfig(libavformat), pkgconfig(libavutil) and
+ pkgconfig(libswscale) BuildRequires to less than the symbol
+ versions provided by ffmpeg4 branch until upstream catches up.
+ Currently provided by new ffmpeg3 compatability package.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-plugins-libav.spec ++++++
--- /var/tmp/diff_new_pack.6HgLCs/_old 2018-04-26 13:37:51.140473866 +0200
+++ /var/tmp/diff_new_pack.6HgLCs/_new 2018-04-26 13:37:51.140473866 +0200
@@ -34,12 +34,12 @@
BuildRequires: pkgconfig(gstreamer-base-1.0) >= %{version}
BuildRequires: pkgconfig(gstreamer-check-1.0) >= %{version}
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= %{version}
-BuildRequires: pkgconfig(libavcodec) >= 57
-BuildRequires: pkgconfig(libavfilter)
-BuildRequires: pkgconfig(libavformat)
-BuildRequires: pkgconfig(libavutil)
+BuildRequires: pkgconfig(libavcodec) < 58
+BuildRequires: pkgconfig(libavfilter) < 7
+BuildRequires: pkgconfig(libavformat) < 58
+BuildRequires: pkgconfig(libavutil) < 56
BuildRequires: pkgconfig(liblzma)
-BuildRequires: pkgconfig(libswscale)
+BuildRequires: pkgconfig(libswscale) < 5
BuildRequires: pkgconfig(orc-0.4) >= 0.4.16
BuildRequires: pkgconfig(zlib)
Requires: gstreamer >= %{version}
1
0
Hello community,
here is the log from the commit of package pcsc-tools for openSUSE:Factory checked in at 2018-04-26 13:37:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pcsc-tools (Old)
and /work/SRC/openSUSE:Factory/.pcsc-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcsc-tools"
Thu Apr 26 13:37:36 2018 rev:2 rq:599744 version:1.5.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/pcsc-tools/pcsc-tools.changes 2017-08-02 11:27:49.929028124 +0200
+++ /work/SRC/openSUSE:Factory/.pcsc-tools.new/pcsc-tools.changes 2018-04-26 13:37:49.236543648 +0200
@@ -1,0 +2,11 @@
+Sat Apr 21 06:49:45 UTC 2018 - wr(a)rosenauer.org
+
+- update to 1.5.3
+ * 253 new ATRs
+ * pcsc_scan
+ - add -v argument (default) for verbose
+ - add -q argument for quiet
+ - add -r argument to display the reader list
+ - allow to use Control-C to break execution
+
+-------------------------------------------------------------------
Old:
----
pcsc-tools-1.5.2.tar.bz2
pcsc-tools-1.5.2.tar.bz2.asc
New:
----
pcsc-tools-1.5.3.tar.bz2
pcsc-tools-1.5.3.tar.bz2.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pcsc-tools.spec ++++++
--- /var/tmp/diff_new_pack.pItjE6/_old 2018-04-26 13:37:49.848521218 +0200
+++ /var/tmp/diff_new_pack.pItjE6/_new 2018-04-26 13:37:49.848521218 +0200
@@ -1,7 +1,7 @@
#
# spec file for package pcsc-tools
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
Name: pcsc-tools
-Version: 1.5.2
+Version: 1.5.3
Release: 0
Summary: PC/SC Tools
-License: GPL-2.0+ and GPL-3.0+
+License: GPL-2.0-or-later AND GPL-3.0-or-later
Group: System/Management
Url: http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
Source0: http://ludovic.rousseau.free.fr/softwares/%{name}/%{name}-%{version}.tar.bz2
++++++ pcsc-tools-1.5.2.tar.bz2 -> pcsc-tools-1.5.3.tar.bz2 ++++++
++++ 3651 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package aqbanking for openSUSE:Factory checked in at 2018-04-26 13:37:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aqbanking (Old)
and /work/SRC/openSUSE:Factory/.aqbanking.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aqbanking"
Thu Apr 26 13:37:33 2018 rev:74 rq:599641 version:5.7.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/aqbanking/aqbanking.changes 2017-11-30 12:45:53.196838588 +0100
+++ /work/SRC/openSUSE:Factory/.aqbanking.new/aqbanking.changes 2018-04-26 13:37:44.972699922 +0200
@@ -1,0 +2,7 @@
+Sat Apr 21 18:48:02 UTC 2018 - jcnengel(a)gmail.com
+
+- Update to 5.7.8
+ + Bugfixes
+ + Updates of German bankinfo files
+
+-------------------------------------------------------------------
Old:
----
aqbanking-5.7.6beta.tar.gz
New:
----
aqbanking-5.7.8.tar.gz
aqbanking-5.7.8.tar.gz.asc
aqbanking.keyring
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ aqbanking.spec ++++++
--- /var/tmp/diff_new_pack.OFDvRU/_old 2018-04-26 13:37:45.952664005 +0200
+++ /var/tmp/diff_new_pack.OFDvRU/_new 2018-04-26 13:37:45.956663858 +0200
@@ -1,7 +1,7 @@
#
# spec file for package aqbanking
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nürnberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,7 @@
%define q4b_cfgmoddir %{fronts_libdir}/q4banking/cfgmodules
Name: aqbanking
-Version: 5.7.6beta
+Version: 5.7.8
Release: 0
Summary: Library for Online Banking Functions and Financial Data Import and Export
License: GPL-2.0 or GPL-3.0
@@ -41,6 +41,8 @@
Url: http://www.aquamaniac.de/aqbanking/
Source: %{name}-%{version}.tar.gz
Source1: aqbanking4-handbook-20091231.pdf
+Source2: %{name}-%{version}.tar.gz.asc
+Source3: %{name}.keyring
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: fdupes
++++++ aqbanking-5.7.6beta.tar.gz -> aqbanking-5.7.8.tar.gz ++++++
++++ 32182 lines of diff (skipped)
++++++ aqbanking.keyring ++++++
pub dsa1024 2003-05-05 [SCA]
88491B1E68624A5AE5068262895C619C3CA35783
uid [ unknown] Martin Preuss <martin(a)libchipcard.de>
sub elg1024 2003-05-05 [E]
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBD62TJQRBAC9sXy5PN4BuKCzwpCaorZYaAh/GxAaKx8ttlgUr281Eu6dEvGf
qCK4hN4DkpWN2l/i6BT4ZhrRJzTqkR19P/P9HKoQrW4R/Avad3krhXiZ5YBd682K
Js+nhC9gtfvFWft9n/h7ZpyI305iDeEFYt0plF1CydtPpwOwKwHY9mpM/wCgwV4R
I5Oou4ZvALvI3u7LMsgDp2cEALR6d832oFzoxF3sbuxFCvzpaOPusrx8T1JR+dn2
V/lgSnlwW4+Ei7hgLs6CnjwiBNNOf2nF9oBWQoORAM1nCa87gQraaRIwiXrXLnSV
5egrhkbmOw0qdm+9nhnfJLFKrP0HqoNSidM8tpqxIP2Sjb0UZ55+q9fd7yEp4Zpa
cbufA/9kl0G+k66+GnYti3Klq37HtcE4X5wgr+l/ugJF8wdiZiRObwfJTq3K+QTi
7BbuFQHaXJTC+1iKH6qwDoRcboksGQtljOspCybBDLcy3l2dD5ghLpwZ9p/mfoh5
IsTclsscF04rjqnltTOLp9sapf2CuGwPDvnnDjxx8VvDOfZEMrQlTWFydGluIFBy
ZXVzcyA8bWFydGluQGxpYmNoaXBjYXJkLmRlPohZBBMRAgAZBQI+tkyUBAsHAwID
FQIDAxYCAQIeAQIXgAAKCRCJXGGcPKNXgx89AKCTcgzd80eWmN02vA8bjLjT25Dr
pwCeKRPyDoOavTwHUgoZK9epfu04CeS5AQ0EPrZMlRAEAP86IQTcXtQsk+j7/ukq
fDoPoEbYNcIQtutPEvE4lpyoTHceadOt34KoiC6KB4mI70OeMbxwbnC7x53SWn32
V9CbOOZmvWvt+seFsNi0DyF6gPfnr4q7HxCLhg4PpEX3HxHbgCRC7calb0HabzLP
sUIdFGubHAxRkx7+VGF48BjzAAMFA/9o/uTYrigL8UHide5aLc9VpaXHH2R5S2SK
4YLO40xHyYMSbIXpejic2LptJxFxJJy4/o4XB+cxvdnUkfoKi7ChM6rLDdUWIU7W
mDmMILt8YLCFBnpPagDUN3gNUxi3cnq9aMwGQGPLx8xrOEEqAVMguoU/sWt+AivY
7DY247sYDYhGBBgRAgAGBQI+tkyVAAoJEIlcYZw8o1eDQJEAn0aUqNQYgJvezWk7
Xx+s8DvpUMvCAJ0em/LrNkIkGSPtifsKLrTA7oCRjQ==
=1Nli
-----END PGP PUBLIC KEY BLOCK-----
1
0
Hello community,
here is the log from the commit of package python-SQLAlchemy for openSUSE:Factory checked in at 2018-04-26 13:37:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-SQLAlchemy (Old)
and /work/SRC/openSUSE:Factory/.python-SQLAlchemy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-SQLAlchemy"
Thu Apr 26 13:37:26 2018 rev:50 rq:599639 version:1.2.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-SQLAlchemy/python-SQLAlchemy.changes 2018-04-11 13:59:55.755275579 +0200
+++ /work/SRC/openSUSE:Factory/.python-SQLAlchemy.new/python-SQLAlchemy.changes 2018-04-26 13:37:39.592897096 +0200
@@ -1,0 +2,47 @@
+Sat Apr 21 16:35:48 UTC 2018 - arun(a)gmx.de
+
+- update to version 1.2.7:
+ * orm
+ + [orm] [bug] Fixed regression in 1.2 within sharded query feature
+ where the new “identity_token” element was not being correctly
+ considered within the scope of a lazy load operation, when
+ searching the identity map for a related many-to-one
+ element. The new behavior will allow for making use of the
+ “id_chooser” in order to determine the best identity key to
+ retrieve from the identity map. In order to achieve this, some
+ refactoring of 1.2’s “identity_token” approach has made some
+ slight changes to the implementation of ShardedQuery which
+ should be noted for other derivations of this class.
+ References: #4228
+ + [orm] [bug] Fixed issue in single-inheritance loading where the
+ use of an aliased entity against a single-inheritance subclass
+ in conjunction with the Query.select_from() method would cause
+ the SQL to be rendered with the unaliased table mixed in to the
+ query, causing a cartesian product. In particular this was
+ affecting the new “selectin” loader when used against a
+ single-inheritance subclass. References: #4241
+ * sql
+ + [sql] [bug] Fixed issue where the compilation of an INSERT
+ statement with the “literal_binds” option that also uses an
+ explicit sequence and “inline” generation, as on Postgresql and
+ Oracle, would fail to accommodate the extra keyword argument
+ within the sequence processing routine. References: #4231
+ * postgresql
+ + [postgresql] [feature] Added new PG type postgresql.REGCLASS
+ which assists in casting table names to OID values. Pull request
+ courtesy Sebastian Bank. References: #4160
+ + [postgresql] [bug] Fixed bug where the special “not equals”
+ operator for the Postgresql “range” datatypes such as DATERANGE
+ would fail to render “IS NOT NULL” when compared to the Python
+ None value. References: #4229
+ * mssql
+ + [mssql] [bug] Fixed 1.2 regression caused by #4060 where the
+ query used to reflect SQL Server cross-schema foreign keys was
+ limiting the criteria incorrectly. References: #4234
+ * oracle
+ + [oracle] [bug] The Oracle NUMBER datatype is reflected as
+ INTEGER if the precision is NULL and the scale is zero, as this
+ is how INTEGER values come back when reflected from Oracle’s
+ tables. Pull request courtesy Kent Bower.
+
+-------------------------------------------------------------------
Old:
----
SQLAlchemy-1.2.6.tar.gz
New:
----
SQLAlchemy-1.2.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-SQLAlchemy.spec ++++++
--- /var/tmp/diff_new_pack.iqeQzO/_old 2018-04-26 13:37:40.240873346 +0200
+++ /var/tmp/diff_new_pack.iqeQzO/_new 2018-04-26 13:37:40.244873200 +0200
@@ -20,12 +20,12 @@
%define oldpython python
%bcond_without tests
Name: python-SQLAlchemy
-Version: 1.2.6
+Version: 1.2.7
Release: 0
Summary: Database Abstraction Library
License: MIT
Group: Development/Languages/Python
-Url: http://www.sqlalchemy.org
+URL: http://www.sqlalchemy.org
Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{ve…
BuildRequires: %{python_module devel}
# Test requirements:
++++++ SQLAlchemy-1.2.6.tar.gz -> SQLAlchemy-1.2.7.tar.gz ++++++
++++ 6764 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-imageio for openSUSE:Factory checked in at 2018-04-26 13:37:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-imageio (Old)
and /work/SRC/openSUSE:Factory/.python-imageio.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-imageio"
Thu Apr 26 13:37:22 2018 rev:2 rq:599638 version:2.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-imageio/python-imageio.changes 2018-03-09 10:36:29.616507142 +0100
+++ /work/SRC/openSUSE:Factory/.python-imageio.new/python-imageio.changes 2018-04-26 13:37:29.793256256 +0200
@@ -1,0 +2,54 @@
+Sat Apr 21 16:43:24 UTC 2018 - arun(a)gmx.de
+
+- specfile:
+ * changed from zip to tar.gz on pypi
+ * added binaries: imagio_{download,remove}_bin
+
+- update to version 2.3.0:
+ * Console entry points for binary downloads (by Paul Mueller).
+ * Dropped support for Python 2.6, 3.2 and 3.3.
+ * Reading images from a url can now also have "suffixes" like
+ "?query=foo".
+ * The "mimwrite()" and "mvolwrite()" functions also work with
+ generators.
+ * Fix rounding of float data.
+ * New Lytro plugin (by Maximilian Schambach).
+ * New plugin based on BSDF format (for images/volumes and series
+ thereof,
+ * including support for random access and streaming).
+ * TIFFFILE update to latest "tifffile.py" implementation.
+ * DICOM fix that could fail in the presence of a directory.
+ * PILLOW improvements to API to provide same functionality as
+ Scipy's "imread()".
+ * PILLOW fix for Gamma correction (#302).
+ * PILLOW now allows JPEG images to be read from a url.
+ * PILLOW fix determining of grayscale in 1 bit paletted images.
+ * FFMPEG improved device name parsing (by Dennis van Gerwen).
+ * FFMPEG now allows more control of position of extra parameters.
+ * FFMPEG improved parsing of fps from ffmpeg info.
+ * FFMPEG reader allows has "fps" argument to force reading at a
+ specific FPS.
+
+- changes from version 2.2.0:
+ * New format for grabbing screenshots (for Windows and OS X).
+ * New format for grabbing image data from clipboard (Window only).
+ * Multipage Tiff files can now be read using "volread()" to obtain
+ the image data as one array.
+ * Updated the ffmpeg executables that imageio provides.
+ * The ffmpeg format can now also use the ffmpeg exe provided by the
+ ffmpeg conda package ("conda install ffmpeg -c conda-forge").
+ * Fixes to ffmpeg format in general.
+ * Improve docs and rounding in animated GIF duration.
+ * Fix for setting number of loops in animated GIF.
+ * Fixes for transparent images in Pillow.
+ * Fixes for float indexing that is disallowed in new Numpy
+ (Freeimage plugin).
+ * Fix for using missing "close()" on Pillow images.
+ * Updated version of tiffile plugin.
+
+-------------------------------------------------------------------
+Sat Mar 3 16:21:01 UTC 2018 - jengelh(a)inai.de
+
+- Update descriptions.
+
+-------------------------------------------------------------------
Old:
----
imageio-2.1.2.zip
New:
----
imageio-2.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-imageio.spec ++++++
--- /var/tmp/diff_new_pack.8PIUGc/_old 2018-04-26 13:37:31.085208906 +0200
+++ /var/tmp/diff_new_pack.8PIUGc/_new 2018-04-26 13:37:31.085208906 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-imageio
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,40 +16,37 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Tests don't work without internet
%bcond_with tests
-
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-imageio
-Version: 2.1.2
+Version: 2.3.0
Release: 0
-Summary: Library for reading and writing image, video, and related formats
+Summary: Python library for reading and writing image, video, and related formats
License: BSD-2-Clause
Group: Development/Languages/Python
-Url: http://imageio.github.io/
-Source: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}…
+URL: http://imageio.github.io/
+Source: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}…
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module numpy}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: ffmpeg
BuildRequires: libfreeimage3
-BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: %{python_module devel}
-BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module numpy}
-BuildRequires: unzip
-%if %{with tests}
-BuildRequires: %{python_module nose}
-BuildRequires: %{python_module pytest}
-%endif
Requires: ffmpeg
Requires: libfreeimage3
Requires: python-numpy
Recommends: libfreeimageplus3
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+%if %{with tests}
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module pytest}
+%endif
%python_subpackages
%description
-Imageio is a Python library that provides an easy interface to read and
+Imageio is a Python library that provides an interface to read and
write a wide range of image data, including animated images, volumetric
data, and scientific formats.
@@ -75,8 +72,10 @@
%endif
%files %{python_files}
-%defattr(-,root,root,-)
-%doc CONTRIBUTORS.txt LICENSE README.md
+%license LICENSE
+%doc CONTRIBUTORS.txt README.md
%{python_sitelib}/*
+%python3_only %{_bindir}/imageio_download_bin
+%python3_only %{_bindir}/imageio_remove_bin
%changelog
1
0
Hello community,
here is the log from the commit of package fail2ban for openSUSE:Factory checked in at 2018-04-26 13:37:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fail2ban (Old)
and /work/SRC/openSUSE:Factory/.fail2ban.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fail2ban"
Thu Apr 26 13:37:18 2018 rev:53 rq:599594 version:0.10.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/fail2ban/fail2ban.changes 2018-02-21 14:11:42.765668097 +0100
+++ /work/SRC/openSUSE:Factory/.fail2ban.new/fail2ban.changes 2018-04-26 13:37:22.177535373 +0200
@@ -1,0 +2,47 @@
+Sat Apr 21 06:02:12 UTC 2018 - jweberhofer(a)weberhofer.at
+
+- Updated to version 0.10.3.1. Changelog:
+ https://github.com/fail2ban/fail2ban/blob/0.10.3.1/ChangeLog
+
+ * fixed JSON serialization for the set-object within dump into database (gh-2103).
+
+- Updated to version 0.10.3. Changelog:
+ https://github.com/fail2ban/fail2ban/blob/0.10.3/ChangeLog
+
+- Fixes
+ * `filter.d/asterisk.conf`: fixed failregex prefix by log over remote syslog server (gh-2060);
+ * `filter.d/exim.conf`: failregex extended - SMTP call dropped: too many syntax or protocol errors (gh-2048);
+ * `filter.d/recidive.conf`: fixed if logging into systemd-journal (SYSLOG) with daemon name in prefix, gh-2069;
+ * `filter.d/sendmail-auth.conf`, `filter.d/sendmail-reject.conf` :
+ - fixed failregex, sendmail uses prefix 'IPv6:' logging of IPv6 addresses (gh-2064);
+ * `filter.d/sshd.conf`:
+ - failregex got an optional space in order to match new log-format (see gh-2061);
+ - fixed ddos-mode regex to match refactored message (some versions can contain port now, see gh-2062);
+ - fixed root login refused regex (optional port before preauth, gh-2080);
+ - avoid banning of legitimate users when pam_unix used in combination with other password method, so
+ bypass pam_unix failures if accepted available for this user gh-2070;
+ - amend to gh-1263 with better handling of multiple attempts (failures for different user-names recognized immediatelly);
+ - mode `ddos` (and `aggressive`) extended to catch `Connection closed by ... [preauth]`, so in DDOS mode
+ it counts failure on closing connection within preauth-stage (gh-2085);
+ * `action.d/abuseipdb.conf`: fixed curl cypher errors and comment quote-issue (gh-2044, gh-2101);
+ * `action.d/badips.py`: implicit convert IPAddr to str, solves an issue "expected string, IPAddr found" (gh-2059);
+ * `action.d/hostsdeny.conf`: fixed IPv6 syntax (enclosed in square brackets, gh-2066);
+ * (Free)BSD ipfw actionban fixed to allow same rule added several times (gh-2054);
+
+- New Features
+ * several stability and performance optimizations, more effective filter parsing, etc;
+ * stable runnable within python versions 3.6 (as well as within 3.7-dev);
+
+- Enhancements
+ * `filter.d/apache-auth.conf`: detection of Apache SNI errors resp. misredirect attempts (gh-2017, gh-2097);
+ * `filter.d/apache-noscript.conf`: extend failregex to match "Primary script unknown", e. g. from php-fpm (gh-2073);
+ * date-detector extended with long epoch (`LEPOCH`) to parse milliseconds/microseconds posix-dates (gh-2029);
+ * possibility to specify own regex-pattern to match epoch date-time, e. g. `^\[{EPOCH}\]` or `^\[{LEPOCH}\]` (gh-2038);
+ the epoch-pattern similar to `{DATE}` patterns does the capture and cuts out the match of whole pattern from the log-line,
+ e. g. date-pattern `^\[{LEPOCH}\]\s+:` will match and cut out `[1516469849551000] :` from begin of the log-line.
+ * badips.py now uses https instead of plain http when requesting badips.com (gh-2057);
+ * add support for "any" badips.py bancategory, to be able to retrieve IPs from all categories with a desired score (gh-2056);
+ * Introduced new parameter `padding` for logging within fail2ban-server (default on, excepting SYSLOG):
+ Usage `logtarget = target[padding=on|off]`
+
+-------------------------------------------------------------------
Old:
----
fail2ban-0.10.2.tar.gz
New:
----
fail2ban-0.10.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ fail2ban.spec ++++++
--- /var/tmp/diff_new_pack.KxC9cY/_old 2018-04-26 13:37:23.121500776 +0200
+++ /var/tmp/diff_new_pack.KxC9cY/_new 2018-04-26 13:37:23.121500776 +0200
@@ -23,10 +23,10 @@
%{!?tmpfiles_create:%global tmpfiles_create systemd-tmpfiles --create}
Name: fail2ban
-Version: 0.10.2
+Version: 0.10.3.1
Release: 0
Summary: Bans IP addresses that make too many authentication failures
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: Productivity/Networking/Security
Url: http://www.fail2ban.org/
Source0: https://github.com/fail2ban/fail2ban/archive/%{version}.tar.gz#/%{name}-%{v…
++++++ fail2ban-0.10.2.tar.gz -> fail2ban-0.10.3.1.tar.gz ++++++
++++ 6073 lines of diff (skipped)
1
0