diff --git a/Exporter-5.74.tar.gz b/Exporter-5.74.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..92d19a21cb3f2aa376a8bc5ec336c5593e155a42 Binary files /dev/null and b/Exporter-5.74.tar.gz differ diff --git a/perl-Exporter.spec b/perl-Exporter.spec new file mode 100644 index 0000000000000000000000000000000000000000..0861c6c0f9b50fc2069208c93e1b684930c01c56 --- /dev/null +++ b/perl-Exporter.spec @@ -0,0 +1,60 @@ +%define anolis_release 1 +# Run optional test +%bcond_with perl_Exporter_enables_optional_test + +Name: perl-Exporter +Version: 5.74 +Release: %{anolis_release}%{?dist} +Summary: Implements default import method for modules +License: GPL+ or Artistic +URL: https://metacpan.org/release/Exporter +Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/Exporter-%{version}.tar.gz +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +# Run-time: +BuildRequires: perl(Carp) >= 1.05 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(Test::More) +BuildRequires: perl(vars) +%if %{with perl_Exporter_enables_optional_test} && !%{defined perl_bootstrap} +# Optional tests: +BuildRequires: perl(Test::Pod) >= 1.18 +%endif +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) >= 1.05 +Requires: perl(warnings) + +%description +The Exporter module implements an import method which allows a module to +export functions and variables to its users' name spaces. Many modules use +Exporter rather than implementing their own import method because Exporter +provides a highly flexible interface, with an implementation optimized for +the common case. + +%prep +%setup -q -n Exporter-%{version} + +%build +perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor +%{make_build} + +%install +%{make_install} +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jan 20 2020 Petr Pisar - 5.74-1 +- Init version from upstream v5.74