!1 Add package

Merge pull request !1 from phanddy/master
This commit is contained in:
openeuler-ci-bot 2020-08-05 17:08:50 +08:00 committed by Gitee
commit 7cc00e59c1
2 changed files with 43 additions and 0 deletions

BIN
Importer-0.025.tar.gz Normal file

Binary file not shown.

43
perl-Importer.spec Normal file
View File

@ -0,0 +1,43 @@
Name: perl-Importer
Version: 0.025
Release: 1
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: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
%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
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Aug 3 2020 dingyue <dingyue5@huawei.com> -0.025 -1
- Package init