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