Hello community,
here is the log from the commit of package perl-File-Copy-Recursive for
openSUSE:Factory checked in at 2019-07-28 10:19:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Copy-Recursive (Old)
and /work/SRC/openSUSE:Factory/.perl-File-Copy-Recursive.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-Copy-Recursive"
Sun Jul 28 10:19:35 2019 rev:7 rq:718075 version:0.45
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-File-Copy-Recursive/perl-File-Copy-Recursive.changes
2018-11-12 09:47:58.652595576 +0100
+++
/work/SRC/openSUSE:Factory/.perl-File-Copy-Recursive.new.4126/perl-File-Copy-Recursive.changes
2019-07-28 10:19:40.312601591 +0200
@@ -1,0 +2,12 @@
+Wed Jul 24 05:08:39 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 0.45
+ see /usr/share/doc/packages/perl-File-Copy-Recursive/Changes
+
+ - PR #21: fix version 0.43 in Changes file (thanks karenetheridge)
+ - PR #19: Added missing license meta name. (thanks manwar and
karenetheridge)
+ - PR #24: allow for dev = 0 on NetBSD (thanks plicease)
+ - PR #25: Remove warning when copying a dir without write perm on the
original. (thanks ehickeycp)
+ - Issue #26: change issues from rt to github
+
+-------------------------------------------------------------------
Old:
----
File-Copy-Recursive-0.44.tar.gz
New:
----
File-Copy-Recursive-0.45.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-File-Copy-Recursive.spec ++++++
--- /var/tmp/diff_new_pack.eascs1/_old 2019-07-28 10:19:40.764601592 +0200
+++ /var/tmp/diff_new_pack.eascs1/_new 2019-07-28 10:19:40.764601592 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-File-Copy-Recursive
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,31 +12,30 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define cpan_name File-Copy-Recursive
Name: perl-File-Copy-Recursive
-Version: 0.44
+Version: 0.45
Release: 0
+%define cpan_name File-Copy-Recursive
Summary: Perl extension for recursively copying files and directories
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: https://metacpan.org/pod/File::Copy::Recursive
-Source:
http://www.cpan.org/authors/id/D/DM/DMUEY/%{cpan_name}-%{version}.tar.gz
-BuildRequires: make
+Url: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/D/DM/DMUEY/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Path::Tiny)
-BuildRequires: perl(Test::Builder) >= 0.70
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::File)
BuildRequires: perl(Test::More) >= 0.88
-BuildRequires: perl(Test::Spec)
BuildRequires: perl(Test::Warnings)
-BuildArch: noarch
%{perl_requires}
%description
@@ -52,7 +51,7 @@
make %{?_smp_mflags}
%check
-make %{?_smp_mflags} test
+make test
%install
%perl_make_install
@@ -61,6 +60,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes README
+%doc Changes README README.md
%changelog
++++++ File-Copy-Recursive-0.44.tar.gz -> File-Copy-Recursive-0.45.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Copy-Recursive-0.44/Changes
new/File-Copy-Recursive-0.45/Changes
--- old/File-Copy-Recursive-0.44/Changes 2018-04-24 15:20:43.000000000
+0200
+++ new/File-Copy-Recursive-0.45/Changes 2019-07-23 16:29:34.000000000
+0200
@@ -1,11 +1,16 @@
Revision history for Perl extension File::Copy::Recursive.
0.45 UNRELEASED
+ - PR #21: fix version 0.43 in Changes file (thanks karenetheridge)
+ - PR #19: Added missing license meta name. (thanks manwar and
karenetheridge)
+ - PR #24: allow for dev = 0 on NetBSD (thanks plicease)
+ - PR #25: Remove warning when copying a dir without write perm on the
original. (thanks ehickeycp)
+ - Issue #26: change issues from rt to github
0.44 Tue Apr 24 08:18:19 2018
- Issue #18: fix t/05.legacy-pathmk_unc.t for recent updates (thanks zdm)
-0.44 Sat Apr 21 15:39:09 2018
+0.43 Sat Apr 21 15:39:09 2018
- pull request #16 - strip down list of prerequisites to modules that are
safe to use high on
the CPAN river (thanks karenetheridge)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Copy-Recursive-0.44/META.json
new/File-Copy-Recursive-0.45/META.json
--- old/File-Copy-Recursive-0.44/META.json 2018-04-24 15:21:42.000000000
+0200
+++ new/File-Copy-Recursive-0.45/META.json 2019-07-23 16:35:43.000000000
+0200
@@ -4,9 +4,9 @@
"Daniel Muey <http://drmuey.com/cpan_contact.pl>"
],
"dynamic_config" : 0,
- "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150001",
+ "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter
version 2.150001",
"license" : [
- "unknown"
+ "perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
@@ -53,8 +53,7 @@
"release_status" : "stable",
"resources" : {
"bugtracker" : {
- "mailto" : "[email protected]",
- "web" :
"https://rt.cpan.org/Public/Dist/Display.html?Name=File-Copy-Recursive"
+ "web" : "https://github.com/drmuey/p5-File-Copy-Recursive/issues"
},
"repository" : {
"type" : "git",
@@ -62,5 +61,5 @@
"web" : "https://github.com/drmuey/p5-File-Copy-Recursive"
}
},
- "version" : "0.44"
+ "version" : "0.45"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Copy-Recursive-0.44/META.yml
new/File-Copy-Recursive-0.45/META.yml
--- old/File-Copy-Recursive-0.44/META.yml 2018-04-24 15:21:42.000000000
+0200
+++ new/File-Copy-Recursive-0.45/META.yml 2019-07-23 16:35:42.000000000
+0200
@@ -14,8 +14,8 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150001'
-license: unknown
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version
2.150001'
+license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
@@ -30,6 +30,6 @@
File::Glob: '0'
File::Spec: '0'
resources:
- bugtracker:
https://rt.cpan.org/Public/Dist/Display.html?Name=File-Copy-Recursive
+ bugtracker: https://github.com/drmuey/p5-File-Copy-Recursive/issues
repository: https://github.com/drmuey/p5-File-Copy-Recursive.git
-version: '0.44'
+version: '0.45'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Copy-Recursive-0.44/Makefile.PL
new/File-Copy-Recursive-0.45/Makefile.PL
--- old/File-Copy-Recursive-0.44/Makefile.PL 2018-04-21 22:38:21.000000000
+0200
+++ new/File-Copy-Recursive-0.45/Makefile.PL 2019-07-23 16:27:37.000000000
+0200
@@ -7,6 +7,7 @@
VERSION_FROM => 'lib/File/Copy/Recursive.pm',
ABSTRACT_FROM => 'lib/File/Copy/Recursive.pm',
AUTHOR => 'Daniel Muey <http://drmuey.com/cpan_contact.pl>',
+ LICENSE => 'perl_5',
PREREQ_PM => {
'File::Copy' => 0,
'File::Spec' => 0,
@@ -32,8 +33,7 @@
type => 'git',
},
bugtracker => {
- mailto => '[email protected]',
- web =>
'https://rt.cpan.org/Public/Dist/Display.html?Name=File-Copy-Recursive',
+ web =>
'https://github.com/drmuey/p5-File-Copy-Recursive/issues',
},
},
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Copy-Recursive-0.44/lib/File/Copy/Recursive.pm
new/File-Copy-Recursive-0.45/lib/File/Copy/Recursive.pm
--- old/File-Copy-Recursive-0.44/lib/File/Copy/Recursive.pm 2018-04-24
15:19:59.000000000 +0200
+++ new/File-Copy-Recursive-0.45/lib/File/Copy/Recursive.pm 2019-07-23
16:33:05.000000000 +0200
@@ -23,7 +23,7 @@
@ISA = qw(Exporter);
@EXPORT_OK = qw(fcopy rcopy dircopy fmove rmove dirmove pathmk pathrm
pathempty pathrmdir rcopy_glob rmove_glob);
-$VERSION = '0.44';
+$VERSION = '0.45';
$MaxDepth = 0;
$KeepMode = 1;
@@ -277,7 +277,6 @@
my $rc;
if ( !-w $org && $KeepMode ) {
local $KeepMode = 0;
- carp "Copying readonly directory ($org); mode of its
contents may not be preserved.";
$rc = $recurs->( $org, $new, $buf ) if defined $buf;
$rc = $recurs->( $org, $new ) if !defined $buf;
chmod scalar( ( stat($org) )[2] ), $new;
@@ -371,7 +370,7 @@
my $pth = shift;
my ( $orig_dev, $orig_ino ) = ( lstat $pth )[ 0, 1 ];
- return 2 if !-d _ || !$orig_dev || ( $^O ne 'MSWin32' && !$orig_ino );
#stat.inode is 0 on Windows
+ return 2 if !-d _ || !defined($orig_dev) || ( $^O ne 'MSWin32' &&
!$orig_ino ); #stat.inode is 0 on Windows
my $starting_point = Cwd::cwd();
my ( $starting_dev, $starting_ino ) = ( lstat $starting_point )[ 0, 1 ];
@@ -421,7 +420,7 @@
my ( $path, $force, $nofail ) = @_;
my ( $orig_dev, $orig_ino ) = ( lstat $path )[ 0, 1 ];
- return 2 if !-d _ || !$orig_dev || !$orig_ino;
+ return 2 if !-d _ || !defined($orig_dev) || !$orig_ino;
# Manual test (I hate this function :/):
# sudo mkdir /foo && perl -MFile::Copy::Recursive=pathrm -le 'print
pathrm("/foo",1)' && sudo rm -rf /foo
@@ -471,7 +470,7 @@
}
my ( $orig_dev, $orig_ino ) = ( lstat $dir )[ 0, 1 ];
- return 2 if !$orig_dev || ( $^O ne 'MSWin32' && !$orig_ino );
+ return 2 if !defined($orig_dev) || ( $^O ne 'MSWin32' && !$orig_ino );
pathempty($dir) or return;
_bail_if_changed( $dir, $orig_dev, $orig_ino );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/File-Copy-Recursive-0.44/t/04.readonly-dir.t
new/File-Copy-Recursive-0.45/t/04.readonly-dir.t
--- old/File-Copy-Recursive-0.44/t/04.readonly-dir.t 2018-04-21
22:38:21.000000000 +0200
+++ new/File-Copy-Recursive-0.45/t/04.readonly-dir.t 2019-07-23
16:33:04.000000000 +0200
@@ -25,7 +25,6 @@
SKIP: {
skip "test read only", 3, if -w "$dir/src/top/sub2";
my @warnings = warnings { dircopy( "$dir/src", "$dir/dest" ) };
- cmp_deeply( \@warnings, [ re(qr/Copying readonly directory/) ], "read only
dir issues warning");
is( scalar( path("$dir/src/top/sub2")->children ), 2, "readonly direct0ry
contents are copied" );
is( scalar( path("$dir/src/top/sub1")->children ), 1, "writable directory
contents are copied" );
}
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module