270d2a
# Run prefork optional test
270d2a
%{bcond_without perl_Module_ScanDeps_enables_prefork}
270d2a
270d2a
Name:           perl-Module-ScanDeps
270d2a
Summary:        Recursively scan Perl code for dependencies
270d2a
Version:        1.24
270d2a
Release:        3%{?dist}
270d2a
License:        GPL+ or Artistic
270d2a
Source0:        http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/Module-ScanDeps-%{version}.tar.gz 
270d2a
URL:            http://search.cpan.org/dist/Module-ScanDeps/
270d2a
BuildArch:      noarch
270d2a
BuildRequires:  make
270d2a
BuildRequires:  perl-interpreter
270d2a
BuildRequires:  perl-generators
270d2a
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
270d2a
BuildRequires:  perl(strict)
270d2a
BuildRequires:  perl(warnings)
270d2a
# Run-time:
270d2a
BuildRequires:  perl(B)
270d2a
BuildRequires:  perl(Config)
270d2a
BuildRequires:  perl(constant)
270d2a
# CPANPLUS::Backend is optional and not used by tests
270d2a
BuildRequires:  perl(Cwd)
270d2a
BuildRequires:  perl(Data::Dumper)
270d2a
# Digest::MD5 is optional and not used by tests
270d2a
BuildRequires:  perl(DynaLoader)
270d2a
BuildRequires:  perl(Encode)
270d2a
BuildRequires:  perl(Exporter)
270d2a
BuildRequires:  perl(File::Basename)
270d2a
BuildRequires:  perl(File::Find)
270d2a
BuildRequires:  perl(File::Path)
270d2a
BuildRequires:  perl(File::Spec)
270d2a
BuildRequires:  perl(File::Temp)
270d2a
BuildRequires:  perl(FileHandle)
270d2a
# Getopt::Long not used by tests
270d2a
BuildRequires:  perl(Module::Metadata)
270d2a
# Storable is optional and not used by tests
270d2a
# subs not used by tests
270d2a
# Text::ParseWords not used by tests
270d2a
BuildRequires:  perl(vars)
270d2a
BuildRequires:  perl(version)
270d2a
# VMS::Filespec never used
270d2a
# Tests:
270d2a
BuildRequires:  perl(autouse)
270d2a
BuildRequires:  perl(if)
270d2a
BuildRequires:  perl(lib)
270d2a
BuildRequires:  perl(Test::More)
270d2a
BuildRequires:  perl(Test::Requires)
270d2a
# Optional tests:
270d2a
BuildRequires:  perl(Module::Pluggable)
270d2a
%if !%{defined perl_bootstrap} && %{with perl_Module_ScanDeps_enables_prefork}
270d2a
# Cycle: perl-Module-ScanDeps → perl-prefork → perl-Perl-MinimumVersion
270d2a
# → perl-Perl-Critic → perl-Pod-Spell → perl-File-ShareDir-ProjectDistDir
270d2a
# → perl-Path-Tiny → perl-Unicode-UTF8 → perl-Module-Install
270d2a
# → perl-Module-ScanDeps
270d2a
BuildRequires:  perl(prefork)
270d2a
%endif
270d2a
BuildRequires:  perl(Test::Pod) >= 1.00
270d2a
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
270d2a
Requires:       perl(B)
270d2a
Requires:       perl(DynaLoader)
270d2a
Requires:       perl(Data::Dumper)
270d2a
Requires:       perl(Encode)
270d2a
Requires:       perl(File::Find)
270d2a
Requires:       perl(Text::ParseWords)
270d2a
Recommends:     perl(Digest::MD5)
270d2a
Recommends:     perl(Storable)
270d2a
Suggests:       perl(CPANPLUS::Backend)
270d2a
270d2a
%description
270d2a
This module scans potential modules used by perl programs and returns a
270d2a
hash reference.  Its keys are the module names as they appear in %%INC (e.g.
270d2a
Test/More.pm).  The values are hash references.
270d2a
270d2a
%prep
270d2a
%setup -q -n Module-ScanDeps-%{version}
270d2a
270d2a
%build
270d2a
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
270d2a
make %{?_smp_mflags}
270d2a
270d2a
%install
270d2a
make pure_install DESTDIR=%{buildroot}
270d2a
%{_fixperms} %{buildroot}
270d2a
270d2a
%check
270d2a
make test
270d2a
270d2a
%files
270d2a
%license LICENSE
270d2a
%doc AUTHORS Changes README
270d2a
%{_bindir}/scandeps.pl
270d2a
%{perl_vendorlib}/Module/
270d2a
%{_mandir}/man1/scandeps.pl.1*
270d2a
%{_mandir}/man3/Module::ScanDeps.3pm*
270d2a
270d2a
%changelog
270d2a
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-3
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
270d2a
270d2a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-2
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
270d2a
270d2a
* Thu Jun 29 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.24-1
270d2a
- 1.24 bump
270d2a
270d2a
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-4
270d2a
- Perl 5.26 re-rebuild of bootstrapped packages
270d2a
270d2a
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.23-3
270d2a
- Perl 5.26 rebuild
270d2a
270d2a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-2
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
270d2a
270d2a
* Fri Nov 18 2016 Petr Pisar <ppisar@redhat.com> - 1.23-1
270d2a
- 1.23 bump (license changed to "GPL+ or Artistic")
270d2a
270d2a
* Mon Sep 19 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.22-1
270d2a
- 1.22 bump
270d2a
270d2a
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-3
270d2a
- Perl 5.24 re-rebuild of bootstrapped packages
270d2a
270d2a
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-2
270d2a
- Perl 5.24 rebuild
270d2a
270d2a
* Tue Apr 05 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-1
270d2a
- 1.21 bump
270d2a
270d2a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-2
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
270d2a
270d2a
* Mon Oct 05 2015 Petr Šabata <contyk@redhat.com> - 1.20-1
270d2a
- 1.20 bump
270d2a
270d2a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-4
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
270d2a
270d2a
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-3
270d2a
- Perl 5.22 re-rebuild of bootstrapped packages
270d2a
270d2a
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.19-2
270d2a
- Perl 5.22 rebuild
270d2a
270d2a
* Thu May 28 2015 Petr Šabata <contyk@redhat.com> - 1.19-1
270d2a
- 1.19 bump
270d2a
270d2a
* Fri Jan 30 2015 Petr Šabata <contyk@redhat.com> - 1.18-1
270d2a
- 1.18 bump
270d2a
270d2a
* Tue Nov 04 2014 Petr Pisar <ppisar@redhat.com> - 1.17-1
270d2a
- 0.17 bump
270d2a
270d2a
* Mon Sep 08 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.15-3
270d2a
- Perl 5.20 re-rebuild of bootstrapped packages
270d2a
270d2a
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.15-2
270d2a
- Perl 5.20 rebuild
270d2a
270d2a
* Mon Aug 25 2014 Petr Pisar <ppisar@redhat.com> - 1.15-1
270d2a
- 1.15 bump
270d2a
270d2a
* Mon Aug 11 2014 Petr Šabata <contyk@redhat.com> - 1.14-1
270d2a
- 1.14 bump
270d2a
- Add the bundled Module::Install dependencies to the BR list
270d2a
270d2a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
270d2a
270d2a
* Tue Apr 01 2014 Petr Pisar <ppisar@redhat.com> - 1.13-2
270d2a
- Break build-cycle: perl-Module-ScanDeps → perl-prefork
270d2a
  → perl-Perl-MinimumVersion → perl-Perl-Critic → perl-Pod-Spell
