@ -1,6 +1,6 @@
Name: perl-Getopt-Long-Descriptive
Summary: Getopt::Long with usage text
Version: 0.106
Version: 0.107
Release: 1%{?dist}
License: GPL+ or Artistic
URL: https://metacpan.org/release/Getopt-Long-Descriptive
@ -24,10 +24,8 @@ BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter) >= 0.972
BuildRequires: perl(Sub::Exporter::Util)
BuildRequires: perl(Term::ReadKey)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: expect
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(File::Spec)
@ -39,7 +37,6 @@ BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(Moose::Conflicts)
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Term::ReadKey)
%description
Convenient wrapper for Getopt::Long and program usage output.
@ -57,12 +54,7 @@ find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
# Expect is used so that we get a PTY, as if we were in a real terminal
expect -c '
spawn make test
expect eof
exit [lindex [wait] 3]
'
make test
%files
%license LICENSE
@ -73,6 +65,12 @@ expect -c '
%{_mandir}/man3/Getopt::Long::Descriptive::Usage.3*
%changelog
* Mon Mar 15 2021 Paul Howarth <paul@city-fan.org> - 0.107-1
- Update to 0.107
- Term::ReadKey has been dropped; caused too many problems
- Minimum version is now v5.10.1, not v5.10.0
- Don't need to use expect for the test suite any longer
* Sat Mar 13 2021 Paul Howarth <paul@city-fan.org> - 0.106-1
- Update to 0.106
- Improved formatting of switches