|
|
931b57 |
# Run optional test
|
|
|
931b57 |
%if ! (0%{?rhel})
|
|
|
931b57 |
%bcond_without perl_Exporter_enables_optional_test
|
|
|
931b57 |
%else
|
|
|
931b57 |
%bcond_with perl_Exporter_enables_optional_test
|
|
|
931b57 |
%endif
|
|
|
931b57 |
|
|
|
931b57 |
%global base_version 5.70
|
|
|
931b57 |
Name: perl-Exporter
|
|
|
931b57 |
Version: 5.73
|
|
|
931b57 |
Release: 440%{?dist}
|
|
|
931b57 |
Summary: Implements default import method for modules
|
|
|
931b57 |
License: GPL+ or Artistic
|
|
|
931b57 |
URL: https://metacpan.org/release/Exporter
|
|
|
931b57 |
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/Exporter-%{base_version}.tar.gz
|
|
|
931b57 |
# Unbundled from perl 5.21.11
|
|
|
931b57 |
Patch0: Exporter-5.70-Upgrade-to-5.72.patch
|
|
|
931b57 |
# Unbundled from perl 5.28.0-RC1
|
|
|
931b57 |
Patch1: Exporter-5.72-Upgrade-to-5.73.patch
|
|
|
931b57 |
BuildArch: noarch
|
|
|
931b57 |
BuildRequires: perl-interpreter
|
|
|
931b57 |
BuildRequires: perl-generators
|
|
|
931b57 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
931b57 |
# Run-time:
|
|
|
931b57 |
BuildRequires: perl(Carp) >= 1.05
|
|
|
931b57 |
BuildRequires: perl(strict)
|
|
|
931b57 |
BuildRequires: perl(warnings)
|
|
|
931b57 |
# Tests:
|
|
|
931b57 |
BuildRequires: perl(Test::More)
|
|
|
931b57 |
BuildRequires: perl(vars)
|
|
|
931b57 |
%if %{with perl_Exporter_enables_optional_test} && !%{defined perl_bootstrap}
|
|
|
931b57 |
# Optional tests:
|
|
|
931b57 |
BuildRequires: perl(Test::Pod) >= 1.18
|
|
|
931b57 |
%endif
|
|
|
931b57 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
931b57 |
Requires: perl(Carp) >= 1.05
|
|
|
931b57 |
Requires: perl(warnings)
|
|
|
931b57 |
|
|
|
931b57 |
%description
|
|
|
931b57 |
The Exporter module implements an import method which allows a module to
|
|
|
931b57 |
export functions and variables to its users' name spaces. Many modules use
|
|
|
931b57 |
Exporter rather than implementing their own import method because Exporter
|
|
|
931b57 |
provides a highly flexible interface, with an implementation optimized for
|
|
|
931b57 |
the common case.
|
|
|
931b57 |
|
|
|
931b57 |
%prep
|
|
|
931b57 |
%setup -q -n Exporter-%{base_version}
|
|
|
931b57 |
%patch0 -p1
|
|
|
931b57 |
%patch1 -p1
|
|
|
931b57 |
|
|
|
931b57 |
%build
|
|
|
931b57 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
931b57 |
make %{?_smp_mflags}
|
|
|
931b57 |
|
|
|
931b57 |
%install
|
|
|
931b57 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
931b57 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
931b57 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
931b57 |
|
|
|
931b57 |
%check
|
|
|
931b57 |
make test
|
|
|
931b57 |
|
|
|
931b57 |
%files
|
|
|
931b57 |
%doc Changes README
|
|
|
931b57 |
%{perl_vendorlib}/*
|
|
|
931b57 |
%{_mandir}/man3/*
|
|
|
931b57 |
|
|
|
931b57 |
%changelog
|
|
|
931b57 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.73-440
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 5.73-439
|
|
|
931b57 |
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
931b57 |
|
|
|
931b57 |
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 5.73-438
|
|
|
931b57 |
- Increase release to favour standalone package
|
|
|
931b57 |
|
|
|
931b57 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.73-419
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.73-418
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 5.73-417
|
|
|
931b57 |
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
931b57 |
|
|
|
931b57 |
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 5.73-416
|
|
|
931b57 |
- Increase release to favour standalone package
|
|
|
931b57 |
|
|
|
931b57 |
* Thu May 24 2018 Jitka Plesnikova <jplesnik@redhat.com> - 5.73-1
|
|
|
931b57 |
- Upgrade to 5.73 as provided in perl-5.28.0-RC1
|
|
|
931b57 |
|
|
|
931b57 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.72-396
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.72-395
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 5.72-394
|
|
|
931b57 |
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
931b57 |
|
|
|
931b57 |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 5.72-393
|
|
|
931b57 |
- Perl 5.26 rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.72-367
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 5.72-366
|
|
|
931b57 |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
931b57 |
|
|
|
931b57 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 5.72-365
|
|
|
931b57 |
- Increase release to favour standalone package
|
|
|
931b57 |
|
|
|
931b57 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.72-349
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Tue Oct 20 2015 Petr Pisar <ppisar@redhat.com> - 5.72-348
|
|
|
931b57 |
- Rebuild to utilize perl(:VERSION) dependency symbol
|
|
|
931b57 |
|
|
|
931b57 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.72-347
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 5.72-346
|
|
|
931b57 |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
931b57 |
|
|
|
931b57 |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 5.72-345
|
|
|
931b57 |
- Increase release to favour standalone package
|
|
|
931b57 |
|
|
|
931b57 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 5.72-2
|
|
|
931b57 |
- Perl 5.22 rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 5.72-1
|
|
|
931b57 |
- 5.72 bump in order to dual-live with perl 5.22
|
|
|
931b57 |
|
|
|
931b57 |
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 5.70-311
|
|
|
931b57 |
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
931b57 |
|
|
|
931b57 |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 5.70-310
|
|
|
931b57 |
- Increase release to favour standalone package
|
|
|
931b57 |
|
|
|
931b57 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 5.70-3
|
|
|
931b57 |
- Perl 5.20 rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.70-2
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Mon Apr 14 2014 Petr Pisar <ppisar@redhat.com> - 5.70-1
|
|
|
931b57 |
- 5.70 bump
|
|
|
931b57 |
|
|
|
931b57 |
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 5.68-293
|
|
|
931b57 |
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
931b57 |
|
|
|
931b57 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.68-292
|
|
|
931b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
931b57 |
|
|
|
931b57 |
* Fri Jul 26 2013 Petr Pisar <ppisar@redhat.com> - 5.68-291
|
|
|
931b57 |
- Specify all dependencies
|
|
|
931b57 |
|
|
|
931b57 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 5.68-290
|
|
|
931b57 |
- Increase release to favour standalone package
|
|
|
931b57 |
|
|
|
931b57 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 5.68-2
|
|
|
931b57 |
- Link minimal build-root packages against libperl.so explicitly
|
|
|
931b57 |
|
|
|
931b57 |
* Thu Mar 28 2013 Petr Pisar <ppisar@redhat.com> - 5.68-1
|
|
|
931b57 |
- 5.68 bump
|
|
|
931b57 |
|
|
|
931b57 |
* Fri Mar 22 2013 Petr Pisar <ppisar@redhat.com> 5.67-1
|
|
|
931b57 |
- Specfile autogenerated by cpanspec 1.78.
|