270d2a
  → perl-File-ShareDir-ProjectDistDir → perl-Path-Tiny → perl-Unicode-UTF8
270d2a
  → perl-Module-Install → perl-Module-ScanDeps
270d2a
270d2a
* Fri Jan 03 2014 Petr Pisar <ppisar@redhat.com> - 1.13-1
270d2a
- 1.13 bump
270d2a
270d2a
* Mon Oct  7 2013 Paul Howarth <paul@city-fan.org> - 1.11-1
270d2a
- Update to 1.11
270d2a
  - Fix test broken by indirect base.pm disuse (CPAN RT#89000)
270d2a
  - New %%Preload rule for Net::HTTPS (e.g. used by LWP::Protocol::https)
270d2a
    - Look for IO::Socket::SSL or Net::SSL
270d2a
  - New %%Preload rule for YAML::Any
270d2a
    - Try to figure out what YAML::Any would have used
270d2a
      (using YAML::Any->implementation)
270d2a
    - As fallback, include anything below YAML
270d2a
- Make %%files list more explicit
270d2a
- Drop redundant %%{?perl_default_filter}
270d2a
270d2a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
270d2a
270d2a
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 1.10-3
270d2a
- Perl 5.18 rebuild
270d2a
270d2a
* Tue Feb  5 2013 Paul Howarth <paul@city-fan.org> - 1.10-2
270d2a
- Revert to using bundled Module::Install to avoid build dependency cycles
270d2a
  (#906007)
270d2a
270d2a
* Tue Oct 23 2012 Petr Pisar <ppisar@redhat.com> - 1.10-1
270d2a
- 1.10 bump
270d2a
270d2a
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-3
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
270d2a
270d2a
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 1.08-2
270d2a
- Perl 5.16 rebuild
270d2a
270d2a
* Thu Feb 23 2012 Petr Šabata <contyk@redhat.com> - 1.08-1
270d2a
- 1.08 bump
270d2a
270d2a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-2
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
270d2a
270d2a
* Wed Nov 30 2011 Petr Šabata <contyk@redhat.com> - 1.07-1
270d2a
- 1.07 bump
270d2a
270d2a
* Tue Nov 29 2011 Petr Šabata <contyk@redhat.com> - 1.06-1
270d2a
- 1.06 bump
270d2a
270d2a
* Thu Nov 03 2011 Petr Sabata <contyk@redhat.com> - 1.05-1
270d2a
- 1.05 bump
270d2a
270d2a
* Mon Jul 25 2011 Petr Sabata <contyk@redhat.com> - 1.04-1
270d2a
- 1.04 bump
270d2a
270d2a
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.02-2
270d2a
- Perl mass rebuild
270d2a
270d2a
* Thu May  5 2011 Petr sabata <psabata@redhat.com> - 1.02-1
270d2a
- 1.02 bump (rhbz#691369)
270d2a
- Removing now obsolete Buildroot and defattr
270d2a
- Correcting BRs/Rs
270d2a
270d2a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-2
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
270d2a
270d2a
* Tue Nov 23 2010 Marcela Mašláňová <mmaslano@redhat.com> 0.98-1
270d2a
- update by Fedora::App::MaintainerTools 0.006
270d2a
- updating to latest GA CPAN version (0.98)
270d2a
- added a new br on perl(File::Spec) (version 0)
270d2a
- added a new br on perl(File::Temp) (version 0)
270d2a
- added a new req on perl(File::Spec) (version 0)
270d2a
- added a new req on perl(File::Temp) (version 0)
270d2a
- added a new req on perl(Module::Build::ModuleInfo) (version 0)
270d2a
- added a new req on perl(version) (version 0)
270d2a
270d2a
* Fri Jun 11 2010 Petr Sabata <psabata@redhat.com> - 0.97-1
270d2a
- Update to the latest version
270d2a
270d2a
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.95-3
270d2a
- Mass rebuild with perl-5.12.0
270d2a
270d2a
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.95-2
270d2a
- rebuild against perl 5.10.1
270d2a
270d2a
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.95-1
270d2a
- auto-update to 0.95 (by cpan-spec-update 0.01)
270d2a
- add perl_default_filter (pro forma)
270d2a
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
270d2a
270d2a
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89-3
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
270d2a
270d2a
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89-2
270d2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
270d2a
270d2a
* Mon Dec 15 2008 Steven Pritchard <steve@kspei.com> 0.89-1
270d2a
- Update to 0.89.
270d2a
- BR Test::More and prefork.
270d2a
- Improve description.
270d2a
270d2a
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.84-1
270d2a
- Update to 0.84.
270d2a
270d2a
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.82-2
270d2a
- rebuild for new perl
270d2a
270d2a
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.82-1
270d2a
- Update to 0.82.
270d2a
- BR version.
270d2a
270d2a
* Thu Jan 24 2008 Steven Pritchard <steve@kspei.com> 0.81-1
270d2a
- Update to 0.81.
270d2a
- Use fixperms macro instead of our own chmod incantation.
270d2a
- Reformat to match cpanspec output.
270d2a
- BR ExtUtils::MakeMaker.
270d2a
270d2a
* Wed Jun 27 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.75-1
270d2a
- Update to 0.75.
270d2a
270d2a
* Sat May  5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.74-1
270d2a
- Update to 0.74.
270d2a
270d2a
* Sat Mar 31 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.73-1
270d2a
- Update to 0.73.
270d2a
270d2a
* Sun Feb  4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.72-1
270d2a
- Update to 0.72.
270d2a
- Added perl(Module::Pluggable) to the build requirements list (t/2-pluggable.t).
270d2a
270d2a
* Fri Jan  5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.71-1
270d2a
- Update to 0.71.
270d2a
270d2a
* Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.70-1
270d2a
- Update to 0.70.
270d2a
270d2a
* Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.69-1
270d2a
- Update to 0.69.
270d2a
270d2a
* Sat Oct 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.68-1
270d2a
- Update to 0.68.
270d2a
270d2a
* Sun Sep 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.66-1
270d2a
- Update to 0.66.
270d2a
270d2a
* Sat Sep 23 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.64-1
270d2a
- Update to 0.64.
270d2a
270d2a
* Mon Sep  4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.63-1
270d2a
- Update to 0.63.
270d2a
270d2a
* Sun Jul 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.62-1
270d2a
- Update to 0.62.
270d2a
270d2a
* Sat Jul  1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.61-1
270d2a
- Update to 0.61.
270d2a
270d2a
* Wed May 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.60-1
270d2a
- Update to 0.60.
270d2a
270d2a
* Sun May  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.59-2
270d2a
- Source URL corrected (failed to detect the maintainer change).
270d2a
270d2a
* Wed May  3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.59-1
270d2a
- Update to 0.59.
270d2a
270d2a
* Thu Mar 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.57-1
270d2a
- Update to 0.57.
270d2a
270d2a
* Tue Feb 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.56-1
270d2a
- Update to 0.56.
270d2a
270d2a
* Tue Jan 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.53-1
270d2a
- Update to 0.53.
270d2a
270d2a
* Fri Sep  9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.51-1
270d2a
- Update to Fedora Extras Template.
270d2a
270d2a
* Sat Jan 08 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.51-0.fdr.1
270d2a
- First build.