Hello community,
here is the log from the commit of package perl-namespace-clean for
openSUSE:Factory checked in at 2012-03-26 14:01:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-namespace-clean (Old)
and /work/SRC/openSUSE:Factory/.perl-namespace-clean.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-namespace-clean", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-namespace-clean/perl-namespace-clean.changes
2012-03-13 09:38:18.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-namespace-clean.new/perl-namespace-clean.changes
2012-03-26 14:03:09.000000000 +0200
@@ -1,0 +2,10 @@
+Fri Mar 16 08:09:28 UTC 2012 - [email protected]
+
+- update to 0.23:
+ + Rely on B::Hooks::EndOfScope version 0.10 to fix issues with
+ new Module::Runtime versions (>= 0.012) on perl 5.10 due
+ to incorrect hook firing due to %^H localisation.
+ + Fix failures on 5.13.6 due to incorrect version number threshold
+ (RT#74683)
+
+-------------------------------------------------------------------
Old:
----
namespace-clean-0.22.tar.gz
New:
----
namespace-clean-0.23.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-namespace-clean.spec ++++++
--- /var/tmp/diff_new_pack.DovjGO/_old 2012-03-26 14:03:11.000000000 +0200
+++ /var/tmp/diff_new_pack.DovjGO/_new 2012-03-26 14:03:11.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-namespace-clean
-Version: 0.22
+Version: 0.23
Release: 0
%define cpan_name namespace-clean
Summary: Keep imports and functions out of your namespace
@@ -51,7 +51,18 @@
%{perl_requires}
%description
-Keep imports and functions out of your namespace
+When you define a function, or import one, into a Perl package, it will
+naturally also be available as a method. This does not per se cause problems,
+but it can complicate subclassing and, for example, plugin classes that are
+included via multiple inheritance by loading them as base classes.
+
+The namespace::clean pragma will remove all previously declared or imported
+symbols at the end of the current package's compile cycle. Functions called in
+the package itself will still be bound by their name, but they won't show up as
+methods on your class or instances.
+
+By unimporting via no you can tell namespace::clean to start collecting
+functions for the next use namespace::clean; specification.
%prep
%setup -q -n %{cpan_name}-%{version}
++++++ namespace-clean-0.22.tar.gz -> namespace-clean-0.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/namespace-clean-0.22/Changes
new/namespace-clean-0.23/Changes
--- old/namespace-clean-0.22/Changes 2011-12-26 13:59:44.000000000 +0100
+++ new/namespace-clean-0.23/Changes 2012-03-11 16:02:29.000000000 +0100
@@ -1,3 +1,10 @@
+ [0.23]
+ - Rely on B::Hooks::EndOfScope version 0.10 to fix issues with
+ new Module::Runtime versions (>= 0.012) on perl 5.10 due
+ to incorrect hook firing due to %^H localisation.
+ - Fix failures on 5.13.6 due to incorrect version number threshold
+ (RT#74683)
+
[0.22] (official fix of all the %^H ickyness)
- Simplify the >= 5.10 PP variant even more - move the hook from
DESTROY into DELETE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/namespace-clean-0.22/META.json
new/namespace-clean-0.23/META.json
--- old/namespace-clean-0.22/META.json 2011-12-26 13:59:53.000000000 +0100
+++ new/namespace-clean-0.23/META.json 2012-03-11 16:03:56.000000000 +0100
@@ -4,7 +4,7 @@
"Robert 'phaylon' Sedlacek <[email protected]>, Florian Ragwitz
<[email protected]>, Jesse Luehrs <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter
version 2.112621",
+ "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter
version 2.113640",
"license" : [
"perl_5"
],
@@ -46,5 +46,5 @@
"url" : "git://git.shadowcat.co.uk/p5sagit/namespace-clean.git"
}
},
- "version" : "0.22"
+ "version" : "0.23"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/namespace-clean-0.22/META.yml
new/namespace-clean-0.23/META.yml
--- old/namespace-clean-0.22/META.yml 2011-12-26 13:59:53.000000000 +0100
+++ new/namespace-clean-0.23/META.yml 2012-03-11 16:03:55.000000000 +0100
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: 0
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter
version 2.112621'
+generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version
2.113640'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,4 +23,4 @@
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=namespace-clean
homepage: http://search.cpan.org/dist/namespace-clean
repository: git://git.shadowcat.co.uk/p5sagit/namespace-clean.git
-version: 0.22
+version: 0.23
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/namespace-clean-0.22/Makefile.PL
new/namespace-clean-0.23/Makefile.PL
--- old/namespace-clean-0.22/Makefile.PL 2011-12-21 11:02:40.000000000
+0100
+++ new/namespace-clean-0.23/Makefile.PL 2012-03-11 16:00:37.000000000
+0100
@@ -16,10 +16,10 @@
);
my %OPT_RUN_DEPS = (can_cc() ? (
- 'B::Hooks::EndOfScope' => '0.07', # when changing, also change $b_h_eos_req
in namespace/clean.pm
+ 'B::Hooks::EndOfScope' => '0.10', # when changing, also change $b_h_eos_req
in namespace/clean.pm
# these pieces are needed if using the debugger on the perl range
- ($] > 5.008_008_9 && $] < 5.013_006_1)
+ ($] > 5.008_008_9 && $] < 5.013_005_1)
? ( 'Sub::Name' => '0.04', 'Sub::Identify' => '0.04' ) # when changing,
also change $sn_ver and $si_ver in namespace/clean.pm
: ()
,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/namespace-clean-0.22/lib/namespace/clean.pm
new/namespace-clean-0.23/lib/namespace/clean.pm
--- old/namespace-clean-0.22/lib/namespace/clean.pm 2011-12-26
13:56:08.000000000 +0100
+++ new/namespace-clean-0.23/lib/namespace/clean.pm 2012-03-11
16:02:13.000000000 +0100
@@ -6,14 +6,14 @@
use vars qw( $STORAGE_VAR );
use Package::Stash;
-our $VERSION = '0.22';
+our $VERSION = '0.23';
$STORAGE_VAR = '__NAMESPACE_CLEAN_STORAGE';
# FIXME - all of this buggery will migrate to B::H::EOS soon
BEGIN {
# when changing also change in Makefile.PL
- my $b_h_eos_req = '0.07';
+ my $b_h_eos_req = '0.10';
if (! $ENV{NAMESPACE_CLEAN_USE_PP} and eval {
require B::Hooks::EndOfScope;
@@ -166,7 +166,7 @@
# Constant to optimise away the unused code branches
use constant FIXUP_NEEDED => $] < 5.015_005_1;
-use constant FIXUP_RENAME_SUB => $] > 5.008_008_9 && $] < 5.013_006_1;
+use constant FIXUP_RENAME_SUB => $] > 5.008_008_9 && $] < 5.013_005_1;
{
no strict;
delete ${__PACKAGE__."::"}{FIXUP_NEEDED};
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]