|
|
72f791 |
Name: perl-Module-Load
|
|
|
72f791 |
# Epoch to compete with perl.spec
|
|
|
72f791 |
Epoch: 1
|
|
|
72f791 |
Version: 0.32
|
|
|
691645 |
Release: 396%{?dist}
|
|
|
72f791 |
Summary: Run-time require of both modules and files
|
|
|
72f791 |
License: GPL+ or Artistic
|
|
|
72f791 |
Group: Development/Libraries
|
|
|
72f791 |
URL: http://search.cpan.org/dist/Module-Load/
|
|
|
72f791 |
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Load-%{version}.tar.gz
|
|
|
72f791 |
BuildArch: noarch
|
|
|
72f791 |
BuildRequires: perl-interpreter
|
|
|
72f791 |
BuildRequires: perl-generators
|
|
|
72f791 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
72f791 |
BuildRequires: perl(strict)
|
|
|
72f791 |
# Run-time:
|
|
|
72f791 |
BuildRequires: perl(File::Spec)
|
|
|
72f791 |
BuildRequires: perl(warnings)
|
|
|
72f791 |
# Tests:
|
|
|
72f791 |
BuildRequires: perl(Config)
|
|
|
72f791 |
BuildRequires: perl(Exporter)
|
|
|
72f791 |
BuildRequires: perl(lib)
|
|
|
72f791 |
BuildRequires: perl(Test::More) >= 0.94
|
|
|
72f791 |
BuildRequires: perl(vars)
|
|
|
72f791 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
72f791 |
|
|
|
72f791 |
%description
|
|
|
72f791 |
If you consult "perldoc -f require" you will see that "require" will behave
|
|
|
72f791 |
differently when given a bare-word or a string. In the case of a string,
|
|
|
72f791 |
"require" assumes you are wanting to load a file. But in the case of
|
|
|
72f791 |
a bare-word, it assumes you mean a module.
|
|
|
72f791 |
|
|
|
72f791 |
This gives nasty overhead when you are trying to dynamically require modules
|
|
|
72f791 |
at run-time, since you will need to change the module notation to a file
|
|
|
72f791 |
notation fitting the particular platform you are on.
|
|
|
72f791 |
|
|
|
72f791 |
"load" eliminates the need for this overhead and will just DWYM.
|
|
|
72f791 |
|
|
|
72f791 |
%prep
|
|
|
72f791 |
%setup -q -n Module-Load-%{version}
|
|
|
72f791 |
|
|
|
72f791 |
%build
|
|
|
72f791 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
72f791 |
make %{?_smp_mflags}
|
|
|
72f791 |
|
|
|
72f791 |
%install
|
|
|
72f791 |
make pure_install DESTDIR='%{buildroot}'
|
|
|
72f791 |
find '%{buildroot}' -type f -name .packlist -exec rm -f {} +
|
|
|
72f791 |
%{_fixperms} '%{buildroot}'/*
|
|
|
72f791 |
|
|
|
72f791 |
%check
|
|
|
72f791 |
make test
|
|
|
72f791 |
|
|
|
72f791 |
%files
|
|
|
72f791 |
%doc CHANGES README
|
|
|
72f791 |
%{perl_vendorlib}/*
|
|
|
72f791 |
%{_mandir}/man3/*
|
|
|
72f791 |
|
|
|
72f791 |
%changelog
|
|
|
691645 |
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.32-396
|
|
|
691645 |
- Rebuild with enable hardening (bug #1636329)
|
|
|
691645 |
|
|
|
72f791 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.32-395
|
|
|
72f791 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.32-394
|
|
|
72f791 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.32-393
|
|
|
72f791 |
- Perl 5.26 rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.32-366
|
|
|
72f791 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.32-365
|
|
|
72f791 |
- Increase release to favour standalone package
|
|
|
72f791 |
|
|
|
72f791 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.32-347
|
|
|
72f791 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.32-346
|
|
|
72f791 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.32-345
|
|
|
72f791 |
- Increase release to favour standalone package
|
|
|
72f791 |
|
|
|
72f791 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.32-311
|
|
|
72f791 |
- Perl 5.22 rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.32-310
|
|
|
72f791 |
- Increase release to favour standalone package
|
|
|
72f791 |
|
|
|
72f791 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.32-3
|
|
|
72f791 |
- Perl 5.20 rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.32-2
|
|
|
72f791 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Fri Feb 21 2014 Petr Pisar <ppisar@redhat.com> - 1:0.32-1
|
|
|
72f791 |
- 0.32 bump
|
|
|
72f791 |
|
|
|
72f791 |
* Mon Jan 27 2014 Petr Pisar <ppisar@redhat.com> - 1:0.30-1
|
|
|
72f791 |
- 0.30 bump
|
|
|
72f791 |
|
|
|
72f791 |
* Tue Jan 07 2014 Petr Pisar <ppisar@redhat.com> - 1:0.28-1
|
|
|
72f791 |
- 0.28 bump
|
|
|
72f791 |
|
|
|
72f791 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.24-291
|
|
|
72f791 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:0.24-290
|
|
|
72f791 |
- Increase release to favour standalone package
|
|
|
72f791 |
|
|
|
72f791 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:0.24-3
|
|
|
72f791 |
- Perl 5.18 rebuild
|
|
|
72f791 |
|
|
|
72f791 |
* Fri Apr 05 2013 Petr Pisar <ppisar@redhat.com> - 1:0.24-2
|
|
|
72f791 |
- Set epoch to compete with perl.spec
|
|
|
72f791 |
|
|
|
72f791 |
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> 0.24-1
|
|
|
72f791 |
- Specfile autogenerated by cpanspec 1.78.
|