forked from pool/perl-Module-ScanDeps
update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-ScanDeps?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
fc73646c49
commit
729bc91c06
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ba3c966a6677c04ec4e0cb5b05881e156192ecaf3024ae019a4cc88b37fe057d
|
||||
size 58946
|
3
Module-ScanDeps-1.11.tar.gz
Normal file
3
Module-ScanDeps-1.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c97cc648c27047bfcbd3512d51e610a0be280f559c84e1ebd695a512db384779
|
||||
size 59275
|
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 4 09:14:01 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 1.11
|
||||
* Fix RT #89000: test broken by indirect base.pm disuse
|
||||
- delete base.pm from list of expected deps,
|
||||
patch by Andrew Main (zefram@fysh.org)
|
||||
|
||||
* new %Preload rule for Net::HTTPS (e.g. used by LWP::Protocol::https)
|
||||
- look for IO::Socket::SSL or Net::SSL
|
||||
|
||||
* new %Preload rule for YAML::Any
|
||||
- try to figure out what YAML::Any would have used (using YAML::Any->implementation)
|
||||
- as fallback, include anything below YAML
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 12:13:29 CET 2013 - ro@suse.de
|
||||
|
||||
|
@@ -17,26 +17,81 @@
|
||||
|
||||
|
||||
Name: perl-Module-ScanDeps
|
||||
Version: 1.10
|
||||
Version: 1.11
|
||||
Release: 0
|
||||
%define cpan_name Module-ScanDeps
|
||||
Summary: Recursively scan Perl code for dependencies
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Module-ScanDeps/
|
||||
Source: http://www.cpan.org/authors/id/R/RS/RSCHUPP/%{cpan_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl >= 5.8.1
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build::ModuleInfo)
|
||||
BuildRequires: perl(version)
|
||||
#BuildRequires: perl(chicken)
|
||||
#BuildRequires: perl(CPANPLUS::Backend)
|
||||
#BuildRequires: perl(Duplicated)
|
||||
#BuildRequires: perl(egg)
|
||||
#BuildRequires: perl(inc::Module::Install) >= 1.00
|
||||
#BuildRequires: perl(inner_diamond_E)
|
||||
#BuildRequires: perl(inner_diamond_N)
|
||||
#BuildRequires: perl(inner_diamond_S)
|
||||
#BuildRequires: perl(inner_diamond_W)
|
||||
#BuildRequires: perl(JSON)
|
||||
#BuildRequires: perl(LWP::Simple)
|
||||
#BuildRequires: perl(Module::Build)
|
||||
#BuildRequires: perl(Module::Install::Base)
|
||||
#BuildRequires: perl(Module::Pluggable)
|
||||
#BuildRequires: perl(Module::ScanDeps)
|
||||
#BuildRequires: perl(Module::ScanDeps::Cache)
|
||||
#BuildRequires: perl(Module::ScanDeps::DataFeed)
|
||||
#BuildRequires: perl(outer_diamond_E)
|
||||
#BuildRequires: perl(outer_diamond_S)
|
||||
#BuildRequires: perl(outer_diamond_W)
|
||||
#BuildRequires: perl(Parse::CPAN::Meta)
|
||||
#BuildRequires: perl(prefork)
|
||||
#BuildRequires: perl(Scoped::Package)
|
||||
#BuildRequires: perl(Some)
|
||||
#BuildRequires: perl(test)
|
||||
#BuildRequires: perl(TestA)
|
||||
#BuildRequires: perl(TestB)
|
||||
#BuildRequires: perl(TestC)
|
||||
#BuildRequires: perl(TestD)
|
||||
#BuildRequires: perl(Utils)
|
||||
#BuildRequires: perl(YAML::Tiny)
|
||||
Requires: perl(Module::Build::ModuleInfo)
|
||||
Requires: perl(version)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module scans potential modules used by perl programs, and returns a
|
||||
hash reference.
|
||||
hash reference; its keys are the module names as appears in '%INC' (e.g.
|
||||
'Test/More.pm'); the values are hash references with this structure:
|
||||
|
||||
{
|
||||
file => '/usr/local/lib/perl5/5.8.0/Test/More.pm',
|
||||
key => 'Test/More.pm',
|
||||
type => 'module', # or 'autoload', 'data', 'shared'
|
||||
used_by => [ 'Test/Simple.pm', ... ],
|
||||
uses => [ 'Test/Other.pm', ... ],
|
||||
}
|
||||
|
||||
One function, 'scan_deps', is exported by default. Other functions such as
|
||||
('scan_line', 'scan_chunk', 'add_deps', 'path_to_inc_name') are exported
|
||||
upon request.
|
||||
|
||||
Users of *App::Packer* may also use this module as the dependency-checking
|
||||
frontend, by tweaking their _p2e.pl_ like below:
|
||||
|
||||
use Module::ScanDeps;
|
||||
...
|
||||
my $packer = App::Packer->new( frontend => 'Module::ScanDeps' );
|
||||
...
|
||||
|
||||
Please see the App::Packer::Frontend manpage for detailed explanation on
|
||||
the structure returned by 'get_files'.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
@@ -53,9 +108,6 @@ hash reference.
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc AUTHORS Changes README
|
||||
|
Reference in New Issue
Block a user