5c2e61
Name:           perl-Importer
5c2e61
Version:        0.025
5c2e61
Release:        1%{?dist}
5c2e61
Summary:        Alternative interface to modules that export symbols
5c2e61
License:        GPL+ or Artistic
5c2e61
URL:            http://search.cpan.org/dist/Importer/
5c2e61
Source0:        http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Importer-%{version}.tar.gz
5c2e61
BuildArch:      noarch
5c2e61
BuildRequires:  make
5c2e61
BuildRequires:  perl-generators
5c2e61
BuildRequires:  perl-interpreter
5c2e61
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
5c2e61
BuildRequires:  perl(strict)
5c2e61
BuildRequires:  perl(warnings)
5c2e61
# Tests:
5c2e61
BuildRequires:  perl(base)
5c2e61
BuildRequires:  perl(Exporter)
5c2e61
BuildRequires:  perl(Test::More) >= 0.98
5c2e61
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
5c2e61
5c2e61
%description
5c2e61
This Perl module acts as a layer between Exporter and modules which consume
5c2e61
exports. It is feature-compatible with Exporter, plus some much needed
5c2e61
extras. You can use this to import symbols from any exporter that follows
5c2e61
Exporters specification. The exporter modules themselves do not need to use
5c2e61
or inherit from the Exporter module, they just need to set @EXPORT and/or
5c2e61
other variables.
5c2e61
5c2e61
%prep
5c2e61
%setup -q -n Importer-%{version}
5c2e61
5c2e61
%build
5c2e61
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
5c2e61
make %{?_smp_mflags}
5c2e61
5c2e61
%install
5c2e61
make pure_install DESTDIR=$RPM_BUILD_ROOT
5c2e61
%{_fixperms} $RPM_BUILD_ROOT/*
5c2e61
5c2e61
%check
5c2e61
make test
5c2e61
5c2e61
%files
5c2e61
%license LICENSE
5c2e61
%doc Changes README
5c2e61
%{perl_vendorlib}/*
5c2e61
%{_mandir}/man3/*
5c2e61
5c2e61
%changelog
5c2e61
* Mon Feb 19 2018 Petr Pisar <ppisar@redhat.com> - 0.025-1
5c2e61
- 0.025 bump
5c2e61
5c2e61
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.024-5
5c2e61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5c2e61
5c2e61
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.024-4
5c2e61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5c2e61
5c2e61
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.024-3
5c2e61
- Perl 5.26 rebuild
5c2e61
5c2e61
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.024-2
5c2e61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5c2e61
5c2e61
* Fri Oct 21 2016 Petr Pisar <ppisar@redhat.com> - 0.024-1
5c2e61
- 0.024 bump
5c2e61
5c2e61
* Thu Jul 14 2016 Petr Pisar <ppisar@redhat.com> - 0.014-1
5c2e61
- 0.014 bump
5c2e61
5c2e61
* Mon Jul 11 2016 Petr Pisar <ppisar@redhat.com> - 0.013-1
5c2e61
- 0.013 bump
5c2e61
5c2e61
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-3
5c2e61
- Perl 5.24 rebuild
5c2e61
5c2e61
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.012-2
5c2e61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5c2e61
5c2e61
* Wed Jan 27 2016 Petr Pisar <ppisar@redhat.com> 0.012-1
5c2e61
- Specfile autogenerated by cpanspec 1.78.