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