Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Test-Manifest for openSUSE:Factory checked in at 2021-01-19 16:03:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Manifest (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Manifest.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Manifest" Tue Jan 19 16:03:14 2021 rev:19 rq:864268 version:2.022 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Manifest/perl-Test-Manifest.changes 2018-07-10 16:15:14.941553207 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Test-Manifest.new.28504/perl-Test-Manifest.changes 2021-01-19 16:04:10.499558980 +0100 @@ -1,0 +2,10 @@ +Sun Jan 17 03:08:28 UTC 2021 - Tina M??ller <[email protected]> + +- updated to 2.022 + see /usr/share/doc/packages/perl-Test-Manifest/Changes + + 2.022 2021-01-16T13:29:49Z + * freshen distro, remove Travis CI, add Github Actions + * choroba fixed parallel testing (Github #4) + +------------------------------------------------------------------- Old: ---- Test-Manifest-2.021.tar.gz New: ---- Test-Manifest-2.022.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Manifest.spec ++++++ --- /var/tmp/diff_new_pack.hCey8m/_old 2021-01-19 16:04:10.999559732 +0100 +++ /var/tmp/diff_new_pack.hCey8m/_new 2021-01-19 16:04:11.003559738 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Manifest # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define cpan_name Test-Manifest Name: perl-Test-Manifest -Version: 2.021 +Version: 2.022 Release: 0 -%define cpan_name Test-Manifest -Summary: Interact with a T/Test_manifest File +Summary: Interact with a t/test_manifest file License: Artistic-2.0 -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Test-Manifest/ +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::More) >= 0.94 +BuildRequires: perl(Test::More) >= 1 %{perl_requires} %description @@ -58,14 +56,14 @@ define sets of tests. See 'get_t_files' for more information. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -73,7 +71,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes examples test_manifest test_manifest_levels test_manifest_with_include %license LICENSE ++++++ Test-Manifest-2.021.tar.gz -> Test-Manifest-2.022.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/Changes new/Test-Manifest-2.022/Changes --- old/Test-Manifest-2.021/Changes 2018-05-08 04:48:08.000000000 +0200 +++ new/Test-Manifest-2.022/Changes 2021-01-16 14:30:41.000000000 +0100 @@ -1,5 +1,9 @@ Revision history for Perl module Test::Manifest +2.022 2021-01-16T13:29:49Z + * freshen distro, remove Travis CI, add Github Actions + * choroba fixed parallel testing (Github #4) + 2.021 2018-05-08T02:47:56Z * Clarify that it's the Artistic License 2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/MANIFEST new/Test-Manifest-2.022/MANIFEST --- old/Test-Manifest-2.021/MANIFEST 2018-05-08 04:48:08.000000000 +0200 +++ new/Test-Manifest-2.022/MANIFEST 2021-01-16 14:30:41.000000000 +0100 @@ -17,6 +17,7 @@ t/include_in_manifest.txt t/leading_space.t t/pod_coverage.t +t/Test/Manifest/Tempdir.pm t/test_manifest t/trailing_space.t test_manifest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/MANIFEST.SKIP new/Test-Manifest-2.022/MANIFEST.SKIP --- old/Test-Manifest-2.021/MANIFEST.SKIP 2018-05-08 04:48:08.000000000 +0200 +++ new/Test-Manifest-2.022/MANIFEST.SKIP 2021-01-16 14:30:41.000000000 +0100 @@ -57,9 +57,13 @@ ^MYMETA\. #!end included /usr/local/perls/perl-5.18.1/lib/5.18.1/ExtUtils/MANIFEST.SKIP -\.travis\.yml \.?appveyor.yml \.releaserc \.lwpcookies Test-Manifest-.* hacks/ +\bMANIFEST\s\d +\bChanges\s\d +\.icloud$ +\A\.github\b + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/META.json new/Test-Manifest-2.022/META.json --- old/Test-Manifest-2.021/META.json 2018-05-08 04:48:09.000000000 +0200 +++ new/Test-Manifest-2.022/META.json 2021-01-16 14:30:44.000000000 +0100 @@ -4,13 +4,13 @@ "brian d foy <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", "license" : [ "artistic_2" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Test-Manifest", "no_index" : { @@ -39,7 +39,8 @@ }, "test" : { "requires" : { - "Test::More" : "0.94" + "File::Temp" : "0", + "Test::More" : "1" } } }, @@ -55,6 +56,6 @@ "web" : "https://github.com/briandfoy/test-manifest" } }, - "version" : "2.021", - "x_serialization_backend" : "JSON::PP version 2.27400_02" + "version" : "2.022", + "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/META.yml new/Test-Manifest-2.022/META.yml --- old/Test-Manifest-2.021/META.yml 2018-05-08 04:48:09.000000000 +0200 +++ new/Test-Manifest-2.022/META.yml 2021-01-16 14:30:44.000000000 +0100 @@ -3,12 +3,13 @@ author: - 'brian d foy <[email protected]>' build_requires: - Test::More: '0.94' + File::Temp: '0' + Test::More: '1' configure_requires: ExtUtils::MakeMaker: '6.64' File::Spec::Functions: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' license: artistic_2 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,5 +28,5 @@ bugtracker: https://github.com/briandfoy/test-manifest/issues homepage: https://github.com/briandfoy/test-manifest repository: https://github.com/briandfoy/test-manifest.git -version: '2.021' +version: '2.022' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/Makefile.PL new/Test-Manifest-2.022/Makefile.PL --- old/Test-Manifest-2.021/Makefile.PL 2018-05-08 04:48:08.000000000 +0200 +++ new/Test-Manifest-2.022/Makefile.PL 2021-01-16 14:30:41.000000000 +0100 @@ -61,7 +61,8 @@ }, 'TEST_REQUIRES' => { - 'Test::More' => '0.94', + 'Test::More' => '1', + 'File::Temp' => '0', }, 'PREREQ_PM' => { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/README.pod new/Test-Manifest-2.022/README.pod --- old/Test-Manifest-2.021/README.pod 2018-05-08 04:48:08.000000000 +0200 +++ new/Test-Manifest-2.022/README.pod 2021-01-16 14:30:41.000000000 +0100 @@ -2,7 +2,11 @@ =encoding utf8 -=for HTML <a href="https://travis-ci.org/briandfoy/test-manifest"><img src="https://travis-ci.org/briandfoy/test-manifest.svg?branch=master" /></a> +=for HTML <a href="../../actions?query=workflow%3Amacos"><img src="../../workflows/macos/badge.svg"></a> + +=for HTML <a href="../../actions?query=workflow%3Aubuntu"><img src="../../workflows/ubuntu/badge.svg"></a> + +=for HTML <a href="../../actions?query=workflow%3Awindows"><img src="../../workflows/windows/badge.svg"></a> =for HTML <a href='https://ci.appveyor.com/project/briandfoy/test-manifest'><img src='https://ci.appveyor.com/api/projects/status/b7p6yw0qdflonms6' /></a> @@ -10,7 +14,7 @@ =for HTML <a href="https://github.com/briandfoy/test-manifest/blob/master/LICENSE"><img src="https://img.shields.io/cpan/l/Test-Manifest.svg" /></a> -=for HTML <a href="http://www.metacpan.org/module/Test::Manifest"><img src="https://img.shields.io/cpan/v/Test-Manifest.svg" /></A> +=for HTML <a href="https://metacpan.org/pod/Test::Manifest"><img src="https://img.shields.io/cpan/v/Test-Manifest.svg" /></A> =head1 The Test::Manifest module @@ -23,7 +27,7 @@ To read about L<Test::Manifest>, look at the embedded documentation in the module itself. Inside the distribution, you can format it -with L<perldoc|http://perldoc.perl.org/perldoc.html>: +with L<perldoc|https://perldoc.perl.orgperldoc.html>: % perldoc lib/Test/Manifest.pm @@ -32,17 +36,8 @@ % perldoc Test::Manifest -You can read the documentation and inspect the meta data on one of the -CPAN web interfaces, such as L<CPAN Search|http://search.cpan.org/dist/Test-Manifest> or -L<MetaCPAN|http://www.metacpan.org/module/Test::Manifest>: - -=over 4 - -=item * L<http://search.cpan.org/dist/Test-Manifest> - -=item * L<http://www.metacpan.org/module/Test::Manifest> - -=back +You can read the documentation and inspect the meta data at +L<MetaCPAN|https://metacpan.org/pod/Test::Manifest>. The standard module documentation has example uses in the SYNOPSIS section, but you can also look in the I<examples/> directory (if it's @@ -107,7 +102,7 @@ you diagnose your problem. You might like to read L<brian's Guide to Solving Any Perl -Problem|http://archive.oreilly.com/pub/a/perl/excerpts/9780596527242/brians-guide.html>. +Problem|https://briandfoy.github.io/brians-guide-to-solving-any-perl-problem/>. =head2 Copyright and License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/lib/Test/Manifest.pm new/Test-Manifest-2.022/lib/Test/Manifest.pm --- old/Test-Manifest-2.021/lib/Test/Manifest.pm 2018-05-08 04:48:08.000000000 +0200 +++ new/Test-Manifest-2.022/lib/Test/Manifest.pm 2021-01-16 14:30:41.000000000 +0100 @@ -12,12 +12,12 @@ our @EXPORT = qw(run_t_manifest); our @EXPORT_OK = qw(get_t_files make_test_manifest manifest_name); -our $VERSION = '2.021'; +our $VERSION = '2.022'; my %SeenInclude = (); my %SeenTest = (); -require 5.006; +require 5.008; sub MY::test_via_harness { my($self, $perl, $tests) = @_; @@ -445,7 +445,7 @@ =head1 COPYRIGHT AND LICENSE -Copyright ?? 2002-2018, brian d foy <[email protected]>. All rights reserved. +Copyright ?? 2002-2021, brian d foy <[email protected]>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/t/01get_test_files.t new/Test-Manifest-2.022/t/01get_test_files.t --- old/Test-Manifest-2.021/t/01get_test_files.t 2018-05-08 04:48:08.000000000 +0200 +++ new/Test-Manifest-2.022/t/01get_test_files.t 2021-01-16 14:30:41.000000000 +0100 @@ -6,6 +6,13 @@ use File::Spec; use Test::Manifest qw(get_t_files manifest_name); +use lib './t'; +use Test::Manifest::Tempdir qw(prepare_tmp_dir); + +my $tmp_dir = prepare_tmp_dir(); +copy($_, $tmp_dir) or die "Cannot copy $_ to $tmp_dir: $!" + for qw( test_manifest test_manifest_levels ); +chdir $tmp_dir or die "Cannot chdir to $tmp_dir: $!"; my $expected = join " ", map { File::Spec->catfile( "t", $_ ) } qw( 00load.t 01get_test_files.t 01make_test_manifest.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/t/01make_test_manifest.t new/Test-Manifest-2.022/t/01make_test_manifest.t --- old/Test-Manifest-2.021/t/01make_test_manifest.t 2018-05-08 04:48:08.000000000 +0200 +++ new/Test-Manifest-2.022/t/01make_test_manifest.t 2021-01-16 14:30:41.000000000 +0100 @@ -1,6 +1,14 @@ use Test::More 0.98; +use File::Spec; +use File::Copy qw(copy); + use Test::Manifest qw(make_test_manifest manifest_name); +use lib './t'; +use Test::Manifest::Tempdir qw(prepare_tmp_dir); + +my $tmp_dir = prepare_tmp_dir(); +chdir $tmp_dir or die "Cannot chdir to $tmp_dir: $!"; my $test_manifest = manifest_name(); diag( "manifest name is $test_manifest" ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/t/Test/Manifest/Tempdir.pm new/Test-Manifest-2.022/t/Test/Manifest/Tempdir.pm --- old/Test-Manifest-2.021/t/Test/Manifest/Tempdir.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Manifest-2.022/t/Test/Manifest/Tempdir.pm 2021-01-16 14:30:41.000000000 +0100 @@ -0,0 +1,37 @@ +package # Don't index by CPAN + Test::Manifest::Tempdir; + +=head1 Test::Manifest::_Tempdir + +Helper module for tests. The exported function C<prepare_tmp_dir> +creates a temp directory and copies some files to it in order to run +tests there instead of the original C<t/> directory, enabling to +change the files even for parallel test processing. + +=cut + +use warnings; +use strict; + +use Exporter qw(import); +our @EXPORT = qw(prepare_tmp_dir); + +use File::Copy qw(copy); +use File::Spec; +use File::Temp qw(tempdir); + +sub prepare_tmp_dir { + my $tmp_dir = tempdir( CLEANUP => 1 ) or die "Cannot create tmp dir: $!"; + mkdir my $tmp_t_dir = File::Spec->catfile($tmp_dir, 't') + or die "Cannot create dir t in $tmp_dir: $!"; + opendir my $t_dir_handle, 't' or die "Cannot read dir t: $!"; + for my $filename (readdir $t_dir_handle) { + my $fullname = File::Spec->catfile('t', $filename); + copy($fullname, $tmp_t_dir) + or die "Cannot copy $fullname to $tmp_t_dir: $!" + if -f $fullname; + } + return $tmp_dir; +} + +1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Manifest-2.021/t/pod_coverage.t new/Test-Manifest-2.022/t/pod_coverage.t --- old/Test-Manifest-2.021/t/pod_coverage.t 2018-05-08 04:48:08.000000000 +0200 +++ new/Test-Manifest-2.022/t/pod_coverage.t 2021-01-16 14:30:41.000000000 +0100 @@ -1,13 +1,10 @@ use Test::More; eval "use Test::Pod::Coverage"; -if( $@ ) - { +if( $@ ) { plan skip_all => "Test::Pod::Coverage required for testing POD"; } -else - { +else { plan tests => 1; - pod_coverage_ok( "Test::Manifest" ); }
