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