Accepting request 111083 from devel:languages:perl
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/111083 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=8
This commit is contained in:
commit
38f0614f6d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f0dd7bc99860ceaa64b3c90ff54cf9560307c995e53a0a31ad78e7415c5ef79d
|
|
||||||
size 13228
|
|
3
namespace-clean-0.23.tar.gz
Normal file
3
namespace-clean-0.23.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:05eadace4d4e878f66793685afdaf82bd9952e10c07cb8e529434fb1cb52dcfa
|
||||||
|
size 13344
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 16 08:09:28 UTC 2012 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 2 01:01:37 CET 2012 - ro@suse.de
|
Fri Mar 2 01:01:37 CET 2012 - ro@suse.de
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-namespace-clean
|
Name: perl-namespace-clean
|
||||||
Version: 0.22
|
Version: 0.23
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name namespace-clean
|
%define cpan_name namespace-clean
|
||||||
Summary: Keep imports and functions out of your namespace
|
Summary: Keep imports and functions out of your namespace
|
||||||
@ -51,7 +51,18 @@ Requires: perl(Test::More) >= 0.88
|
|||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
Loading…
Reference in New Issue
Block a user