@ -1,6 +1,6 @@
Name: perl-Perl-MinimumVersion
Name: perl-Perl-MinimumVersion
Version: 1.38
Version: 1.40
Release: 20 %{?dist}
Release: 1 %{?dist}
Summary: Find a minimum required version of perl for Perl code
Summary: Find a minimum required version of perl for Perl code
License: GPL+ or Artistic
License: GPL+ or Artistic
URL: https://metacpan.org/release/Perl-MinimumVersion
URL: https://metacpan.org/release/Perl-MinimumVersion
@ -17,23 +17,22 @@ BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(Exporter)
BuildRequires: perl(List::Util) >= 1.20
BuildRequires: perl(List::Util) >= 1.20
BuildRequires: perl(Params::Util) >= 0.25
BuildRequires: perl(Params::Util) >= 0.25
BuildRequires: perl(Perl::Critic::Utils) >= 1.104
BuildRequires: perl(PPI) >= 1.215
BuildRequires: perl(PPI) >= 1.215
BuildRequires: perl(PPI::Util)
BuildRequires: perl(PPI::Util)
BuildRequires: perl(PPIx::Regexp) >= 0.033
BuildRequires: perl(PPIx::Regexp) >= 0.033
BuildRequires: perl(PPIx::Utils)
BuildRequires: perl(strict)
BuildRequires: perl(strict)
BuildRequires: perl(version) >= 0.76
BuildRequires: perl(version) >= 0.76
BuildRequires: perl(warnings)
BuildRequires: perl(warnings)
# Script Runtime
# Script Runtime
BuildRequires: perl(File::Find::Rule)
BuildRequires: perl(File::Find::Rule)
BuildRequires: perl(File::Find::Rule::Perl)
BuildRequires: perl(File::Find::Rule::Perl)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(vars)
BuildRequires: perl(vars)
# Test Suite
# Test Suite
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::Script) >= 1.03
# Dependencies
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -63,6 +62,14 @@ make test
%{_mandir}/man3/Perl::MinimumVersion.3*
%{_mandir}/man3/Perl::MinimumVersion.3*
%changelog
%changelog
* Mon Dec 20 2021 Paul Howarth <paul@city-fan.org> - 1.40-1
- Update to 1.40
- Features enabled via the 'experimental' pragma are now recognized (GH#5)
- Depend on PPIx::Utils instead of Perl::Critic::Utils (GH#6)
- Recognize several new features and their minimum required Perl versions
(GH#10, GH#20): 'say', 'smartmatch', 'postderef', 'postderef_qq',
'signatures', 'refaliasing', 'bitwise', 'declared_refs', 'isa', 'indirect'
* Tue Oct 1 2019 Paul Howarth <paul@city-fan.org> - 1.38-20
* Tue Oct 1 2019 Paul Howarth <paul@city-fan.org> - 1.38-20
- Spec tidy-up
- Spec tidy-up
- Use author-independent source URL
- Use author-independent source URL