forked from pool/perl-Perl-PrereqScanner
- update to 1.008:
* fix rt#72062 - look for "require Module; Module->VERSION(min);" - changes from 1.007: * new option --combine for scan_prereqs script - changes from 1.006: * add the POE scanner for POE components - changes from 1.005: * stop stripping "always core" prereqs like strict and warnings * add the Aliased scanner for aliased.pm OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-PrereqScanner?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
6667b23f03
commit
43244178d1
@@ -18,14 +18,14 @@
|
||||
|
||||
|
||||
Name: perl-Perl-PrereqScanner
|
||||
Version: 1.004
|
||||
Version: 1.008
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
%define cpan_name Perl-PrereqScanner
|
||||
Summary: a tool to scan your Perl code for its prerequisites
|
||||
Summary: Scan your Perl code for its prerequisites
|
||||
Url: http://search.cpan.org/dist/Perl-PrereqScanner/
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
Source: http://search.cpan.org/CPAN/authors/id/J/JQ/JQUELIN/Perl-PrereqScanner-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
@@ -55,30 +55,6 @@ Requires: perl(Version::Requirements) >= 0.100630
|
||||
The scanner will extract loosely your distribution prerequisites from your
|
||||
files.
|
||||
|
||||
The extraction may not be perfect but tries to do its best. It will
|
||||
currently find the following prereqs:
|
||||
|
||||
* *
|
||||
|
||||
plain lines beginning with 'use' or 'require' in your perl modules and
|
||||
scripts, including minimum perl version
|
||||
|
||||
* *
|
||||
|
||||
regular inheritance declared with the 'base' and 'parent' pragmata
|
||||
|
||||
* *
|
||||
|
||||
the Moose manpage inheritance declared with the 'extends' keyword
|
||||
|
||||
* *
|
||||
|
||||
the Moose manpage roles included with the 'with' keyword
|
||||
|
||||
It will trim the following pragamata: 'strict', 'warnings', and 'lib'.
|
||||
'base' is trimmed unless a specific version is required. 'parent' is kept,
|
||||
since it's only recently become a core library.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
|
Reference in New Issue
Block a user