commit
7cc00e59c1
BIN
Importer-0.025.tar.gz
Normal file
BIN
Importer-0.025.tar.gz
Normal file
Binary file not shown.
43
perl-Importer.spec
Normal file
43
perl-Importer.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user