forked from pool/perl-namespace-autoclean
- updated to 0.24
- re-release to fix problematic $VERSION declaration (RT#101095) 0.23 2014-12-27 04:07:03Z - be more lenient in optional Mouse tests to handle edge cases in older and pure perl versions 0.22 2014-11-04 06:19:54Z - fix an erroneous change in 0.21 0.21 2014-11-04 05:24:36Z - drop testing of MooseX::MarkAsMethods, now that Moose 2.1400 has better overload handling 0.20 2014-09-06 23:04:12Z - Moose earlier than 2.0300 had a broken ->does method, which called methods on a class's meta when it might not be initialized (RT#98424) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-namespace-autoclean?expand=0&rev=19
This commit is contained in:
committed by
Git OBS Bridge
parent
7d84320192
commit
e2846200b1
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-namespace-autoclean
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX 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,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-namespace-autoclean
|
||||
Version: 0.19
|
||||
Version: 0.24
|
||||
Release: 0
|
||||
%define cpan_name namespace-autoclean
|
||||
Summary: Keep imports out of your namespace
|
||||
@@ -29,26 +29,13 @@ BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.036
|
||||
# for Test
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.12
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.039
|
||||
BuildRequires: perl(Sub::Identify)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Requires)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(version)
|
||||
#
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.12
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(Sub::Identify)
|
||||
BuildRequires: perl(namespace::clean) >= 0.20
|
||||
Requires: perl(B::Hooks::EndOfScope) >= 0.12
|
||||
Requires: perl(List::Util)
|
||||
Requires: perl(Sub::Identify)
|
||||
Requires: perl(namespace::clean) >= 0.20
|
||||
%{perl_requires}
|
||||
@@ -65,7 +52,7 @@ on your class or instances.
|
||||
This module is very similar to namespace::clean, except it will clean all
|
||||
imported functions, no matter if you imported them before or after you
|
||||
'use'd the pragma. It will also not touch anything that looks like a
|
||||
method, according to 'Class::MOP::Class::get_method_list'.
|
||||
method.
|
||||
|
||||
If you're writing an exporter and you want to clean up after yourself (and
|
||||
your peers), you can use the '-cleanee' switch to specify what package to
|
||||
@@ -98,6 +85,6 @@ clean:
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes CONTRIBUTING LICENSE README README.md weaver.ini
|
||||
%doc Changes CONTRIBUTING LICENSE README weaver.ini
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user