114 Star 0 Fork 6

src-openEuler/perl-Data-OptList

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Data-OptList.spec 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
lyn 提交于 2023-12-28 17:23 . Upgrade to version 0.114
Name: perl-Data-OptList
Version: 0.114
Release: 1
Summary: Parse and validate simple name/value option pairs
License: GPL-1.0-or-later and Artistic-1.0-Perl
URL: https://metacpan.org/release/Data-OptList
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Data-OptList-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl-generators perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) perl(List::Util) perl(Params::Util)
BuildRequires: perl(strict) perl(Sub::Install) >= 0.921 perl(warnings)
BuildRequires: perl(File::Spec) perl(Test::More) >= 0.88 perl(Test::Pod) >= 1.41
BuildRequires: perl(CPAN::Meta) >= 2.120900 perl(CPAN::Meta::Prereqs)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Data-OptList is a Perl module to parse and validate simple name/value option pairs.
%package help
BuildArch: noarch
Summary: Help documents for perl-Data-OptList
%description help
The perl-Data-OptList-help package conatins manual pages for perl-Data-OptList.
%prep
%autosetup -n Data-OptList-%{version} -p1
for F in t/*; do
perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
done
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT
%check
make test
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%files
%license LICENSE
%{perl_vendorlib}/Data/
%files help
%doc Changes README t/
%{_mandir}/man3/Data::OptList.3*
%changelog
* Thu Dec 28 2023 liyanan <[email protected]> - 0.114-1
- Upgrade to version 0.114
* Tue Jun 14 2022 SimpleUpdate Robot <[email protected]> - 0.112-1
- Upgrade to version 0.112
* Wed Nov 27 2019 liujing<[email protected]> - 0.110-9
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Data-OptList.git
[email protected]:src-openeuler/perl-Data-OptList.git
src-openeuler
perl-Data-OptList
perl-Data-OptList
master

搜索帮助