Hello community,
here is the log from the commit of package perl-Module-Build for openSUSE:Factory checked in at 2015-02-06 10:17:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-Build (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-Build.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Build"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Module-Build/perl-Module-Build.changes 2014-12-29 00:33:15.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Module-Build.new/perl-Module-Build.changes 2015-02-06 10:17:57.000000000 +0100
@@ -1,0 +2,18 @@
+Tue Feb 3 16:07:00 UTC 2015 - coolo@suse.com
+
+- add make-builds-reproducible.patch to sort the config data
+
+-------------------------------------------------------------------
+Tue Feb 3 15:55:41 UTC 2015 - coolo@suse.com
+
+- updated to 0.4211
+ [BUG FIXES]
+ - Fix t/actions/installdeps.t to work on "perl in space" [Ed J]
+ - Stop using version->normal(); prefer stringify() [John Peacock]
+
+ [DEPRECATIONS]
+ - inc::latest has been split out to a separate distribution on CPAN.
+ It is an optional prerequisite, only needed for the experimental
+ bundling feature.
+
+-------------------------------------------------------------------
Old:
----
Module-Build-0.4210.tar.gz
New:
----
Module-Build-0.4211.tar.gz
make-builds-reproducible.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-Build.spec ++++++
--- /var/tmp/diff_new_pack.EpwgZI/_old 2015-02-06 10:17:58.000000000 +0100
+++ /var/tmp/diff_new_pack.EpwgZI/_new 2015-02-06 10:17:58.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Build
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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,7 +17,7 @@
Name: perl-Module-Build
-Version: 0.4210
+Version: 0.4211
Release: 0
%define cpan_name Module-Build
Summary: Build and install Perl modules
@@ -25,11 +25,12 @@
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Build/
Source: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
+Patch0: make-builds-reproducible.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(CPAN::Meta) >= 2.141170
+BuildRequires: perl(CPAN::Meta) >= 2.142060
BuildRequires: perl(CPAN::Meta::YAML) >= 0.003
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
@@ -39,7 +40,7 @@
BuildRequires: perl(Pod::Man) >= 2.17
BuildRequires: perl(Test::Harness) >= 3.16
BuildRequires: perl(version) >= 0.87
-Requires: perl(CPAN::Meta) >= 2.141170
+Requires: perl(CPAN::Meta) >= 2.142060
Requires: perl(ExtUtils::CBuilder) >= 0.27
Requires: perl(ExtUtils::ParseXS) >= 2.21
Requires: perl(Module::Metadata) >= 1.000002
@@ -60,10 +61,45 @@
See the "MOTIVATIONS" manpage for more comparisons between
'ExtUtils::MakeMaker' and 'Module::Build'.
+To install 'Module::Build', and any other module that uses 'Module::Build'
+for its installation process, do the following:
+
+ perl Build.PL # 'Build.PL' script creates the 'Build' script
+ ./Build # Need ./ to ensure we're using this "Build" script
+ ./Build test # and not another one that happens to be in the PATH
+ ./Build install
+
+This illustrates initial configuration and the running of three 'actions'.
+In this case the actions run are 'build' (the default action), 'test', and
+'install'. Other actions defined so far include:
+
+ build manifest
+ clean manifest_skip
+ code manpages
+ config_data pardist
+ diff ppd
+ dist ppmdist
+ distcheck prereq_data
+ distclean prereq_report
+ distdir pure_install
+ distinstall realclean
+ distmeta retest
+ distsign skipcheck
+ disttest test
+ docs testall
+ fakeinstall testcover
+ help testdb
+ html testpod
+ install testpodcoverage
+ installdeps versioninstall
+
+You can run the 'help' action for a complete list of actions.
+
%prep
%setup -q -n %{cpan_name}-%{version}
+# MANUAL
+%patch0 -p1
find . -type f -print0 | xargs -0 chmod 644
-sed -i "s|^use warnings;.*|use warnings;\nuse lib '%{perl_vendorlib}';\n|g" lib/Module/Build/Base.pm
%build
%{__perl} Build.PL installdirs=vendor
++++++ Module-Build-0.4210.tar.gz -> Module-Build-0.4211.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/Build.PL new/Module-Build-0.4211/Build.PL
--- old/Module-Build-0.4210/Build.PL 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/Build.PL 2015-01-20 01:37:51.000000000 +0100
@@ -60,7 +60,7 @@
'Getopt::Long' => 0,
'Test::Harness' => 0,
'CPAN::Meta' => '2.142060',
- 'Perl::OSType' => 1, # needs 1.0 API
+ 'Perl::OSType' => ( $^O eq 'bitrig' ? 1.004 : 1 ), # needs 1.0 API
'version' => 0.87, # No longer requires M::B
'Module::Metadata' => 1.000002, # uses version.pm
'Pod::Man' => 2.17, # utf8 support
@@ -107,6 +107,7 @@
inc_bundling_support => {
description => "Bundle Module::Build in inc/",
requires => {
+ 'inc::latest' => 0.500, # split out from Module::Build
'ExtUtils::Install' => 1.54, # also gets us ExtUtils::Installed 1.999_001
'ExtUtils::Installed' => 1.999, # technically 1.999_001 is what's available
},
@@ -126,7 +127,8 @@
meta_merge => {
resources => {
MailingList => 'mailto:module-build@perl.org',
- repository => 'https://github.com/Perl-Toolchain-Gang/Module-Build'
+ repository => 'https://github.com/Perl-Toolchain-Gang/Module-Build',
+ IRC => 'irc://irc.perl.org/#toolchain',
}
},
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/Changes new/Module-Build-0.4211/Changes
--- old/Module-Build-0.4210/Changes 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/Changes 2015-01-20 01:37:51.000000000 +0100
@@ -1,5 +1,19 @@
Revision history for Perl extension Module::Build.
+0.4211 - Tue Jan 20 01:33:42 CET 2015
+
+ [BUG FIXES]
+
+ - Fix t/actions/installdeps.t to work on "perl in space" [Ed J]
+
+ - Stop using version->normal(); prefer stringify() [John Peacock]
+
+ [DEPRECATIONS]
+
+ - inc::latest has been split out to a separate distribution on CPAN.
+ It is an optional prerequisite, only needed for the experimental
+ bundling feature.
+
0.4210 - Mon Sep 1 13:30:29 CEST 2014
[BUG FIXES]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/MANIFEST new/Module-Build-0.4211/MANIFEST
--- old/Module-Build-0.4210/MANIFEST 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/MANIFEST 2015-01-20 01:37:50.000000000 +0100
@@ -7,8 +7,6 @@
inc/Module/Metadata.pm
inc/Perl/OSType.pm
INSTALL
-lib/inc/latest.pm
-lib/inc/latest/private.pm
lib/Module/Build.pm
lib/Module/Build/API.pod
lib/Module/Build/Authoring.pod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/META.json new/Module-Build-0.4211/META.json
--- old/Module-Build-0.4210/META.json 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/META.json 2015-01-20 01:37:51.000000000 +0100
@@ -5,7 +5,7 @@
"Module-Build mailing list at ."
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.421",
+ "generated_by" : "Module::Build version 0.4211",
"license" : [
"perl_5"
],
@@ -67,87 +67,79 @@
"provides" : {
"Module::Build" : {
"file" : "lib/Module/Build.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Base" : {
"file" : "lib/Module/Build/Base.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Compat" : {
"file" : "lib/Module/Build/Compat.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Config" : {
"file" : "lib/Module/Build/Config.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Cookbook" : {
"file" : "lib/Module/Build/Cookbook.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Dumper" : {
"file" : "lib/Module/Build/Dumper.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Notes" : {
"file" : "lib/Module/Build/Notes.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::PPMMaker" : {
"file" : "lib/Module/Build/PPMMaker.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::Default" : {
"file" : "lib/Module/Build/Platform/Default.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::MacOS" : {
"file" : "lib/Module/Build/Platform/MacOS.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::Unix" : {
"file" : "lib/Module/Build/Platform/Unix.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::VMS" : {
"file" : "lib/Module/Build/Platform/VMS.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::VOS" : {
"file" : "lib/Module/Build/Platform/VOS.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::Windows" : {
"file" : "lib/Module/Build/Platform/Windows.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::aix" : {
"file" : "lib/Module/Build/Platform/aix.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::cygwin" : {
"file" : "lib/Module/Build/Platform/cygwin.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::darwin" : {
"file" : "lib/Module/Build/Platform/darwin.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::Platform::os2" : {
"file" : "lib/Module/Build/Platform/os2.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
},
"Module::Build::PodParser" : {
"file" : "lib/Module/Build/PodParser.pm",
- "version" : "0.4210"
- },
- "inc::latest" : {
- "file" : "lib/inc/latest.pm",
- "version" : "0.4210"
- },
- "inc::latest::private" : {
- "file" : "lib/inc/latest/private.pm",
- "version" : "0.4210"
+ "version" : "0.4211"
}
},
"release_status" : "stable",
@@ -158,7 +150,8 @@
"repository" : {
"url" : "https://github.com/Perl-Toolchain-Gang/Module-Build"
},
+ "x_IRC" : "irc://irc.perl.org/#toolchain",
"x_MailingList" : "mailto:module-build@perl.org"
},
- "version" : "0.4210"
+ "version" : "0.4211"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/META.yml new/Module-Build-0.4211/META.yml
--- old/Module-Build-0.4210/META.yml 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/META.yml 2015-01-20 01:37:51.000000000 +0100
@@ -15,7 +15,7 @@
Perl::OSType: '1'
version: '0.87'
dynamic_config: 1
-generated_by: 'Module::Build version 0.421, CPAN::Meta::Converter version 2.142060'
+generated_by: 'Module::Build version 0.4211, CPAN::Meta::Converter version 2.142060'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,67 +24,61 @@
provides:
Module::Build:
file: lib/Module/Build.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Base:
file: lib/Module/Build/Base.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Compat:
file: lib/Module/Build/Compat.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Config:
file: lib/Module/Build/Config.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Cookbook:
file: lib/Module/Build/Cookbook.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Dumper:
file: lib/Module/Build/Dumper.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Notes:
file: lib/Module/Build/Notes.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::PPMMaker:
file: lib/Module/Build/PPMMaker.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::Default:
file: lib/Module/Build/Platform/Default.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::MacOS:
file: lib/Module/Build/Platform/MacOS.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::Unix:
file: lib/Module/Build/Platform/Unix.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::VMS:
file: lib/Module/Build/Platform/VMS.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::VOS:
file: lib/Module/Build/Platform/VOS.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::Windows:
file: lib/Module/Build/Platform/Windows.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::aix:
file: lib/Module/Build/Platform/aix.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::cygwin:
file: lib/Module/Build/Platform/cygwin.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::darwin:
file: lib/Module/Build/Platform/darwin.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::Platform::os2:
file: lib/Module/Build/Platform/os2.pm
- version: '0.4210'
+ version: '0.4211'
Module::Build::PodParser:
file: lib/Module/Build/PodParser.pm
- version: '0.4210'
- inc::latest:
- file: lib/inc/latest.pm
- version: '0.4210'
- inc::latest::private:
- file: lib/inc/latest/private.pm
- version: '0.4210'
+ version: '0.4211'
recommends:
ExtUtils::Install: '0.3'
ExtUtils::Manifest: '1.54'
@@ -113,7 +107,8 @@
perl: '5.008000'
version: '0.87'
resources:
+ IRC: irc://irc.perl.org/#toolchain
MailingList: mailto:module-build@perl.org
license: http://dev.perl.org/licenses/
repository: https://github.com/Perl-Toolchain-Gang/Module-Build
-version: '0.4210'
+version: '0.4211'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Base.pm new/Module-Build-0.4211/lib/Module/Build/Base.pm
--- old/Module-Build-0.4210/lib/Module/Build/Base.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Base.pm 2015-01-20 01:37:50.000000000 +0100
@@ -6,7 +6,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Carp;
@@ -4582,7 +4582,7 @@
# take as is without modification
}
elsif ( ref $version eq 'version') { # version objects
- $version = $version->is_qv ? $version->normal : $version->stringify;
+ $version = $version->stringify;
}
elsif ( $version =~ /^[^v][^.]*\.[^.]+\./ ) { # no leading v, multiple dots
# normalize string tuples without "v": "1.2.3" -> "v1.2.3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Bundling.pod new/Module-Build-0.4211/lib/Module/Build/Bundling.pod
--- old/Module-Build-0.4210/lib/Module/Build/Bundling.pod 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Bundling.pod 2015-01-20 01:37:50.000000000 +0100
@@ -34,7 +34,7 @@
highest version Module::Build is used, whether this is in C<inc/> or
already installed on the user's system. This ensures that all necessary
features are available as well as any new bug fixes. This is done using
-the new Linc::latest module.
+the experimental Linc::latest module, available on CPAN.
A "normal" Build.PL looks like this (with only the minimum required
fields):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Compat.pm new/Module-Build-0.4211/lib/Module/Build/Compat.pm
--- old/Module-Build-0.4210/lib/Module/Build/Compat.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Compat.pm 2015-01-20 01:37:51.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
use File::Basename ();
use File::Spec;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Config.pm new/Module-Build-0.4211/lib/Module/Build/Config.pm
--- old/Module-Build-0.4210/lib/Module/Build/Config.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Config.pm 2015-01-20 01:37:50.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Config;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Cookbook.pm new/Module-Build-0.4211/lib/Module/Build/Cookbook.pm
--- old/Module-Build-0.4210/lib/Module/Build/Cookbook.pm 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Cookbook.pm 2015-01-20 01:37:50.000000000 +0100
@@ -1,7 +1,7 @@
package Module::Build::Cookbook;
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
=head1 NAME
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Dumper.pm new/Module-Build-0.4211/lib/Module/Build/Dumper.pm
--- old/Module-Build-0.4210/lib/Module/Build/Dumper.pm 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Dumper.pm 2015-01-20 01:37:50.000000000 +0100
@@ -1,7 +1,7 @@
package Module::Build::Dumper;
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
# This is just a split-out of a wrapper function to do Data::Dumper
# stuff "the right way". See:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Notes.pm new/Module-Build-0.4211/lib/Module/Build/Notes.pm
--- old/Module-Build-0.4210/lib/Module/Build/Notes.pm 2014-09-01 16:15:56.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Notes.pm 2015-01-20 01:37:50.000000000 +0100
@@ -4,7 +4,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Data::Dumper;
use Module::Build::Dumper;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/PPMMaker.pm new/Module-Build-0.4211/lib/Module/Build/PPMMaker.pm
--- old/Module-Build-0.4210/lib/Module/Build/PPMMaker.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/PPMMaker.pm 2015-01-20 01:37:51.000000000 +0100
@@ -4,7 +4,7 @@
use warnings;
use Config;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
# This code is mostly borrowed from ExtUtils::MM_Unix 6.10_03, with a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/Default.pm new/Module-Build-0.4211/lib/Module/Build/Platform/Default.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/Default.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/Default.pm 2015-01-20 01:37:50.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Module::Build::Base;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/MacOS.pm new/Module-Build-0.4211/lib/Module/Build/Platform/MacOS.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/MacOS.pm 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/MacOS.pm 2015-01-20 01:37:51.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Module::Build::Base;
our @ISA = qw(Module::Build::Base);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/Unix.pm new/Module-Build-0.4211/lib/Module/Build/Platform/Unix.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/Unix.pm 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/Unix.pm 2015-01-20 01:37:51.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Module::Build::Base;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/VMS.pm new/Module-Build-0.4211/lib/Module/Build/Platform/VMS.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/VMS.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/VMS.pm 2015-01-20 01:37:50.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Module::Build::Base;
use Config;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/VOS.pm new/Module-Build-0.4211/lib/Module/Build/Platform/VOS.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/VOS.pm 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/VOS.pm 2015-01-20 01:37:51.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Module::Build::Base;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/Windows.pm new/Module-Build-0.4211/lib/Module/Build/Platform/Windows.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/Windows.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/Windows.pm 2015-01-20 01:37:51.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Config;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/aix.pm new/Module-Build-0.4211/lib/Module/Build/Platform/aix.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/aix.pm 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/aix.pm 2015-01-20 01:37:50.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Module::Build::Platform::Unix;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/cygwin.pm new/Module-Build-0.4211/lib/Module/Build/Platform/cygwin.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/cygwin.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/cygwin.pm 2015-01-20 01:37:51.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Module::Build::Platform::Unix;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/darwin.pm new/Module-Build-0.4211/lib/Module/Build/Platform/darwin.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/darwin.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/darwin.pm 2015-01-20 01:37:50.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Module::Build::Platform::Unix;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/Platform/os2.pm new/Module-Build-0.4211/lib/Module/Build/Platform/os2.pm
--- old/Module-Build-0.4210/lib/Module/Build/Platform/os2.pm 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/Platform/os2.pm 2015-01-20 01:37:50.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
use Module::Build::Platform::Unix;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build/PodParser.pm new/Module-Build-0.4211/lib/Module/Build/PodParser.pm
--- old/Module-Build-0.4210/lib/Module/Build/PodParser.pm 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build/PodParser.pm 2015-01-20 01:37:51.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
sub new {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/Module/Build.pm new/Module-Build-0.4211/lib/Module/Build.pm
--- old/Module-Build-0.4210/lib/Module/Build.pm 2014-09-01 16:15:58.000000000 +0200
+++ new/Module-Build-0.4211/lib/Module/Build.pm 2015-01-20 01:37:51.000000000 +0100
@@ -19,7 +19,7 @@
use Module::Build::Base;
our @ISA = qw(Module::Build::Base);
-our $VERSION = '0.4210';
+our $VERSION = '0.4211';
$VERSION = eval $VERSION;
# Inserts the given module into the @ISA hierarchy between
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/inc/latest/private.pm new/Module-Build-0.4211/lib/inc/latest/private.pm
--- old/Module-Build-0.4210/lib/inc/latest/private.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/inc/latest/private.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,103 +0,0 @@
-package inc::latest::private;
-
-use if $] >= 5.019, 'deprecate';
-
-use 5.006;
-use strict;
-use warnings;
-our $VERSION = '0.4210';
-$VERSION = eval $VERSION;
-
-use File::Spec;
-
-# must ultimately "goto" the import routine of the module to be loaded
-# so that the calling package is correct when $mod->import() runs.
-sub import {
- my ($package, $mod, @args) = @_;
- my $file = $package->_mod2path($mod);
-
- if ($INC{$file}) {
- # Already loaded, but let _load_module handle import args
- goto \&_load_module;
- }
-
- # A bundled copy must be present
- my ($bundled, $bundled_dir) = $package->_search_bundled($file)
- or die "No bundled copy of $mod found";
-
- my $from_inc = $package->_search_INC($file);
- unless ($from_inc) {
- # Only bundled is available
- unshift(@INC, $bundled_dir);
- goto \&_load_module;
- }
-
- if (_version($from_inc) >= _version($bundled)) {
- # Ignore the bundled copy
- goto \&_load_module;
- }
-
- # Load the bundled copy
- unshift(@INC, $bundled_dir);
- goto \&_load_module;
-}
-
-sub _version {
- require ExtUtils::MakeMaker;
- return ExtUtils::MM->parse_version(shift);
-}
-
-# use "goto" for import to preserve caller
-sub _load_module {
- my $package = shift; # remaining @_ is ready for goto
- my ($mod, @args) = @_;
- eval "require $mod; 1" or die $@;
- if ( my $import = $mod->can('import') ) {
- goto $import;
- }
- return 1;
-}
-
-sub _search_bundled {
- my ($self, $file) = @_;
-
- my $mypath = 'inc';
-
- opendir my $DH, $mypath or die "Can't open directory $mypath: $!";
-
- while (defined(my $e = readdir $DH)) {
- next unless $e =~ /^inc_/;
- my $try = File::Spec->catfile($mypath, $e, $file);
-
- return($try, File::Spec->catdir($mypath, $e)) if -e $try;
- }
- return;
-}
-
-# Look for the given path in @INC.
-sub _search_INC {
- # TODO: doesn't handle coderefs or arrayrefs or objects in @INC, but
- # it probably should
- my ($self, $file) = @_;
-
- foreach my $dir (@INC) {
- next if ref $dir;
- my $try = File::Spec->catfile($dir, $file);
- return $try if -e $try;
- }
-
- return;
-}
-
-# Translate a module name into a directory/file.pm to search for in @INC
-sub _mod2path {
- my ($self, $mod) = @_;
- my @parts = split /::/, $mod;
- $parts[-1] .= '.pm';
- return $parts[0] if @parts == 1;
- return File::Spec->catfile(@parts);
-}
-
-1;
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/lib/inc/latest.pm new/Module-Build-0.4211/lib/inc/latest.pm
--- old/Module-Build-0.4210/lib/inc/latest.pm 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/lib/inc/latest.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,248 +0,0 @@
-package inc::latest;
-
-use if $] >= 5.019, 'deprecate';
-
-use 5.006;
-use strict;
-use warnings;
-our $VERSION = '0.4210';
-$VERSION = eval $VERSION;
-
-use Carp;
-use File::Basename ();
-use File::Spec ();
-use File::Path ();
-use File::Copy ();
-
-# track and return modules loaded by inc::latest
-my @loaded_modules;
-sub loaded_modules {@loaded_modules}
-
-# must ultimately "goto" the import routine of the module to be loaded
-# so that the calling package is correct when $mod->import() runs.
-sub import {
- my ($package, $mod, @args) = @_;
- return unless(defined $mod);
-
- my $private_path = 'inc/latest/private.pm';
- if(-e $private_path) {
- # user mode - delegate work to bundled private module
- require $private_path;
- splice( @_, 0, 1, 'inc::latest::private');
- goto \&inc::latest::private::import;
- }
-
- # author mode - just record and load the modules
- push(@loaded_modules, $mod);
- require inc::latest::private;
- goto \&inc::latest::private::_load_module;
-}
-
-sub write {
- my $package = shift;
- my ($where, @preload) = @_;
-
- warn "should really be writing in inc/" unless $where =~ /inc$/;
-
- # write inc/latest.pm
- File::Path::mkpath( $where );
- open my $fh, '>', File::Spec->catfile($where,'latest.pm');
- print {$fh} "# This stub created by inc::latest $VERSION\n";
- print {$fh} <<'HERE';
-package inc::latest;
-use strict;
-require inc::latest::private;
-our @ISA = qw/inc::latest::private/;
-HERE
- if (@preload) {
- print {$fh} "\npackage inc::latest::preload;\n";
- for my $mod (@preload) {
- print {$fh} "inc::latest->import('$mod');\n";
- }
- }
- print {$fh} "\n1;\n";
- close $fh;
-
- # write inc/latest/private;
- require inc::latest::private;
- File::Path::mkpath( File::Spec->catdir( $where, 'latest' ) );
- my $from = $INC{'inc/latest/private.pm'};
- my $to = File::Spec->catfile($where,'latest','private.pm');
- File::Copy::copy( $from, $to ) or die "Couldn't copy '$from' to '$to': $!";
-
- return 1;
-}
-
-sub bundle_module {
- my ($package, $module, $where) = @_;
-
- # create inc/inc_$foo
- (my $dist = $module) =~ s{::}{-}g;
- my $inc_lib = File::Spec->catdir($where,"inc_$dist");
- File::Path::mkpath $inc_lib;
-
- # get list of files to copy
- require ExtUtils::Installed;
- # workaround buggy EU::Installed check of @INC
- my $inst = ExtUtils::Installed->new(extra_libs => [@INC]);
- my $packlist = $inst->packlist( $module ) or die "Couldn't find packlist";
- my @files = grep { /\.pm$/ } keys %$packlist;
-
-
- # figure out prefix
- my $mod_path = quotemeta $package->_mod2path( $module );
- my ($prefix) = grep { /$mod_path$/ } @files;
- $prefix =~ s{$mod_path$}{};
-
- # copy files
- for my $from ( @files ) {
- next unless $from =~ /\.pm$/;
- (my $mod_path = $from) =~ s{^\Q$prefix\E}{};
- my $to = File::Spec->catfile( $inc_lib, $mod_path );
- File::Path::mkpath(File::Basename::dirname($to));
- File::Copy::copy( $from, $to ) or die "Couldn't copy '$from' to '$to': $!";
- }
- return 1;
-}
-
-# Translate a module name into a directory/file.pm to search for in @INC
-sub _mod2path {
- my ($self, $mod) = @_;
- my @parts = split /::/, $mod;
- $parts[-1] .= '.pm';
- return $parts[0] if @parts == 1;
- return File::Spec->catfile(@parts);
-}
-
-1;
-
-
-=head1 NAME
-
-inc::latest - use modules bundled in inc/ if they are newer than installed ones
-
-=head1 SYNOPSIS
-
- # in Build.PL
- use inc::latest 'Module::Build';
-
-=head1 DESCRIPTION
-
-The Cinc::latest module helps bootstrap configure-time dependencies for CPAN
-distributions. These dependencies get bundled into the C<inc> directory within
-a distribution and are used by Build.PL (or Makefile.PL).
-
-Arguments to Cinc::latest are module names that are checked against both the
-current C<@INC> array and against specially-named directories in C<inc>. If
-the bundled version is newer than the installed one (or the module isn't
-installed, then, the bundled directory is added to the start of <@INC> and the
-module is loaded from there.
-
-There are actually two variations of Cinc::latest -- one for authors and one
-for the C<inc> directory. For distribution authors, the Cinc::latest
-installed in the system will record modules loaded via Cinc::latest and can
-be used to create the bundled files in C<inc>, including writing the second
-variation as C.
-
-This second Cinc::latest is the one that is loaded in a distribution being
-installed (e.g. from Build.PL). This bundled Cinc::latest is the one
-that determines which module to load.
-
-=head2 Special notes on bundling
-
-The Cinc::latest module creates bundled directories based on the packlist
-file of an installed distribution. Even though Cinc::latest takes module
-name arguments, it is better to think of it as bundling and making available
-entire I<distributions>. When a module is loaded through Cinc::latest,
-it looks in all bundled distributions in C<inc/> for a newer module than
-can be found in the existing C<@INC> array.
-
-Thus, the module-name provided should usually be the "top-level" module name of
-a distribution, though this is not strictly required. For example,
-LModule::Build has a number of heuristics to map module names to packlists,
-allowing users to do things like this:
-
- use inc::latest 'Devel::AssertOS::Unix';
-
-even though Devel::AssertOS::Unix is contained within the Devel-CheckOS
-distribution.
-
-At the current time, packlists are required. Thus, bundling dual-core modules
-may require a 'forced install' over versions in the latest version of perl
-in order to create the necessary packlist for bundling.
-
-=head1 USAGE
-
-When calling C<use>, the bundled Cinc::latest takes a single module name and
-optional arguments to pass to that module's own import method.
-
- use 'inc::latest' 'Foo::Bar' qw/foo bar baz/;
-
-=head2 Author-mode
-
-You are in author-mode inc::latest if any of the Author-mode methods are
-available. For example:
-
- if ( inc::latest->can('write') ) {
- inc::latest->write('inc');
- }
-
-=over 4
-
-=item loaded_modules()
-
- my @list = inc::latest->loaded_modules;
-
-This takes no arguments and always returns a list of module names requested for
-loading via "use inc::latest 'MODULE'", regardless of whether the load was
-successful or not.
-
-=item write()
-
- inc::latest->write( 'inc' );
-
-This writes the bundled version of inc::latest to the directory name given as an
-argument. It almost all cases, it should be 'C<inc>'.
-
-=item bundle_module()
-
- for my $mod ( inc::latest->loaded_modules ) {
- inc::latest->bundle_module($mod, $dir);
- }
-
-If $mod corresponds to a packlist, then this function creates a specially-named
-directory in $dir and copies all .pm files from the modlist to the new
-directory (which almost always should just be 'inc'). For example, if Foo::Bar
-is the name of the module, and $dir is 'inc', then the directory would be
-'inc/inc_Foo-Bar' and contain files like this:
-
- inc/inc_Foo-Bar/Foo/Bar.pm
-
-Currently, $mod B<must> have a packlist. If this is not the case (e.g. for a
-dual-core module), then the bundling will fail. You may be able to create a
-packlist by forced installing the module on top of the version that came with
-core Perl.
-
-=back
-
-=head2 As bundled in inc/
-
-All methods are private. Only the C<import> method is public.
-
-=head1 AUTHOR
-
-Eric Wilhelm , David Golden
-
-=head1 COPYRIGHT
-
-Copyright (c) 2009 by Eric Wilhelm and David Golden
-
-This library is free software; you can redistribute it and/or
-modify it under the same terms as Perl itself.
-
-=head1 SEE ALSO
-
-LModule::Build
-
-=cut
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4210/t/actions/installdeps.t new/Module-Build-0.4211/t/actions/installdeps.t
--- old/Module-Build-0.4210/t/actions/installdeps.t 2014-09-01 16:15:57.000000000 +0200
+++ new/Module-Build-0.4211/t/actions/installdeps.t 2015-01-20 01:37:51.000000000 +0100
@@ -20,14 +20,14 @@
build_requires => {
'Getopt::Long' => 9998,
},
- cpan_client => $^X . ' -le print($_)for($^X,@ARGV)',
+ cpan_client => qq{"$^X"} . ' -le print($_)for($^X,@ARGV)',
)->regen;
# get a Module::Build object and test with it
my $mb;
stdout_stderr_of( sub { $mb = $dist->new_from_context('verbose' => 1) } );
isa_ok( $mb, "Module::Build" );
-like( $mb->cpan_client, qr/^\Q$^X\E/, "cpan_client is mocked with perl" );
+like( $mb->cpan_client, qr/^"\Q$^X\E"/, "cpan_client is mocked with perl" );
my $retval;
my $out = stdout_of( sub {
++++++ make-builds-reproducible.patch ++++++
Index: Module-Build-0.4211/lib/Module/Build/Dumper.pm
===================================================================
--- Module-Build-0.4211.orig/lib/Module/Build/Dumper.pm
+++ Module-Build-0.4211/lib/Module/Build/Dumper.pm
@@ -11,8 +11,11 @@ use Data::Dumper;
sub _data_dump {
my ($self, $data) = @_;
+
+ my $dumper = Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0);
+ $dumper->Sortkeys(1);
return ("do{ my "
- . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Dump()
+ . $dumper->Dump()
. '$x; }')
}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org