Hello community,
here is the log from the commit of package perl-Module-ScanDeps for
openSUSE:Factory checked in at 2013-10-10 10:37:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-ScanDeps (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-ScanDeps.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-ScanDeps"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Module-ScanDeps/perl-Module-ScanDeps.changes
2013-01-10 22:30:32.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Module-ScanDeps.new/perl-Module-ScanDeps.changes
2013-10-10 10:37:22.000000000 +0200
@@ -1,0 +2,15 @@
+Fri Oct 4 09:14:01 UTC 2013 - [email protected]
+
+- updated to 1.11
+ * Fix RT #89000: test broken by indirect base.pm disuse
+ - delete base.pm from list of expected deps,
+ patch by Andrew Main ([email protected])
+
+ * new %Preload rule for Net::HTTPS (e.g. used by LWP::Protocol::https)
+ - look for IO::Socket::SSL or Net::SSL
+
+ * new %Preload rule for YAML::Any
+ - try to figure out what YAML::Any would have used (using
YAML::Any->implementation)
+ - as fallback, include anything below YAML
+
+-------------------------------------------------------------------
Old:
----
Module-ScanDeps-1.10.tar.gz
New:
----
Module-ScanDeps-1.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-ScanDeps.spec ++++++
--- /var/tmp/diff_new_pack.H37AhZ/_old 2013-10-10 10:37:31.000000000 +0200
+++ /var/tmp/diff_new_pack.H37AhZ/_new 2013-10-10 10:37:31.000000000 +0200
@@ -17,26 +17,81 @@
Name: perl-Module-ScanDeps
-Version: 1.10
+Version: 1.11
Release: 0
%define cpan_name Module-ScanDeps
Summary: Recursively scan Perl code for dependencies
-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-ScanDeps/
Source:
http://www.cpan.org/authors/id/R/RS/RSCHUPP/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: perl >= 5.8.1
+BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build::ModuleInfo)
BuildRequires: perl(version)
+#BuildRequires: perl(chicken)
+#BuildRequires: perl(CPANPLUS::Backend)
+#BuildRequires: perl(Duplicated)
+#BuildRequires: perl(egg)
+#BuildRequires: perl(inc::Module::Install) >= 1.00
+#BuildRequires: perl(inner_diamond_E)
+#BuildRequires: perl(inner_diamond_N)
+#BuildRequires: perl(inner_diamond_S)
+#BuildRequires: perl(inner_diamond_W)
+#BuildRequires: perl(JSON)
+#BuildRequires: perl(LWP::Simple)
+#BuildRequires: perl(Module::Build)
+#BuildRequires: perl(Module::Install::Base)
+#BuildRequires: perl(Module::Pluggable)
+#BuildRequires: perl(Module::ScanDeps)
+#BuildRequires: perl(Module::ScanDeps::Cache)
+#BuildRequires: perl(Module::ScanDeps::DataFeed)
+#BuildRequires: perl(outer_diamond_E)
+#BuildRequires: perl(outer_diamond_S)
+#BuildRequires: perl(outer_diamond_W)
+#BuildRequires: perl(Parse::CPAN::Meta)
+#BuildRequires: perl(prefork)
+#BuildRequires: perl(Scoped::Package)
+#BuildRequires: perl(Some)
+#BuildRequires: perl(test)
+#BuildRequires: perl(TestA)
+#BuildRequires: perl(TestB)
+#BuildRequires: perl(TestC)
+#BuildRequires: perl(TestD)
+#BuildRequires: perl(Utils)
+#BuildRequires: perl(YAML::Tiny)
Requires: perl(Module::Build::ModuleInfo)
Requires: perl(version)
%{perl_requires}
%description
This module scans potential modules used by perl programs, and returns a
-hash reference.
+hash reference; its keys are the module names as appears in '%INC' (e.g.
+'Test/More.pm'); the values are hash references with this structure:
+
+ {
+ file => '/usr/local/lib/perl5/5.8.0/Test/More.pm',
+ key => 'Test/More.pm',
+ type => 'module', # or 'autoload', 'data', 'shared'
+ used_by => [ 'Test/Simple.pm', ... ],
+ uses => [ 'Test/Other.pm', ... ],
+ }
+
+One function, 'scan_deps', is exported by default. Other functions such as
+('scan_line', 'scan_chunk', 'add_deps', 'path_to_inc_name') are exported
+upon request.
+
+Users of *App::Packer* may also use this module as the dependency-checking
+frontend, by tweaking their _p2e.pl_ like below:
+
+ use Module::ScanDeps;
+ ...
+ my $packer = App::Packer->new( frontend => 'Module::ScanDeps' );
+ ...
+
+Please see the App::Packer::Frontend manpage for detailed explanation on
+the structure returned by 'get_files'.
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -53,9 +108,6 @@
%perl_process_packlist
%perl_gen_filelist
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
%files -f %{name}.files
%defattr(-,root,root,755)
%doc AUTHORS Changes README
++++++ Module-ScanDeps-1.10.tar.gz -> Module-ScanDeps-1.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-ScanDeps-1.10/Changes
new/Module-ScanDeps-1.11/Changes
--- old/Module-ScanDeps-1.10/Changes 2012-10-20 16:07:20.000000000 +0200
+++ new/Module-ScanDeps-1.11/Changes 2013-09-28 11:45:49.000000000 +0200
@@ -1,3 +1,15 @@
+[Changes for 1.11 - 2013-09-28]
+* Fix RT #89000: test broken by indirect base.pm disuse
+ - delete base.pm from list of expected deps,
+ patch by Andrew Main ([email protected])
+
+* new %Preload rule for Net::HTTPS (e.g. used by LWP::Protocol::https)
+ - look for IO::Socket::SSL or Net::SSL
+
+* new %Preload rule for YAML::Any
+ - try to figure out what YAML::Any would have used (using
YAML::Any->implementation)
+ - as fallback, include anything below YAML
+
[Changes for 1.10 - 2012-10-20]
* add %Preload rule for Params::Validate to detect
its PP and XS implementations
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-ScanDeps-1.10/META.yml
new/Module-ScanDeps-1.11/META.yml
--- old/Module-ScanDeps-1.10/META.yml 2012-10-20 15:55:30.000000000 +0200
+++ new/Module-ScanDeps-1.11/META.yml 2013-09-28 12:18:44.000000000 +0200
@@ -31,4 +31,4 @@
resources:
license: http://dev.perl.org/licenses/
repository: http://svn.openfoundry.org/par/Module-ScanDeps/trunk/
-version: 1.10
+version: 1.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-ScanDeps-1.10/lib/Module/ScanDeps.pm
new/Module-ScanDeps-1.11/lib/Module/ScanDeps.pm
--- old/Module-ScanDeps-1.10/lib/Module/ScanDeps.pm 2012-10-19
19:02:02.000000000 +0200
+++ new/Module-ScanDeps-1.11/lib/Module/ScanDeps.pm 2013-09-28
11:19:12.000000000 +0200
@@ -4,7 +4,7 @@
use warnings;
use vars qw( $VERSION @EXPORT @EXPORT_OK @ISA $CurrentPackage @IncludeLibs
$ScanFileRE );
-$VERSION = '1.10';
+$VERSION = '1.11';
@EXPORT = qw( scan_deps scan_deps_runtime );
@EXPORT_OK = qw( scan_line scan_chunk add_deps scan_deps_runtime
path_to_inc_name );
@@ -374,6 +374,7 @@
},
'Net/DNS/RR.pm' => 'sub',
'Net/FTP.pm' => 'sub',
+ 'Net/HTTPS.pm' => [qw( IO/Socket/SSL.pm Net/SSL.pm )],
'Net/Server.pm' => 'sub',
'Net/SSH/Perl.pm' => 'sub',
'Package/Stash.pm' => [qw( Package/Stash/PP.pm
Package/Stash/XS.pm )],
@@ -473,7 +474,17 @@
'XMLRPC/Lite.pm' => sub {
_glob_in_inc('XMLRPC/Transport', 1),;
},
- 'YAML.pm' => [qw( YAML/Loader.pm YAML/Dumper.pm )],
+ 'YAML.pm' => [qw( YAML/Loader.pm YAML/Dumper.pm )],
+ 'YAML/Any.pm' => sub {
+ # try to figure out what YAML::Any would have used
+ my $impl = eval "use YAML::Any; YAML::Any->implementation;";
+ unless ($@)
+ {
+ $impl =~ s!::!/!g;
+ return "$impl.pm";
+ }
+ _glob_in_inc('YAML', 1); # fallback
+ },
'diagnostics.pm' => sub {
# shamelessly taken and adapted from diagnostics.pm
use Config;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-ScanDeps-1.10/t/3-static_oo_interface_real.t
new/Module-ScanDeps-1.11/t/3-static_oo_interface_real.t
--- old/Module-ScanDeps-1.10/t/3-static_oo_interface_real.t 2012-02-21
16:25:41.000000000 +0100
+++ new/Module-ScanDeps-1.11/t/3-static_oo_interface_real.t 2013-09-28
11:36:45.000000000 +0200
@@ -3,16 +3,9 @@
use strict;
use warnings;
-use Test::More tests => 12;
+use Test::More;
my $rv;
-my $root;
-
-##############################################################
-# Tests compilation of Module::ScanDeps
-##############################################################
-BEGIN { use_ok( 'Module::ScanDeps' ); }
-
##############################################################
# Tests static dependency scanning on a real set of modules.
@@ -20,12 +13,23 @@
# majority of files scanned aren't fixed, the checks are
# necessarily loose.
##############################################################
-$root = $0;
my @deps = qw(
- Carp.pm Config.pm Exporter.pm Test/More.pm
- base.pm constant.pm strict.pm vars.pm
+ Carp.pm
+ Config.pm
+ Exporter.pm
+ Test/More.pm
+ constant.pm
+ strict.pm
+ vars.pm
Module/ScanDeps.pm
);
+plan tests => @deps + 3;
+
+##############################################################
+# Tests compilation of Module::ScanDeps
+##############################################################
+use_ok( 'Module::ScanDeps' );
+
my $obj = Module::ScanDeps->new;
$obj->set_file($0);
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]