Upstream update to 1.40.
Reflect Source0-URL having changed. Add BR: perl(PPIx::Utils). Modernize spec.
This commit is contained in:
parent
084f0e3603
commit
992d7ae16c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/Perl-MinimumVersion-1.38.tar.gz
|
||||
/Perl-MinimumVersion-1.40.tar.gz
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user