89ddbf
Name:           perl-Module-Load-Conditional
89ddbf
Version:        0.70
89ddbf
Release:        1%{?dist}
89ddbf
Summary:        Looking up module information / loading at run-time
89ddbf
License:        GPL+ or Artistic
89ddbf
URL:            https://metacpan.org/release/Module-Load-Conditional
89ddbf
Source0:        https://cpan.metacpan.org/modules/by-module/Module/Module-Load-Conditional-%{version}.tar.gz
89ddbf
BuildArch:      noarch
89ddbf
# Build:
89ddbf
BuildRequires:  coreutils
89ddbf
BuildRequires:  findutils
89ddbf
BuildRequires:  make
89ddbf
BuildRequires:  perl-generators
89ddbf
BuildRequires:  perl-interpreter
89ddbf
BuildRequires:  perl(ExtUtils::MakeMaker)
89ddbf
# Run-time:
89ddbf
BuildRequires:  perl(Carp)
89ddbf
BuildRequires:  perl(Config)
89ddbf
BuildRequires:  perl(constant)
89ddbf
BuildRequires:  perl(Exporter)
89ddbf
BuildRequires:  perl(File::Spec)
89ddbf
BuildRequires:  perl(FileHandle)
89ddbf
BuildRequires:  perl(Locale::Maketext::Simple)
89ddbf
BuildRequires:  perl(Module::CoreList) >= 2.22
89ddbf
BuildRequires:  perl(Module::Load) >= 0.28
89ddbf
BuildRequires:  perl(Module::Metadata) >= 1.000005
89ddbf
BuildRequires:  perl(Params::Check)
89ddbf
BuildRequires:  perl(strict)
89ddbf
BuildRequires:  perl(vars)
89ddbf
BuildRequires:  perl(version) >= 0.69
89ddbf
# Tests:
89ddbf
BuildRequires:  perl(FindBin)
89ddbf
BuildRequires:  perl(lib)
89ddbf
BuildRequires:  perl(Test::More)
89ddbf
BuildRequires:  perl(warnings)
89ddbf
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
89ddbf
Requires:       perl(Config)
89ddbf
Requires:       perl(Module::CoreList) >= 2.22
89ddbf
Requires:       perl(Module::Load) >= 0.28
89ddbf
Requires:       perl(Module::Metadata) >= 1.000005
89ddbf
Requires:       perl(version) >= 0.69
89ddbf
89ddbf
# Filter under-specified dependencies
89ddbf
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Module::Load|Module::Metadata|version)\\)$
89ddbf
89ddbf
%description
89ddbf
This module provides simple ways to query and possibly load any of the modules
89ddbf
you have installed on your system during run-time.
89ddbf
89ddbf
%prep
89ddbf
%setup -q -n Module-Load-Conditional-%{version}
89ddbf
89ddbf
%build
89ddbf
perl Makefile.PL INSTALLDIRS=vendor
89ddbf
make %{?_smp_mflags}
89ddbf
89ddbf
%install
89ddbf
make pure_install DESTDIR=%{buildroot}
89ddbf
find %{buildroot} -type f -name .packlist -delete
89ddbf
%{_fixperms} -c %{buildroot}
89ddbf
89ddbf
%check
89ddbf
make test
89ddbf
89ddbf
%files
89ddbf
%doc CHANGES README
89ddbf
%{perl_vendorlib}/Module/
89ddbf
%{_mandir}/man3/Module::Load::Conditional.3*
89ddbf
89ddbf
%changelog
89ddbf
* Mon Nov 11 2019 Paul Howarth <paul@city-fan.org> - 0.70-1
89ddbf
- Update to 0.70
89ddbf
  - Protect ourselves from Module::Metadata parsing problems (CPAN RT#130939)
89ddbf
- Use author-independent source URL
89ddbf
- Fix permissions verbosely
89ddbf
89ddbf
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.68-439
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
89ddbf
89ddbf
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.68-438
89ddbf
- Increase release to favour standalone package
89ddbf
89ddbf
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.68-418
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
89ddbf
89ddbf
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.68-417
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
89ddbf
89ddbf
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.68-416
89ddbf
- Increase release to favour standalone package
89ddbf
89ddbf
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.68-395
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
89ddbf
89ddbf
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.68-394
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
89ddbf
89ddbf
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.68-393
89ddbf
- Perl 5.26 rebuild
89ddbf
89ddbf
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.68-2
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
89ddbf
89ddbf
* Fri Jul 29 2016 Paul Howarth <paul@city-fan.org> - 0.68-1
89ddbf
- Update to 0.68
89ddbf
  - Fix unconditional @INC localization
89ddbf
89ddbf
* Wed Jul 27 2016 Paul Howarth <paul@city-fan.org> - 0.66-1
89ddbf
- Update to 0.66
89ddbf
  - Add FORCE_SAFE_INC option to address CVE-2016-1238
89ddbf
- BR: perl-generators
89ddbf
- Simplify find command using -delete
89ddbf
- Drop legacy Group: tag
89ddbf
89ddbf
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.64-365
89ddbf
- Increase release to favour standalone package
89ddbf
89ddbf
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.64-347
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
89ddbf
89ddbf
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.64-346
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
89ddbf
89ddbf
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.64-345
89ddbf
- Increase release to favour standalone package
89ddbf
89ddbf
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.64-2
89ddbf
- Perl 5.22 rebuild
89ddbf
89ddbf
* Mon Jan 19 2015 Paul Howarth <paul@city-fan.org> - 0.64-1
89ddbf
- Update to 0.64
89ddbf
  - Resolve an edge-case with DEPRECATED (CPAN RT#101555)
89ddbf
- Make %%files list more explicit
89ddbf
89ddbf
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.62-310
89ddbf
- Increase release to favour standalone package
89ddbf
89ddbf
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.62-3
89ddbf
- Perl 5.20 rebuild
89ddbf
89ddbf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.62-2
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
89ddbf
89ddbf
* Mon Jan 27 2014 Petr Pisar <ppisar@redhat.com> - 0.62-1
89ddbf
- 0.62 bump
89ddbf
89ddbf
* Mon Jan 20 2014 Petr Pisar <ppisar@redhat.com> - 0.60-1
89ddbf
- 0.60 bump
89ddbf
89ddbf
* Mon Sep 02 2013 Petr Pisar <ppisar@redhat.com> - 0.58-1
89ddbf
- 0.58 bump
89ddbf
89ddbf
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.54-291
89ddbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
89ddbf
89ddbf
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 0.54-290
89ddbf
- Increase release to favour standalone package
89ddbf
89ddbf
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 0.54-2
89ddbf
- Perl 5.18 rebuild
89ddbf
89ddbf
* Fri Jan 25 2013 Petr Pisar <ppisar@redhat.com> 0.54-1
89ddbf
- Specfile autogenerated by cpanspec 1.78.