Accepting request 103788 from devel:languages:perl

- updated to 0.22
    - Simplify the >= 5.10 PP variant even more - move the hook from
      DESTROY into DELETE
    - Force explicit callback invocation order on 5.8 PP
    - Replace the %^H tie approach with fieldhashes, fixes all known
      corner cases and caveats on supported perls >= 5.8.1 (FC)
    - Compile away the debugger fixup on perls >= 5.15.5 (FC)
    - More robust handling of the tied %^H in pure perl mode (RT#73402)
    - Limit the debugger workarounds to perls between 5.8.8 and 5.14,
      extend debugger support to all perl versions (FC) (RT#69862)
    - If possible, automatically install (but not load) the debugger
      workaround libraries on perls between 5.8.8 and 5.14 (RT#72368)
    - Add back dropped NAME section (RT#70259)

OBS-URL: https://build.opensuse.org/request/show/103788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2012-02-14 10:25:45 +00:00 committed by Git OBS Bridge
commit 27876ce74b
4 changed files with 45 additions and 35 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b16069bc9261f8c9f2bd541f96076e0961fa4424ce299dac0c9c5523a18e5836
size 11809

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0dd7bc99860ceaa64b3c90ff54cf9560307c995e53a0a31ad78e7415c5ef79d
size 13228

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Feb 11 07:00:52 UTC 2012 - coolo@suse.com
- updated to 0.22
- Simplify the >= 5.10 PP variant even more - move the hook from
DESTROY into DELETE
- Force explicit callback invocation order on 5.8 PP
- Replace the %^H tie approach with fieldhashes, fixes all known
corner cases and caveats on supported perls >= 5.8.1 (FC)
- Compile away the debugger fixup on perls >= 5.15.5 (FC)
- More robust handling of the tied %^H in pure perl mode (RT#73402)
- Limit the debugger workarounds to perls between 5.8.8 and 5.14,
extend debugger support to all perl versions (FC) (RT#69862)
- If possible, automatically install (but not load) the debugger
workaround libraries on perls between 5.8.8 and 5.14 (RT#72368)
- Add back dropped NAME section (RT#70259)
-------------------------------------------------------------------
Thu Nov 17 12:33:28 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-namespace-clean
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@ -16,48 +16,44 @@
#
Name: perl-namespace-clean
Version: 0.21
Release: 1
License: GPL-1.0+ or Artistic-1.0
Version: 0.22
Release: 0
%define cpan_name namespace-clean
Summary: Keep imports and functions out of your namespace
Url: http://search.cpan.org/dist/namespace-clean/
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/namespace-clean-%{version}.tar.gz
Url: http://search.cpan.org/dist/namespace-clean/
Source: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{version}.tar.gz
# MANUAL
Patch1: perl-namespace-clean-use_lib.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(Package::Stash) >= 0.22
BuildRequires: perl(Sub::Identify) >= 0.04
BuildRequires: perl(Sub::Name) >= 0.04
BuildRequires: perl(vars)
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
Requires: perl(Package::Stash) >= 0.22
Requires: perl(Sub::Identify) >= 0.04
Requires: perl(Sub::Name) >= 0.04
Requires: perl(vars)
Requires: perl(Package::Stash) >= 0.23
Requires: perl(Test::More) >= 0.88
%{perl_requires}
%description
Keeping packages clean
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.
Keep imports and functions out of your namespace
%prep
%setup -q -n %{cpan_name}-%{version}
@ -78,11 +74,8 @@ sed -i "s|__vendorperl__|%{perl_vendorlib}|g" Makefile.PL t/*.t
%perl_process_packlist
%perl_gen_filelist
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files -f %{name}.files
%defattr(644,root,root,755)
%defattr(-,root,root,755)
%doc Changes
%changelog