forked from pool/perl-Perl-PrereqScanner
- updated to 1.004
- avoid calling a method on undef (i.e., cope with PPI doing surprising things) - fix a bug that caused things like "within" and "trextends" to trigger the Moose scanner - fix rt#61608 - missing description in whatisentry for TestMore.pm OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-PrereqScanner?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
cb4187f9ab
commit
3000bc6acc
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:23fab27f89761782cceca7bf52ed5864d6301e4c3e245732184ec96215433d7e
|
|
||||||
size 15280
|
|
3
Perl-PrereqScanner-1.004.tar.gz
Normal file
3
Perl-PrereqScanner-1.004.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ad27128999ebace9f39e8fae4ad710acd393ecac786f32220823db7a63336390
|
||||||
|
size 16594
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 1 07:28:10 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
- updated to 1.004
|
||||||
|
- avoid calling a method on undef (i.e., cope with PPI doing surprising
|
||||||
|
things)
|
||||||
|
- fix a bug that caused things like "within" and "trextends" to trigger
|
||||||
|
the Moose scanner
|
||||||
|
- fix rt#61608 - missing description in whatisentry for TestMore.pm
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 17 20:23:12 UTC 2011 - coolo@novell.com
|
Mon Jan 17 20:23:12 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Perl-PrereqScanner (Version 1.001)
|
# spec file for package perl-Perl-PrereqScanner (Version 1.004)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 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
|
||||||
@@ -16,19 +16,19 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: perl-Perl-PrereqScanner
|
Name: perl-Perl-PrereqScanner
|
||||||
Version: 1.001
|
Version: 1.004
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
%define cpan_name Perl-PrereqScanner
|
%define cpan_name Perl-PrereqScanner
|
||||||
Summary: a tool to scan your Perl code for its prerequisites
|
Summary: a tool to scan your Perl code for its prerequisites
|
||||||
Url: http://search.cpan.org/dist/Perl-PrereqScanner/
|
Url: http://search.cpan.org/dist/Perl-PrereqScanner/
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
#Source: http://www.cpan.org/authors/id/J/JQ/JQUELIN/Perl-PrereqScanner-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
BuildArch: noarch
|
||||||
BuildRequires: perl(File::Spec::Functions)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl(File::Temp)
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(List::MoreUtils)
|
BuildRequires: perl(List::MoreUtils)
|
||||||
BuildRequires: perl(List::Util)
|
|
||||||
BuildRequires: perl(Moose)
|
BuildRequires: perl(Moose)
|
||||||
BuildRequires: perl(Moose::Role)
|
BuildRequires: perl(Moose::Role)
|
||||||
BuildRequires: perl(namespace::autoclean)
|
BuildRequires: perl(namespace::autoclean)
|
||||||
@@ -36,13 +36,10 @@ BuildRequires: perl(Params::Util)
|
|||||||
BuildRequires: perl(PPI) >= 1.205
|
BuildRequires: perl(PPI) >= 1.205
|
||||||
BuildRequires: perl(PPI::Document)
|
BuildRequires: perl(PPI::Document)
|
||||||
BuildRequires: perl(String::RewritePrefix) >= 0.005
|
BuildRequires: perl(String::RewritePrefix) >= 0.005
|
||||||
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
BuildRequires: perl(Try::Tiny)
|
BuildRequires: perl(Try::Tiny)
|
||||||
BuildRequires: perl(Version::Requirements) >= 0.100630
|
BuildRequires: perl(Version::Requirements) >= 0.100630
|
||||||
BuildRequires: perl
|
|
||||||
BuildRequires: perl-macros
|
|
||||||
Requires: perl(File::Spec::Functions)
|
|
||||||
Requires: perl(List::MoreUtils)
|
Requires: perl(List::MoreUtils)
|
||||||
Requires: perl(List::Util)
|
|
||||||
Requires: perl(Moose)
|
Requires: perl(Moose)
|
||||||
Requires: perl(Moose::Role)
|
Requires: perl(Moose::Role)
|
||||||
Requires: perl(namespace::autoclean)
|
Requires: perl(namespace::autoclean)
|
||||||
@@ -50,8 +47,6 @@ Requires: perl(Params::Util)
|
|||||||
Requires: perl(PPI) >= 1.205
|
Requires: perl(PPI) >= 1.205
|
||||||
Requires: perl(String::RewritePrefix) >= 0.005
|
Requires: perl(String::RewritePrefix) >= 0.005
|
||||||
Requires: perl(Version::Requirements) >= 0.100630
|
Requires: perl(Version::Requirements) >= 0.100630
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -82,18 +77,6 @@ It will trim the following pragamata: 'strict', 'warnings', and 'lib'.
|
|||||||
'base' is trimmed unless a specific version is required. 'parent' is kept,
|
'base' is trimmed unless a specific version is required. 'parent' is kept,
|
||||||
since it's only recently become a core library.
|
since it's only recently become a core library.
|
||||||
|
|
||||||
Scanner Plugins
|
|
||||||
Perl::PrereqScanner works by running a series of scanners over a
|
|
||||||
PPI::Document representing the code to scan. By default the "Perl5" and
|
|
||||||
"Moose" scanners are run. You can supply your own scanners when
|
|
||||||
constructing your PrereqScanner:
|
|
||||||
|
|
||||||
# Do not use the Moose scanner, only Perl5:
|
|
||||||
my $scanner = Perl::PrereqScanner->new({ plugins => [ qw(Perl5) ] });
|
|
||||||
|
|
||||||
# Use any stock plugins, plus Example:
|
|
||||||
my $scanner = Perl::PrereqScanner->new({ extra_plugins => [ qw(Example) ] });
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
@@ -113,7 +96,7 @@ Scanner Plugins
|
|||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(644,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes dist.ini LICENSE README
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user