1 Star 0 Fork 9

xh/perl-Exporter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Exporter.spec 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
yeah_wang 提交于 2020-07-23 19:22 . update version to 5.74
Name: perl-Exporter
Version: 5.74
Release: 1
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: perl-interpreter perl-generators git
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Carp) >= 1.05 perl(strict) perl(warnings)
BuildRequires: perl(Test::More) perl(vars)
BuildRequires: perl(Test::Pod) >= 1.18
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp) >= 1.05 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.
%package help
Summary: Documents for %{name}
Buildarch: noarch
Requires: man
%description help
Man pages and other related documents for %{name}.
%prep
%autosetup -n Exporter-%{version} -p1 -S git
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist | xargs rm -f
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
* Wed Jul 23 2020 xinghe <xinghe1@huawei.com> - 5.74-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: update version to 5.74
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.73-420
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: update the package with tarball
* Sat Sep 14 2019 guiyao <guiyao@huawei.com> - 5.73-419
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xinghe_1/perl-Exporter.git
git@gitee.com:xinghe_1/perl-Exporter.git
xinghe_1
perl-Exporter
perl-Exporter
master

搜索帮助