11 Star 0 Fork 6

src-openEuler / perl-Exporter-Tiny

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Exporter-Tiny.spec 2.29 KB
一键复制 编辑 原始数据 按行查看 历史
syyhao 提交于 2020-07-27 21:59 . upgrade to 1.002002
Name: perl-Exporter-Tiny
Version: 1.002002
Release: 1
Summary: An exporter with the features of Sub::Exporter but only core dependencies
License: GPL+ or Artistic
URL: https://metacpan.org/release/Exporter-Tiny
Source0: https://cpan.metacpan.org/modules/by-module/Exporter/Exporter-Tiny-1.002002.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make
BuildRequires: perl-generators perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
BuildRequires: perl(Carp) perl(strict) perl(warnings)
BuildRequires: perl(lib) perl(Test::More) >= 0.47
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Carp)
%{?perl_default_filter}
%description
Exporter::Tiny supports many of Sub::Exporter's external-facing features
including renaming imported functions with the -as, -prefix and -suffix
options; explicit destinations with the into option; and alternative
installers with the installer option. But it's written in only about 40%
as many lines of code and with zero non-core dependencies.
Its internal-facing interface is closer to Exporter.pm, with configuration
done through the @EXPORT, @EXPORT_OK and %%EXPORT_TAGS package variables.
%package_help
%prep
%autosetup -n Exporter-Tiny-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%make_build
%install
%make_install
%{_fixperms} -c %{buildroot}
%check
make test
%files
%doc CREDITS examples/ README
%license COPYRIGHT LICENSE
%{perl_vendorlib}/Exporter/
%files help
%doc Changes TODO
%{_mandir}/man3/*
%changelog
* Mon Jul 27 2020 shenyangyang <shenyangyang4@huawei.com> - 1.002002-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.002002
* Sat Oct 26 2019 shenyangyang <shenyangyang4@huawei.com> - 1.002001-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete unneeded build requires of perl(Test::Warnings)
* Tue Oct 15 2019 shenyangyang <shenyangyang4@huawei.com> - 1.002001-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete unneeded build requires
* Sun Sep 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.002001-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: revise requires and change the directory of some files
* Sat Sep 14 2019 zhangsaisai <zhangsaisai@huawei.com> - 1.002001-2
- Package init
1
https://gitee.com/src-openeuler/perl-Exporter-Tiny.git
git@gitee.com:src-openeuler/perl-Exporter-Tiny.git
src-openeuler
perl-Exporter-Tiny
perl-Exporter-Tiny
openEuler-20.03-LTS

搜索帮助