8
0

- 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:
Pascal Bleser
2011-11-01 11:55:46 +00:00
committed by Git OBS Bridge
parent 6667b23f03
commit 43244178d1
4 changed files with 19 additions and 30 deletions

View File

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

View File

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

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Nov 01 11:55:55 UTC 2011 - pascal.bleser@opensuse.org
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 1 07:28:10 UTC 2011 - coolo@novell.com Wed Jun 1 07:28:10 UTC 2011 - coolo@novell.com

View File

@@ -18,14 +18,14 @@
Name: perl-Perl-PrereqScanner Name: perl-Perl-PrereqScanner
Version: 1.004 Version: 1.008
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: 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/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 BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
@@ -55,30 +55,6 @@ Requires: perl(Version::Requirements) >= 0.100630
The scanner will extract loosely your distribution prerequisites from your The scanner will extract loosely your distribution prerequisites from your
files. 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 %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}