11 Star 0 Fork 9

src-openEuler/perl-Getopt-Long

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Getopt-Long.spec 2.87 KB
一键复制 编辑 原始数据 按行查看 历史
dfh 提交于 2024-09-25 14:54 . Upgrade to version 2.58
Name: perl-Getopt-Long
Epoch: 1
Version: 2.58
Release: 1
Summary: Extended processing of command line options
License: Artistic or GPLv2+
URL: https://metacpan.org/pod/Getopt::Long
Source0: https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make perl perl-generators perl(Config)
BuildRequires: perl(constant) perl(Exporter) perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(lib) perl(overload) perl(strict) perl(Text::ParseWords)
BuildRequires: perl(vars) perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(overload)
Requires: perl(Text::ParseWords)
Requires: perl(Pod::Usage) >= 1.14
Provides: perl(newgetopt.pl) = %{version}
%description
Module Getopt::Long implements an extended getopt function called
GetOptions(). This function implements the POSIX standard for command
line options, with GNU extensions, while still capable of handling
the traditional one-letter options.
%package_help
%prep
%autosetup -n Getopt-Long-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{?buildroot}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%pre
%preun
%post
%postun
%files
%doc Changes README.md examples
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
* Wed Sep 25 2024 dfh <dufuhang@kylinos.cn> - 1:2.58-1
- Upgrade to version 2.58
- Be more precise about numeric errors (issue #26).
- Add strict to G::L::Parser.
- Doc enhancements, thanks to Elvin Aslanov.
- Silence unnecessary test diagnostics (issue #29).
* Fri Jan 26 2024 dongyuzhen <dongyuzhen@h-partners.com> - 1:2.57-1
- upgrade version to 2.57:
- fix long standing bug that duplicate options were not detected when the options differ in case while ignore_case is in effect
- allow periods in option names
- move Getopt::Long::Parser to a separate module and add documentation
- do not use Getopt::Long to establish Getopt::Long::Parser version
- adapt tests for perl core
* Wed Jul 19 2023 dongyuzhen <dongyuzhen@h-partners.com> - 1:2.54-1
- upgrade version to 2.54
* Tue Oct 25 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1:2.52-2
- Rebuild for next release
* Wed Jan 27 2021 yuanxin <yuanxin24@huawei.com> - 1:2.52-1
- upgrade version to 2.52
* Thu Jul 23 2020 xinghe <xinghe1@huawei.com> - 1:2.51-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 2.51
* Fri May 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:2.50-420
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add Epoch for updating
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.50-419
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete devel package
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 2.50-418
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Getopt-Long.git
git@gitee.com:src-openeuler/perl-Getopt-Long.git
src-openeuler
perl-Getopt-Long
perl-Getopt-Long
master

搜索帮助