Accepting request 175756 from devel:languages:perl
- 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/request/show/175756 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=11
This commit is contained in:
commit
cbc7e9490a
@ -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
|
Fri Mar 16 08:09:28 UTC 2012 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-namespace-clean
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-namespace-clean
|
Name: perl-namespace-clean
|
||||||
Version: 0.23
|
Version: 0.24
|
||||||
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
|
||||||
@ -29,43 +29,29 @@ BuildArch: noarch
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
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(Package::Stash) >= 0.23
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
#BuildRequires: perl(CleaneeBridge)
|
#BuildRequires: perl(CleaneeBridge)
|
||||||
#BuildRequires: perl(CleaneeBridgeDirect)
|
#BuildRequires: perl(CleaneeBridgeDirect)
|
||||||
#BuildRequires: perl(CleaneeBridgeExplicit)
|
#BuildRequires: perl(CleaneeBridgeExplicit)
|
||||||
#BuildRequires: perl(Devel::Hide)
|
|
||||||
#BuildRequires: perl(ExporterTest)
|
#BuildRequires: perl(ExporterTest)
|
||||||
#BuildRequires: perl(Hash::Util::FieldHash)
|
|
||||||
#BuildRequires: perl(InheritanceParent)
|
#BuildRequires: perl(InheritanceParent)
|
||||||
#BuildRequires: perl(namespace::clean)
|
#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::Identify)
|
||||||
#BuildRequires: perl(Sub::Name)
|
#BuildRequires: perl(Sub::Name)
|
||||||
#BuildRequires: perl(Tie::StdHash)
|
#BuildRequires: perl(Variable::Magic)
|
||||||
Requires: perl(B::Hooks::EndOfScope) >= 0.07
|
Requires: perl(B::Hooks::EndOfScope) >= 0.12
|
||||||
Requires: perl(Package::Stash) >= 0.23
|
Requires: perl(Package::Stash) >= 0.23
|
||||||
Requires: perl(Test::More) >= 0.88
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
When you define a function, or import one, into a Perl package, it will
|
Keep imports and functions out of your namespace
|
||||||
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}
|
||||||
|
# MANUAL BEGIN
|
||||||
%if 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} <= 1110
|
||||||
for i in `find t -type f` ; do
|
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
|
sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i
|
||||||
|
Loading…
Reference in New Issue
Block a user