Hello community,
here is the log from the commit of package perl-Module-Depends for
openSUSE:Factory checked in at 2013-06-07 07:03:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-Depends (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-Depends.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Depends"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Module-Depends/perl-Module-Depends.changes
2012-02-14 19:05:09.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Module-Depends.new/perl-Module-Depends.changes
2013-06-07 07:03:07.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Jun 5 18:41:42 UTC 2013 - [email protected]
+
+- updated to 0.16
+ Add configure_requires accessor
+ Fake a version for inc::Module::Install
+
+-------------------------------------------------------------------
Old:
----
Module-Depends-0.15.tar.gz
New:
----
Module-Depends-0.16.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-Depends.spec ++++++
--- /var/tmp/diff_new_pack.1lTd76/_old 2013-06-07 07:03:08.000000000 +0200
+++ /var/tmp/diff_new_pack.1lTd76/_new 2013-06-07 07:03:08.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Depends
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products 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,11 +17,11 @@
Name: perl-Module-Depends
-Version: 0.15
+Version: 0.16
Release: 0
%define cpan_name Module-Depends
Summary: identify the dependencies of a distribution
-License: GPL-1.0+ or Artistic-1.0
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Depends/
Source:
http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
@@ -30,9 +30,11 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor::Chained)
-BuildRequires: perl(Module::Build)
-BuildRequires: perl(Module::Build)
+BuildRequires: perl(Module::Build) >= 0.3600
BuildRequires: perl(Parse::CPAN::Meta)
+#BuildRequires: perl(inc::Module::Install) >= 0.67
+#BuildRequires: perl(Inline::MakeMaker)
+#BuildRequires: perl(Module::Depends)
Requires: perl(Class::Accessor::Chained)
Requires: perl(Parse::CPAN::Meta)
%{perl_requires}
@@ -48,6 +50,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor
@@ -60,9 +63,6 @@
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
++++++ Module-Depends-0.15.tar.gz -> Module-Depends-0.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Depends-0.15/Changes
new/Module-Depends-0.16/Changes
--- old/Module-Depends-0.15/Changes 2010-02-23 15:33:00.000000000 +0100
+++ new/Module-Depends-0.16/Changes 2012-05-03 17:54:43.000000000 +0200
@@ -1,3 +1,7 @@
+0.16 Thursday 3rd May, 2012
+ Add configure_requires accessor
+ Fake a version for inc::Module::Install
+
0.15 Tuesday 23rd February, 2010
Allow Makefile.PL/Build.PL exit non-true (Ryan Niebur)
Use Parse::CPAN::Meta rather than YAML to parse the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Depends-0.15/MANIFEST
new/Module-Depends-0.16/MANIFEST
--- old/Module-Depends-0.15/MANIFEST 2010-02-23 15:38:49.000000000 +0100
+++ new/Module-Depends-0.16/MANIFEST 2012-05-03 17:54:43.000000000 +0200
@@ -19,6 +19,7 @@
t/with-yaml/META.yml
t/makemaker-false/Makefile.PL
t/module-install/Makefile.PL
+t/module-install-versioned/Makefile.PL
t/template-extract/Build.PL
t/template-extract/META.yml
t/template-extract/Makefile.PL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Depends-0.15/MANIFEST.SKIP
new/Module-Depends-0.16/MANIFEST.SKIP
--- old/Module-Depends-0.15/MANIFEST.SKIP 2010-02-23 15:38:11.000000000
+0100
+++ new/Module-Depends-0.16/MANIFEST.SKIP 2012-05-03 17:54:43.000000000
+0200
@@ -1,6 +1,7 @@
.cvsignore
\.svn
\.git
+\.DS_Store$
blib/
\bCVS\b
^Makefile$
@@ -8,3 +9,4 @@
_build
^Build$
~$
+^MYMETA.yml$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Depends-0.15/META.yml
new/Module-Depends-0.16/META.yml
--- old/Module-Depends-0.15/META.yml 2010-02-23 15:49:02.000000000 +0100
+++ new/Module-Depends-0.16/META.yml 2012-05-03 17:54:43.000000000 +0200
@@ -1,22 +1,34 @@
---- #YAML:1.0
-name: Module-Depends
-version: 0.15
-abstract: ~
-author: []
-license: unknown
-distribution_type: module
+---
+abstract: 'identify the dependencies of a distribution'
+author: []
+build_requires:
+ Test::More: 0
configure_requires:
- ExtUtils::MakeMaker: 0
-requires:
- Class::Accessor::Chained: 0
- File::Spec: 0
- Parse::CPAN::Meta: 0
- Test::More: 0
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.48
+ Module::Build: 0.36
+generated_by: 'Module::Build version 0.3607'
+license: perl
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Module-Depends
+provides:
+ Module::Build:
+ file: lib/Module/Depends/Intrusive.pm
+ version: 666
+ Module::Depends:
+ file: lib/Module/Depends.pm
+ version: 0.16
+ Module::Depends::Intrusive:
+ file: lib/Module/Depends/Intrusive.pm
+ Module::Depends::Intrusive::Fake::Module::Build:
+ file: lib/Module/Depends/Intrusive.pm
+ inc::Module::Install:
+ file: lib/Module/Depends/Intrusive.pm
+ version: 666
+requires:
+ Class::Accessor::Chained: 0
+ File::Spec: 0
+ Parse::CPAN::Meta: 0
+resources:
+ license: http://dev.perl.org/licenses/
+version: 0.16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Depends-0.15/Makefile.PL
new/Module-Depends-0.16/Makefile.PL
--- old/Module-Depends-0.15/Makefile.PL 2010-02-23 15:46:23.000000000 +0100
+++ new/Module-Depends-0.16/Makefile.PL 2012-05-03 17:54:43.000000000 +0200
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.35
+# Note: this file was auto-generated by Module::Build::Compat version 0.3607
use ExtUtils::MakeMaker;
WriteMakefile
(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Depends-0.15/lib/Module/Depends/Intrusive.pm
new/Module-Depends-0.16/lib/Module/Depends/Intrusive.pm
--- old/Module-Depends-0.15/lib/Module/Depends/Intrusive.pm 2010-01-05
16:41:39.000000000 +0100
+++ new/Module-Depends-0.16/lib/Module/Depends/Intrusive.pm 2012-05-03
17:54:43.000000000 +0200
@@ -55,9 +55,10 @@
# Module::Install
local $INC{"inc/Module/Install.pm"} = 1;
+ local $inc::Module::Install::VERSION = 666;
local @inc::Module::Install::ISA = qw( Exporter );
local @inc::Module::Install::EXPORT = qw(
-
+ configure_requires repository bugtracker
all_from auto_install AUTOLOAD build_requires check_nmake include
include_deps installdirs Makefile makemaker_args Meta name no_index
requires WriteAll clean_files can_cc sign cc_inc_paths cc_files
@@ -74,6 +75,10 @@
my %deps = (@_ == 1 ? ( $_[0] => 0 ) : @_);
$self->build_requires->{ $_ } = $deps{ $_ } for keys %deps;
};
+ local *inc::Module::Install::configure_requires = sub {
+ my %deps = (@_ == 1 ? ( $_[0] => 0 ) : @_);
+ $self->configure_requires->{ $_ } = $deps{ $_ } for keys %deps;
+ };
my $file = File::Spec->catfile( getcwd(), $pl );
eval {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Depends-0.15/lib/Module/Depends.pm
new/Module-Depends-0.16/lib/Module/Depends.pm
--- old/Module-Depends-0.15/lib/Module/Depends.pm 2010-02-23
15:32:29.000000000 +0100
+++ new/Module-Depends-0.16/lib/Module/Depends.pm 2012-05-03
17:54:43.000000000 +0200
@@ -3,8 +3,8 @@
use Parse::CPAN::Meta;
use Cwd qw( getcwd );
use base qw( Class::Accessor::Chained );
-__PACKAGE__->mk_accessors(qw( dist_dir debug libs requires build_requires
error ));
-our $VERSION = '0.15';
+__PACKAGE__->mk_accessors(qw( dist_dir debug libs requires configure_requires
build_requires error ));
+our $VERSION = '0.16';
=head1 NAME
@@ -42,6 +42,7 @@
libs => [],
requires => {},
build_requires => {},
+ configure_requires => {},
error => '',
});
}
@@ -99,6 +100,11 @@
A reference to a hash enumerating the prerequisite modules for this
distribution.
+=head2 configure_requires
+
+A reference to a hash enumerating the prerequisite modules to configure this
+distribution.
+
=head2 build_requires
A reference to a hash enumerating the modules needed to build the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Depends-0.15/t/depends.t
new/Module-Depends-0.16/t/depends.t
--- old/Module-Depends-0.15/t/depends.t 2010-01-05 16:37:18.000000000 +0100
+++ new/Module-Depends-0.16/t/depends.t 2012-05-03 17:54:43.000000000 +0200
@@ -1,7 +1,7 @@
#!perl
use strict;
use warnings;
-use Test::More tests => 19;
+use Test::More tests => 20;
my $class = 'Module::Depends::Intrusive';
require_ok("Module::Depends");
require_ok($class);
@@ -91,6 +91,15 @@
"Module::Install requires"
);
+my $module_install_versioned =
$class->new->dist_dir('t/module-install-versioned')->find_modules;
+is_deeply(
+ $module_install_versioned->configure_requires,
+ { 'ExtUtils::Depends' => 0,
+ 'B::Hooks::OP::Check::EntersubForCV' => 0 },
+ "Module::Install explicit version, configure_requires"
+);
+
+
my $template_extract
= $class->new->dist_dir('t/template-extract')->find_modules;
is_deeply(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Module-Depends-0.15/t/module-install-versioned/Makefile.PL
new/Module-Depends-0.16/t/module-install-versioned/Makefile.PL
--- old/Module-Depends-0.15/t/module-install-versioned/Makefile.PL
1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Depends-0.16/t/module-install-versioned/Makefile.PL
2012-05-03 17:54:43.000000000 +0200
@@ -0,0 +1,23 @@
+use inc::Module::Install 0.67;
+
+#use ExtUtils::Depends;
+
+name 'Devel-BeginLift';
+all_from 'lib/Devel/BeginLift.pm';
+
+requires 'B::Hooks::OP::Check::EntersubForCV' => '0.03';
+
+build_requires 'Test::More';
+build_requires 'B::Hooks::OP::Check::EntersubForCV';
+
+configure_requires 'ExtUtils::Depends';
+configure_requires 'B::Hooks::OP::Check::EntersubForCV';
+
+my $pkg = ExtUtils::Depends->new('Devel::Declare',
'B::Hooks::OP::Check::EntersubForCV');
+
+WriteMakefile(
+ dist => {
+ PREOP => 'pod2text lib/Devel/BeginLift.pm >$(DISTVNAME)/README'
+ },
+ $pkg->get_makefile_vars,
+);
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]