forked from pool/perl-Perl-PrereqScanner
Accepting request 105205 from devel:languages:perl
- updated to 1.009 - switch from Version::Requirements to CPAN::Meta::Requirements OBS-URL: https://build.opensuse.org/request/show/105205 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Perl-PrereqScanner?expand=0&rev=6
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6ad0a9e403f9a9ed15990a218bb7e6909e6a624c45af8d09dad9c8ac1085ef9b
|
|
||||||
size 18901
|
|
3
Perl-PrereqScanner-1.009.tar.gz
Normal file
3
Perl-PrereqScanner-1.009.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6a867f1d52cfceee8aa469656687d4e733e78fb5647ceccd6f9b259daeb46de5
|
||||||
|
size 18793
|
@@ -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
|
Tue Nov 01 11:55:55 UTC 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Perl-PrereqScanner
|
# 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
|
# 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,31 +16,33 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Perl-PrereqScanner
|
Name: perl-Perl-PrereqScanner
|
||||||
Version: 1.008
|
Version: 1.009
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
|
||||||
%define cpan_name Perl-PrereqScanner
|
%define cpan_name Perl-PrereqScanner
|
||||||
Summary: Scan your Perl code for its prerequisites
|
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
|
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
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(CPAN::Meta::Requirements)
|
||||||
BuildRequires: perl(List::MoreUtils)
|
BuildRequires: perl(List::MoreUtils)
|
||||||
BuildRequires: perl(Moose)
|
BuildRequires: perl(Moose)
|
||||||
BuildRequires: perl(Moose::Role)
|
BuildRequires: perl(Moose::Role)
|
||||||
BuildRequires: perl(namespace::autoclean)
|
|
||||||
BuildRequires: perl(Params::Util)
|
|
||||||
BuildRequires: perl(PPI) >= 1.205
|
BuildRequires: perl(PPI) >= 1.205
|
||||||
BuildRequires: perl(PPI::Document)
|
BuildRequires: perl(PPI::Document)
|
||||||
|
BuildRequires: perl(Params::Util)
|
||||||
BuildRequires: perl(String::RewritePrefix) >= 0.005
|
BuildRequires: perl(String::RewritePrefix) >= 0.005
|
||||||
BuildRequires: perl(Test::More) >= 0.96
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
BuildRequires: perl(Try::Tiny)
|
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(List::MoreUtils)
|
||||||
Requires: perl(Moose)
|
Requires: perl(Moose)
|
||||||
Requires: perl(Moose::Role)
|
Requires: perl(Moose::Role)
|
||||||
@@ -48,13 +50,36 @@ Requires: perl(namespace::autoclean)
|
|||||||
Requires: perl(Params::Util)
|
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
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
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
|
||||||
|
|
||||||
|
* *
|
||||||
|
|
||||||
|
OO namespace aliasing using the 'aliased' module
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
@@ -70,9 +95,6 @@ files.
|
|||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
|
Reference in New Issue
Block a user