perl-Getopt-Long/perl-Getopt-Long.spec

98 lines
2.6 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:12:28 -04:00
Name: perl-Getopt-Long
2020-05-22 20:39:35 +08:00
Epoch: 1
2024-01-26 15:25:53 +08:00
Version: 2.57
2023-07-19 14:43:55 +08:00
Release: 1
2019-09-30 11:12:28 -04:00
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
2019-12-25 16:02:12 +08:00
BuildRequires: make perl perl-generators perl(Config)
2019-09-30 11:12:28 -04:00
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.
2019-12-25 16:02:12 +08:00
%package_help
2019-09-30 11:12:28 -04:00
%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
2024-01-26 15:25:53 +08:00
%doc Changes README.md examples
2019-09-30 11:12:28 -04:00
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
2024-01-26 15:25:53 +08:00
* 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
2023-07-19 14:43:55 +08:00
* 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
2021-01-27 10:40:05 +08:00
* Wed Jan 27 2021 yuanxin <yuanxin24@huawei.com> - 1:2.52-1
- upgrade version to 2.52
2022-06-16 10:36:44 +08:00
* Thu Jul 23 2020 xinghe <xinghe1@huawei.com> - 1:2.51-1
2020-07-23 20:58:32 +08:00
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 2.51
2020-05-22 20:39:35 +08:00
* Fri May 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 1:2.50-420
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add Epoch for updating
2019-12-25 16:02:12 +08:00
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.50-419
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete devel package
2019-09-30 11:12:28 -04:00
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 2.50-418
- Package init