diff --git a/Perl-PrereqScanner-1.008.tar.gz b/Perl-PrereqScanner-1.008.tar.gz deleted file mode 100644 index 9c092c3..0000000 --- a/Perl-PrereqScanner-1.008.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ad0a9e403f9a9ed15990a218bb7e6909e6a624c45af8d09dad9c8ac1085ef9b -size 18901 diff --git a/Perl-PrereqScanner-1.009.tar.gz b/Perl-PrereqScanner-1.009.tar.gz new file mode 100644 index 0000000..d3675b4 --- /dev/null +++ b/Perl-PrereqScanner-1.009.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a867f1d52cfceee8aa469656687d4e733e78fb5647ceccd6f9b259daeb46de5 +size 18793 diff --git a/perl-Perl-PrereqScanner.changes b/perl-Perl-PrereqScanner.changes index 80af85c..b27dc74 100644 --- a/perl-Perl-PrereqScanner.changes +++ b/perl-Perl-PrereqScanner.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 15 12:06:18 UTC 2012 - coolo@suse.com + +- updated to 1.009 + - switch from Version::Requirements to CPAN::Meta::Requirements + ------------------------------------------------------------------- Tue Nov 01 11:55:55 UTC 2011 - pascal.bleser@opensuse.org diff --git a/perl-Perl-PrereqScanner.spec b/perl-Perl-PrereqScanner.spec index d3118fd..efd10f6 100644 --- a/perl-Perl-PrereqScanner.spec +++ b/perl-Perl-PrereqScanner.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Perl-PrereqScanner # -# 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,31 +16,33 @@ # - Name: perl-Perl-PrereqScanner -Version: 1.008 -Release: 1 -License: GPL-1.0+ or Artistic-1.0 +Version: 1.009 +Release: 0 %define cpan_name Perl-PrereqScanner Summary: Scan your Perl code for its prerequisites -Url: http://search.cpan.org/dist/Perl-PrereqScanner/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://search.cpan.org/CPAN/authors/id/J/JQ/JQUELIN/Perl-PrereqScanner-%{version}.tar.gz +Url: http://search.cpan.org/dist/Perl-PrereqScanner/ +Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(CPAN::Meta::Requirements) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Role) -BuildRequires: perl(namespace::autoclean) -BuildRequires: perl(Params::Util) BuildRequires: perl(PPI) >= 1.205 BuildRequires: perl(PPI::Document) +BuildRequires: perl(Params::Util) BuildRequires: perl(String::RewritePrefix) >= 0.005 BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Try::Tiny) -BuildRequires: perl(Version::Requirements) >= 0.100630 +BuildRequires: perl(namespace::autoclean) +#BuildRequires: perl(Perl::PrereqScanner) +#BuildRequires: perl(Perl::PrereqScanner::Scanner) +Requires: perl(CPAN::Meta::Requirements) Requires: perl(List::MoreUtils) Requires: perl(Moose) Requires: perl(Moose::Role) @@ -48,13 +50,36 @@ Requires: perl(namespace::autoclean) Requires: perl(Params::Util) Requires: perl(PPI) >= 1.205 Requires: perl(String::RewritePrefix) >= 0.005 -Requires: perl(Version::Requirements) >= 0.100630 %{perl_requires} %description 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 + +* * + + OO namespace aliasing using the 'aliased' module + %prep %setup -q -n %{cpan_name}-%{version} @@ -70,9 +95,6 @@ files. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) %doc Changes LICENSE README