diff -Nru liblib-abs-perl-0.93/Changes liblib-abs-perl-0.95/Changes --- liblib-abs-perl-0.93/Changes 2013-10-24 22:25:53.000000000 +0000 +++ liblib-abs-perl-0.95/Changes 2020-01-22 21:10:09.000000000 +0000 @@ -1,5 +1,8 @@ Revision history for lib-abs +0.94 2020-01-23 + Merge test fixes + 0.93 2013-10-25 Fix for not-existant path. RT#83706 Added -soft flag diff -Nru liblib-abs-perl-0.93/debian/changelog liblib-abs-perl-0.95/debian/changelog --- liblib-abs-perl-0.93/debian/changelog 2014-01-01 22:25:06.000000000 +0000 +++ liblib-abs-perl-0.95/debian/changelog 2020-01-24 15:10:43.000000000 +0000 @@ -1,3 +1,34 @@ +liblib-abs-perl (0.95-1) unstable; urgency=medium + + [ Salvatore Bonaccorso ] + * Update Vcs-Browser URL to cgit web frontend + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + + [ Alex Muntada ] + * Remove inactive pkg-perl members from Uploaders. + + [ Damyan Ivanov ] + * change Priority from 'extra' to 'optional' + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * Import upstream version 0.95. + * Update years of upstream copyright. + * Add debian/upstream/metadata. + * Mark package as autopkgtest-able. + * Declare compliance with Debian Policy 4.5.0. + * Bump debhelper-compat to 12. + * debian/watch: use uscan version 4. + * Update build dependencies. + * Add /me to Uploaders. + + -- gregor herrmann Fri, 24 Jan 2020 16:10:43 +0100 + liblib-abs-perl (0.93-1) unstable; urgency=low * Team upload. diff -Nru liblib-abs-perl-0.93/debian/compat liblib-abs-perl-0.95/debian/compat --- liblib-abs-perl-0.93/debian/compat 2014-01-01 22:25:06.000000000 +0000 +++ liblib-abs-perl-0.95/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -8 diff -Nru liblib-abs-perl-0.93/debian/control liblib-abs-perl-0.95/debian/control --- liblib-abs-perl-0.93/debian/control 2014-01-01 22:25:06.000000000 +0000 +++ liblib-abs-perl-0.95/debian/control 2020-01-24 15:10:43.000000000 +0000 @@ -1,17 +1,21 @@ Source: liblib-abs-perl +Maintainer: Debian Perl Group +Uploaders: gregor herrmann Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper-compat (= 12), + libmodule-install-perl, + perl +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/liblib-abs-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/liblib-abs-perl.git Homepage: https://metacpan.org/release/lib-abs -Maintainer: Debian Perl Group -Uploaders: Dmitry E. Oboukhov -Build-Depends: debhelper (>= 8) -Standards-Version: 3.9.5 -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/liblib-abs-perl.git -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/liblib-abs-perl.git -Priority: extra Package: liblib-abs-perl -Depends: ${perl:Depends}, ${misc:Depends} Architecture: all +Depends: ${misc:Depends}, + ${perl:Depends} Description: module to make relative path absolute to caller The main reason of the lib::abs module is transformate relative paths to absolute at the BEGIN stage, and push transformed to @INC. Relative path diff -Nru liblib-abs-perl-0.93/debian/copyright liblib-abs-perl-0.95/debian/copyright --- liblib-abs-perl-0.93/debian/copyright 2014-01-01 22:25:06.000000000 +0000 +++ liblib-abs-perl-0.95/debian/copyright 2020-01-24 15:10:43.000000000 +0000 @@ -1,10 +1,10 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lib-abs Upstream-Contact: Mons Anderson, Source: https://metacpan.org/release/lib-abs Files: * -Copyright: 2007-2010, Mons Anderson, +Copyright: 2007-2020, Mons Anderson, License: Artistic or GPL-1+ Files: t/lib/*/Cwd.pm @@ -19,6 +19,7 @@ Files: debian/* Copyright: 2011, Dmitry E. Oboukhov + 2014-2020, gregor herrmann License: Artistic or GPL-1+ License: Artistic diff -Nru liblib-abs-perl-0.93/debian/upstream/metadata liblib-abs-perl-0.95/debian/upstream/metadata --- liblib-abs-perl-0.93/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ liblib-abs-perl-0.95/debian/upstream/metadata 2020-01-24 15:10:43.000000000 +0000 @@ -0,0 +1,6 @@ +--- +Archive: CPAN +Bug-Database: https://github.com/Mons/lib-abs/issues +Bug-Submit: https://github.com/Mons/lib-abs/issues/new +Repository: https://github.com/Mons/lib-abs.git +Repository-Browse: https://github.com/Mons/lib-abs diff -Nru liblib-abs-perl-0.93/debian/watch liblib-abs-perl-0.95/debian/watch --- liblib-abs-perl-0.93/debian/watch 2014-01-01 22:25:06.000000000 +0000 +++ liblib-abs-perl-0.95/debian/watch 2020-01-24 15:10:43.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -https://metacpan.org/release/lib-abs .*/lib-abs-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +version=4 +https://metacpan.org/release/lib-abs .*/lib-abs-v?@ANY_VERSION@@ARCHIVE_EXT@$ diff -Nru liblib-abs-perl-0.93/.gitignore liblib-abs-perl-0.95/.gitignore --- liblib-abs-perl-0.93/.gitignore 2013-10-24 22:02:38.000000000 +0000 +++ liblib-abs-perl-0.95/.gitignore 2020-01-22 21:08:13.000000000 +0000 @@ -10,3 +10,4 @@ .lwpcookies lvalue-* cover_db +MYMETA.* diff -Nru liblib-abs-perl-0.93/inc/Module/AutoInstall.pm liblib-abs-perl-0.95/inc/Module/AutoInstall.pm --- liblib-abs-perl-0.93/inc/Module/AutoInstall.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/AutoInstall.pm 2020-01-24 10:34:09.000000000 +0000 @@ -8,7 +8,7 @@ use vars qw{$VERSION}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; } # special map on pre-defined feature sets @@ -115,7 +115,7 @@ print "*** $class version " . $class->VERSION . "\n"; print "*** Checking for Perl dependencies...\n"; - my $cwd = Cwd::cwd(); + my $cwd = Cwd::getcwd(); $Config = []; @@ -166,7 +166,7 @@ $modules = [ %{$modules} ] if UNIVERSAL::isa( $modules, 'HASH' ); unshift @$modules, -default => &{ shift(@$modules) } - if ( ref( $modules->[0] ) eq 'CODE' ); # XXX: bugward combatability + if ( ref( $modules->[0] ) eq 'CODE' ); # XXX: bugward compatibility while ( my ( $mod, $arg ) = splice( @$modules, 0, 2 ) ) { if ( $mod =~ m/^-(\w+)$/ ) { @@ -345,22 +345,26 @@ my $i; # used below to strip leading '-' from config keys my @config = ( map { s/^-// if ++$i; $_ } @{ +shift } ); - my ( @modules, @installed ); - while ( my ( $pkg, $ver ) = splice( @_, 0, 2 ) ) { + my ( @modules, @installed, @modules_to_upgrade ); + while (my ($pkg, $ver) = splice(@_, 0, 2)) { - # grep out those already installed - if ( _version_cmp( _version_of($pkg), $ver ) >= 0 ) { - push @installed, $pkg; - } - else { - push @modules, $pkg, $ver; - } - } + # grep out those already installed + if (_version_cmp(_version_of($pkg), $ver) >= 0) { + push @installed, $pkg; + if ($UpgradeDeps) { + push @modules_to_upgrade, $pkg, $ver; + } + } + else { + push @modules, $pkg, $ver; + } + } - if ($UpgradeDeps) { - push @modules, @installed; - @installed = (); - } + if ($UpgradeDeps) { + push @modules, @modules_to_upgrade; + @installed = (); + @modules_to_upgrade = (); + } return @installed unless @modules; # nothing to do return @installed if _check_lock(); # defer to the CPAN shell @@ -533,7 +537,7 @@ while ( my ( $opt, $arg ) = splice( @config, 0, 2 ) ) { ( $args{$opt} = $arg, next ) if $opt =~ /^(?:force|notest)$/; # pseudo-option - $CPAN::Config->{$opt} = $arg; + $CPAN::Config->{$opt} = $opt eq 'urllist' ? [$arg] : $arg; } if ($args{notest} && (not CPAN::Shell->can('notest'))) { @@ -611,7 +615,7 @@ require Cwd; require File::Spec; - my $cwd = File::Spec->canonpath( Cwd::cwd() ); + my $cwd = File::Spec->canonpath( Cwd::getcwd() ); my $cpan = File::Spec->canonpath( $CPAN::Config->{cpan_home} ); return ( index( $cwd, $cpan ) > -1 ); @@ -927,4 +931,4 @@ __END__ -#line 1193 +#line 1197 diff -Nru liblib-abs-perl-0.93/inc/Module/Install/AutoInstall.pm liblib-abs-perl-0.95/inc/Module/Install/AutoInstall.pm --- liblib-abs-perl-0.93/inc/Module/Install/AutoInstall.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install/AutoInstall.pm 2020-01-24 10:34:09.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru liblib-abs-perl-0.93/inc/Module/Install/Base.pm liblib-abs-perl-0.95/inc/Module/Install/Base.pm --- liblib-abs-perl-0.93/inc/Module/Install/Base.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install/Base.pm 2020-01-24 10:34:09.000000000 +0000 @@ -4,7 +4,7 @@ use strict 'vars'; use vars qw{$VERSION}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; } # Suspend handler for "redefined" warnings diff -Nru liblib-abs-perl-0.93/inc/Module/Install/Can.pm liblib-abs-perl-0.95/inc/Module/Install/Can.pm --- liblib-abs-perl-0.93/inc/Module/Install/Can.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install/Can.pm 2020-01-24 10:34:09.000000000 +0000 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -121,6 +121,15 @@ # Can we locate a (the) C compiler sub can_cc { my $self = shift; + + if ($^O eq 'VMS') { + require ExtUtils::CBuilder; + my $builder = ExtUtils::CBuilder->new( + quiet => 1, + ); + return $builder->have_compiler; + } + my @chunks = split(/ /, $Config::Config{cc}) or return; # $Config{cc} may contain args; try to find out the program part @@ -151,4 +160,4 @@ __END__ -#line 236 +#line 245 diff -Nru liblib-abs-perl-0.93/inc/Module/Install/Fetch.pm liblib-abs-perl-0.95/inc/Module/Install/Fetch.pm --- liblib-abs-perl-0.93/inc/Module/Install/Fetch.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install/Fetch.pm 2020-01-24 10:34:09.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru liblib-abs-perl-0.93/inc/Module/Install/Include.pm liblib-abs-perl-0.95/inc/Module/Install/Include.pm --- liblib-abs-perl-0.93/inc/Module/Install/Include.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install/Include.pm 2020-01-24 10:34:09.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru liblib-abs-perl-0.93/inc/Module/Install/Makefile.pm liblib-abs-perl-0.95/inc/Module/Install/Makefile.pm --- liblib-abs-perl-0.93/inc/Module/Install/Makefile.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install/Makefile.pm 2020-01-24 10:34:09.000000000 +0000 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -133,7 +133,7 @@ return $args; } -# For mm args that take multiple space-seperated args, +# For mm args that take multiple space-separated args, # append an argument to the current list. sub makemaker_append { my $self = shift; diff -Nru liblib-abs-perl-0.93/inc/Module/Install/Metadata.pm liblib-abs-perl-0.95/inc/Module/Install/Metadata.pm --- liblib-abs-perl-0.93/inc/Module/Install/Metadata.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install/Metadata.pm 2020-01-24 10:34:09.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -347,7 +347,7 @@ ^ \s* package \s* ([\w:]+) - \s* ; + [\s|;]* /ixms ) { my ($name, $module_name) = ($1, $1); @@ -705,7 +705,7 @@ my @yaml = Parse::CPAN::Meta::LoadFile('META.yml'); my $meta = $yaml[0]; - # Overwrite the non-configure dependency hashs + # Overwrite the non-configure dependency hashes delete $meta->{requires}; delete $meta->{build_requires}; delete $meta->{recommends}; diff -Nru liblib-abs-perl-0.93/inc/Module/Install/Win32.pm liblib-abs-perl-0.95/inc/Module/Install/Win32.pm --- liblib-abs-perl-0.93/inc/Module/Install/Win32.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install/Win32.pm 2020-01-24 10:34:09.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru liblib-abs-perl-0.93/inc/Module/Install/WriteAll.pm liblib-abs-perl-0.95/inc/Module/Install/WriteAll.pm --- liblib-abs-perl-0.93/inc/Module/Install/WriteAll.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install/WriteAll.pm 2020-01-24 10:34:09.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.06'; + $VERSION = '1.17'; @ISA = qw{Module::Install::Base}; $ISCORE = 1; } diff -Nru liblib-abs-perl-0.93/inc/Module/Install.pm liblib-abs-perl-0.95/inc/Module/Install.pm --- liblib-abs-perl-0.93/inc/Module/Install.pm 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/inc/Module/Install.pm 2020-01-24 10:34:08.000000000 +0000 @@ -17,7 +17,7 @@ # 3. The ./inc/ version of Module::Install loads # } -use 5.005; +use 5.006; use strict 'vars'; use Cwd (); use File::Find (); @@ -31,7 +31,7 @@ # This is not enforced yet, but will be some time in the next few # releases once we can make sure it won't clash with custom # Module::Install extensions. - $VERSION = '1.06'; + $VERSION = '1.17'; # Storage for the pseudo-singleton $MAIN = undef; @@ -156,10 +156,10 @@ sub autoload { my $self = shift; my $who = $self->_caller; - my $cwd = Cwd::cwd(); + my $cwd = Cwd::getcwd(); my $sym = "${who}::AUTOLOAD"; $sym->{$cwd} = sub { - my $pwd = Cwd::cwd(); + my $pwd = Cwd::getcwd(); if ( my $code = $sym->{$pwd} ) { # Delegate back to parent dirs goto &$code unless $cwd eq $pwd; @@ -239,11 +239,13 @@ # ignore the prefix on extension modules built from top level. my $base_path = Cwd::abs_path($FindBin::Bin); - unless ( Cwd::abs_path(Cwd::cwd()) eq $base_path ) { + unless ( Cwd::abs_path(Cwd::getcwd()) eq $base_path ) { delete $args{prefix}; } return $args{_self} if $args{_self}; + $base_path = VMS::Filespec::unixify($base_path) if $^O eq 'VMS'; + $args{dispatch} ||= 'Admin'; $args{prefix} ||= 'inc'; $args{author} ||= ($^O eq 'VMS' ? '_author' : '.author'); @@ -322,7 +324,7 @@ my ($self, $path) = @_; my @found; - File::Find::find( sub { + File::Find::find( {no_chdir => 1, wanted => sub { my $file = $File::Find::name; return unless $file =~ m!^\Q$path\E/(.+)\.pm\Z!is; my $subpath = $1; @@ -336,9 +338,9 @@ # correctly. Otherwise, root through the file to locate the case-preserved # version of the package name. if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) { - my $content = Module::Install::_read($subpath . '.pm'); + my $content = Module::Install::_read($File::Find::name); my $in_pod = 0; - foreach ( split //, $content ) { + foreach ( split /\n/, $content ) { $in_pod = 1 if /^=\w/; $in_pod = 0 if /^=cut/; next if ($in_pod || /^=cut/); # skip pod text @@ -351,7 +353,7 @@ } push @found, [ $file, $pkg ]; - }, $path ) if -d $path; + }}, $path ) if -d $path; @found; } @@ -373,24 +375,14 @@ return $call; } -# Done in evals to avoid confusing Perl::MinimumVersion -eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _read { local *FH; open( FH, '<', $_[0] ) or die "open($_[0]): $!"; + binmode FH; my $string = do { local $/; }; close FH or die "close($_[0]): $!"; return $string; } -END_NEW -sub _read { - local *FH; - open( FH, "< $_[0]" ) or die "open($_[0]): $!"; - my $string = do { local $/; }; - close FH or die "close($_[0]): $!"; - return $string; -} -END_OLD sub _readperl { my $string = Module::Install::_read($_[0]); @@ -411,30 +403,19 @@ return $string; } -# Done in evals to avoid confusing Perl::MinimumVersion -eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _write { local *FH; open( FH, '>', $_[0] ) or die "open($_[0]): $!"; + binmode FH; foreach ( 1 .. $#_ ) { print FH $_[$_] or die "print($_[0]): $!"; } close FH or die "close($_[0]): $!"; } -END_NEW -sub _write { - local *FH; - open( FH, "> $_[0]" ) or die "open($_[0]): $!"; - foreach ( 1 .. $#_ ) { - print FH $_[$_] or die "print($_[0]): $!"; - } - close FH or die "close($_[0]): $!"; -} -END_OLD # _version is for processing module versions (eg, 1.03_05) not # Perl versions (eg, 5.8.1). -sub _version ($) { +sub _version { my $s = shift || 0; my $d =()= $s =~ /(\.)/g; if ( $d >= 2 ) { @@ -450,12 +431,12 @@ return $l + 0; } -sub _cmp ($$) { +sub _cmp { _version($_[1]) <=> _version($_[2]); } # Cloned from Params::Util::_CLASS -sub _CLASS ($) { +sub _CLASS { ( defined $_[0] and diff -Nru liblib-abs-perl-0.93/lib/lib/abs.pm liblib-abs-perl-0.95/lib/lib/abs.pm --- liblib-abs-perl-0.93/lib/lib/abs.pm 2013-10-24 22:16:21.000000000 +0000 +++ liblib-abs-perl-0.95/lib/lib/abs.pm 2020-01-24 10:33:33.000000000 +0000 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007-2010 Mons Anderson . All rights reserved +# Copyright (c) 2007-2020 Mons Anderson . All rights reserved # This program is free software; you can redistribute it and/or # modify it under the same terms as Perl itself. package lib::abs; @@ -10,7 +10,7 @@ =cut -our $VERSION = '0.93'; +our $VERSION = '0.95'; =head1 SYNOPSIS @@ -81,12 +81,11 @@ None known -=head1 COPYRIGHT & LICENSE +=head1 COPYRIGHT AND LICENSE -Copyright 2007-2010 Mons Anderson. +This software is copyright (c) 2007-2020 by Mons Anderson. -This program is free software; you can redistribute it and/or modify it -under the same terms as Perl itself. +This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =head1 AUTHOR @@ -156,7 +155,9 @@ defined $x ? ($x) : (); } glob $abs; } else { - $_ = abs_path( $abs ) and -d $_ + eval { + $_ = abs_path( $abs ); + 1} and -d $_ or $SOFT or _croak("Bad path specification: `$lib' => `$abs'" . ($! ? " ($!)" : '')); _debug "$lib => $_" if DEBUG > 1; defined $_ ? ($_) : (); diff -Nru liblib-abs-perl-0.93/Makefile.PL liblib-abs-perl-0.95/Makefile.PL --- liblib-abs-perl-0.93/Makefile.PL 2013-10-24 22:02:38.000000000 +0000 +++ liblib-abs-perl-0.95/Makefile.PL 2020-01-22 21:08:13.000000000 +0000 @@ -5,6 +5,7 @@ all_from 'lib/lib/abs.pm'; author 'Mons Anderson '; license 'perl'; +repository 'https://github.com/Mons/lib-abs'; build_requires 'Test::More'; diff -Nru liblib-abs-perl-0.93/META.yml liblib-abs-perl-0.95/META.yml --- liblib-abs-perl-0.93/META.yml 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/META.yml 2020-01-24 10:34:09.000000000 +0000 @@ -1,7 +1,7 @@ --- abstract: 'C that makes relative path absolute to caller.' author: - - '-2010 Mons Anderson.' + - '-2020 by Mons Anderson.' - 'Mons Anderson ' build_requires: ExtUtils::MakeMaker: 6.59 @@ -10,7 +10,7 @@ ExtUtils::MakeMaker: 6.59 distribution_type: module dynamic_config: 1 -generated_by: 'Module::Install version 1.06' +generated_by: 'Module::Install version 1.17' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -24,10 +24,11 @@ provides: lib::abs: file: lib/lib/abs.pm - version: 0.93 + version: '0.95' requires: - Cwd: 3.12 + Cwd: '3.12' perl: 5.6.0 resources: license: http://dev.perl.org/licenses/ -version: 0.93 + repository: https://github.com/Mons/lib-abs +version: '0.95' diff -Nru liblib-abs-perl-0.93/README liblib-abs-perl-0.95/README --- liblib-abs-perl-0.93/README 2013-10-24 22:26:03.000000000 +0000 +++ liblib-abs-perl-0.95/README 2020-01-24 10:34:08.000000000 +0000 @@ -70,11 +70,11 @@ BUGS None known -COPYRIGHT & LICENSE - Copyright 2007-2010 Mons Anderson. +COPYRIGHT AND LICENSE + This software is copyright (c) 2007-2020 by Mons Anderson. - This program is free software; you can redistribute it and/or modify it - under the same terms as Perl itself. + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. AUTHOR Mons Anderson, "" diff -Nru liblib-abs-perl-0.93/t/02-check-3.26.t liblib-abs-perl-0.95/t/02-check-3.26.t --- liblib-abs-perl-0.93/t/02-check-3.26.t 2013-10-24 22:02:38.000000000 +0000 +++ liblib-abs-perl-0.95/t/02-check-3.26.t 2020-01-22 21:08:13.000000000 +0000 @@ -5,6 +5,9 @@ ( my $lib = $0 ) =~ s{[^/\\]+$}{lib/3.26/Cwd.pm}; require $lib; } -( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; -do $exe or die $@; - +if ($^O eq 'MSWin32') { + print "1..0 # SKIP does not work on Windows\n"; +} else { + ( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; + do $exe or die $@; +} diff -Nru liblib-abs-perl-0.93/t/03-check-3.27.t liblib-abs-perl-0.95/t/03-check-3.27.t --- liblib-abs-perl-0.93/t/03-check-3.27.t 2013-10-24 22:02:38.000000000 +0000 +++ liblib-abs-perl-0.95/t/03-check-3.27.t 2020-01-22 21:08:13.000000000 +0000 @@ -5,6 +5,10 @@ ( my $lib = $0 ) =~ s{[^/\\]+$}{lib/3.27/Cwd.pm}; require $lib; } -( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; -do $exe or die $@; +if ($^O eq 'MSWin32') { + print "1..0 # SKIP does not work on Windows\n"; +} else { + ( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; + do $exe or die $@; +} diff -Nru liblib-abs-perl-0.93/t/04-check-3.29.t liblib-abs-perl-0.95/t/04-check-3.29.t --- liblib-abs-perl-0.93/t/04-check-3.29.t 2013-10-24 22:02:38.000000000 +0000 +++ liblib-abs-perl-0.95/t/04-check-3.29.t 2020-01-22 21:08:13.000000000 +0000 @@ -5,6 +5,10 @@ ( my $lib = $0 ) =~ s{[^/\\]+$}{lib/3.29/Cwd.pm}; require $lib; } -( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; -do $exe or die $@; +if ($^O eq 'MSWin32') { + print "1..0 # SKIP does not work on Windows\n"; +} else { + ( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; + do $exe or die $@; +} diff -Nru liblib-abs-perl-0.93/t/05-check-3.2501.t liblib-abs-perl-0.95/t/05-check-3.2501.t --- liblib-abs-perl-0.93/t/05-check-3.2501.t 2013-10-24 22:02:38.000000000 +0000 +++ liblib-abs-perl-0.95/t/05-check-3.2501.t 2020-01-22 21:08:13.000000000 +0000 @@ -5,7 +5,10 @@ ( my $lib = $0 ) =~ s{[^/\\]+$}{lib/3.2501/Cwd.pm}; require $lib; } -print "Test using Cwd $INC{'Cwd.pm'} $Cwd::VERSION, Perl $], $^X\n"; -( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; -do $exe or die $@; - +if ($^O eq 'MSWin32') { + print "1..0 # SKIP does not work on Windows\n"; +} else { + print "Test using Cwd $INC{'Cwd.pm'} $Cwd::VERSION, Perl $], $^X\n"; + ( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; + do $exe or die $@; +} diff -Nru liblib-abs-perl-0.93/t/06-check-3.12.t liblib-abs-perl-0.95/t/06-check-3.12.t --- liblib-abs-perl-0.93/t/06-check-3.12.t 2013-10-24 22:02:38.000000000 +0000 +++ liblib-abs-perl-0.95/t/06-check-3.12.t 2020-01-22 21:08:13.000000000 +0000 @@ -5,7 +5,11 @@ ( my $lib = $0 ) =~ s{[^/\\]+$}{lib/3.12/Cwd.pm}; require $lib; } -print "Test using Cwd $INC{'Cwd.pm'} $Cwd::VERSION, Perl $], $^X\n"; -( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; -do $exe or die $@; +if ($^O eq 'MSWin32') { + print "1..0 # SKIP does not work on Windows\n"; +} else { + print "Test using Cwd $INC{'Cwd.pm'} $Cwd::VERSION, Perl $], $^X\n"; + ( my $exe = $0 ) =~ s{[^/\\]+$}{check.pl}; + do $exe or die $@; +} diff -Nru liblib-abs-perl-0.93/t/check.pl liblib-abs-perl-0.95/t/check.pl --- liblib-abs-perl-0.93/t/check.pl 2013-10-24 22:02:38.000000000 +0000 +++ liblib-abs-perl-0.95/t/check.pl 2020-01-22 21:18:20.000000000 +0000 @@ -48,7 +48,7 @@ my @dirs = qw(foo bar); my @adirs = map "$FindBin::Bin/$_",@dirs; #printf "%o\n", umask(0); -mkdir($_, 0755) or warn "mkdir $_: $!" for @adirs; +mkdir($_, 0755) or $!{EEXIST} or warn "mkdir $_: $!" for @adirs; chmod 0755, @adirs or warn "chmod $_: $!"; # do chmod (on some versions mkdir with mode ignore mode) -e $_ or warn "$_ absent" for @adirs;