Upstream update to 1.40.

Reflect Source0-URL having changed.
Add BR: perl(PPIx::Utils).
Modernize spec.
This commit is contained in:
Ralf Corsépius 2021-05-06 07:07:40 +02:00
parent 084f0e3603
commit 992d7ae16c
3 changed files with 19 additions and 10 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/Perl-MinimumVersion-1.38.tar.gz
/Perl-MinimumVersion-1.40.tar.gz

View File

@ -1,15 +1,17 @@
Name: perl-Perl-MinimumVersion
Version: 1.38
Release: 28%{?dist}
Version: 1.40
Release: 0%{?dist}
Summary: Find a minimum required version of perl for Perl code
License: GPL+ or Artistic
URL: https://metacpan.org/release/Perl-MinimumVersion
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/Perl-MinimumVersion-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Perl-MinimumVersion-%{version}.tar.gz
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: make
BuildRequires: %{__make}
BuildRequires: %{__perl}
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
# Run-time and tests:
@ -20,6 +22,7 @@ BuildRequires: perl(Params::Util) >= 0.25
BuildRequires: perl(Perl::Critic::Utils) >= 1.104
BuildRequires: perl(PPI) >= 1.215
BuildRequires: perl(PPI::Util)
BuildRequires: perl(PPIx::Utils)
BuildRequires: perl(PPIx::Regexp) >= 0.033
BuildRequires: perl(strict)
BuildRequires: perl(vars)
@ -46,16 +49,16 @@ Find a minimum required version of perl for Perl code
%setup -q -n Perl-MinimumVersion-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
%{make_install} DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
%if !%{defined perl_bootstrap}
make test
%{__make} test
%endif
%files
@ -67,6 +70,12 @@ make test
%{_mandir}/man3/*
%changelog
* Thu May 06 2021 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40-1
- Upstream update to 1.40.
- Reflect Source0-URL having changed.
- Add BR: perl(PPIx::Utils).
- Modernize spec.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1 +1 @@
4285a236c64b87d67f0afd14b167cde4 Perl-MinimumVersion-1.38.tar.gz
SHA512 (Perl-MinimumVersion-1.40.tar.gz) = 9416fbee46008f7745d6d0c8762e1d54e00fb708376a1d0a86c08f375627da3c10feefc0d234f68d422da892f5ac3f5caa9ea1ac6593827e2ff9b262646a6527