代码拉取完成,页面将自动刷新
Name: perl-Params-Util
Summary: Simple, compact and correct param-checking functions
Version: 1.07
Release: 26
License: GPL+ or Artistic
URL: https://metacpan.org/release/Params-Util
Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/Params-Util-%{version}.tar.gz
BuildRequires: perl-interpreter perl-devel perl-generators gcc %{__perl} %{__make}
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52 perl(File::Spec) >= 0.82
BuildRequires: perl(File::Temp) perl(Config) perl(strict)
BuildRequires: perl(DynaLoader) perl(Exporter) perl(overload) perl(vars)
BuildRequires: perl(Test::More) >= 0.47 perl(File::Spec::Functions)
Requires: perl(Scalar::Util) >= 1.18
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Params::Util provides a basic set of importable functions that makes
checking parameters a hell of a lot easier.
While they can be (and are) used in other contexts, the main point
behind this module is that the functions both Do What You Mean, and Do
The Right Thing, so they are most useful when you are getting params
passed into your code from someone and/or somewhere else and you can't
really trust the quality.
%package_help
%prep
%autosetup -p1 -n Params-Util-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%check
make test AUTOMATED_TESTING=1
%files
%license LICENSE
%{perl_vendorarch}/Params
%{perl_vendorarch}/auto/*
%files help
%doc Changes
%{_mandir}/man3/*
%changelog
* Tue Nov 19 2019 caomeng<caomeng5@huawei.com> - 1.07-26
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。