diff --git a/Importer-0.026.tar.gz b/Importer-0.026.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0d5f60db8b6a27e9f341e293e831bd0d1a6dd9e0 Binary files /dev/null and b/Importer-0.026.tar.gz differ diff --git a/perl-Importer.spec b/perl-Importer.spec new file mode 100644 index 0000000000000000000000000000000000000000..35cae31558b7e16de755d7d0cea4194096aac51a --- /dev/null +++ b/perl-Importer.spec @@ -0,0 +1,54 @@ +%define anolis_release 1 + +Name: perl-Importer +Version: 0.026 +Release: %{anolis_release}%{?dist} +Summary: Alternative interface to modules that export symbols +License: GPL+ or Artistic +URL: https://metacpan.org/release/Importer +Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Importer-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(base) +BuildRequires: perl(Exporter) +BuildRequires: perl(Test::More) >= 0.98 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This Perl module acts as a layer between Exporter and modules which consume +exports. It is feature-compatible with Exporter, plus some much needed +extras. You can use this to import symbols from any exporter that follows +Exporters specification. The exporter modules themselves do not need to use +or inherit from the Exporter module, they just need to set @EXPORT and/or +other variables. + +%prep +%setup -q -n Importer-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Apr 20 2022 zhang xianting - 0.026-1 +- Initial build for Anolis V23