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