- updated to 0.24
- Properly skip debugger test when optional deps not available - Make sure pure-perl tests pass correctly on space-containing paths (RT#77528) - Remove all the pure-perl fallback code and depend on PP-capable B::H::EOS 0.12 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-namespace-clean?expand=0&rev=24
This commit is contained in:
parent
d895bd7a3d
commit
0c626cd92a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05eadace4d4e878f66793685afdaf82bd9952e10c07cb8e529434fb1cb52dcfa
|
||||
size 13344
|
3
namespace-clean-0.24.tar.gz
Normal file
3
namespace-clean-0.24.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a661d4484e7de411bc96819aec28805836cfa6a5e276bb3cd346f8e108911230
|
||||
size 12659
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 15 15:20:27 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.24
|
||||
- Properly skip debugger test when optional deps not available
|
||||
- Make sure pure-perl tests pass correctly on space-containing
|
||||
paths (RT#77528)
|
||||
- Remove all the pure-perl fallback code and depend on PP-capable
|
||||
B::H::EOS 0.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 16 08:09:28 UTC 2012 - lars@linux-schulserver.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-namespace-clean
|
||||
#
|
||||
# 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,9 +17,9 @@
|
||||
|
||||
|
||||
Name: perl-namespace-clean
|
||||
Version: 0.23
|
||||
Version: 0.24
|
||||
Release: 0
|
||||
%define cpan_name namespace-clean
|
||||
%define cpan_name namespace-clean
|
||||
Summary: Keep imports and functions out of your namespace
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
@ -29,43 +29,29 @@ BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.12
|
||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
||||
BuildRequires: perl(Package::Stash) >= 0.23
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
#BuildRequires: perl(CleaneeBridge)
|
||||
#BuildRequires: perl(CleaneeBridgeDirect)
|
||||
#BuildRequires: perl(CleaneeBridgeExplicit)
|
||||
#BuildRequires: perl(Devel::Hide)
|
||||
#BuildRequires: perl(ExporterTest)
|
||||
#BuildRequires: perl(Hash::Util::FieldHash)
|
||||
#BuildRequires: perl(InheritanceParent)
|
||||
#BuildRequires: perl(namespace::clean)
|
||||
#BuildRequires: perl(namespace::clean::_PP_OSE)
|
||||
#BuildRequires: perl(namespace::clean::_PP_OSE_5_8)
|
||||
#BuildRequires: perl(Sub::Identify)
|
||||
#BuildRequires: perl(Sub::Name)
|
||||
#BuildRequires: perl(Tie::StdHash)
|
||||
Requires: perl(B::Hooks::EndOfScope) >= 0.07
|
||||
#BuildRequires: perl(Variable::Magic)
|
||||
Requires: perl(B::Hooks::EndOfScope) >= 0.12
|
||||
Requires: perl(Package::Stash) >= 0.23
|
||||
Requires: perl(Test::More) >= 0.88
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
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.
|
||||
Keep imports and functions out of your namespace
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# MANUAL BEGIN
|
||||
%if 0%{?suse_version} <= 1110
|
||||
for i in `find t -type f` ; do
|
||||
sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i
|
||||
|
Loading…
x
Reference in New Issue
Block a user