|
|
|
@ -1,83 +1,137 @@
|
|
|
|
|
Name: perl-Perl-MinimumVersion
|
|
|
|
|
Version: 1.40
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Summary: Find a minimum required version of perl for Perl code
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
|
URL: https://metacpan.org/release/Perl-MinimumVersion
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Perl/Perl-MinimumVersion-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Perl-MinimumVersion-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Module Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
BuildRequires: %{__make}
|
|
|
|
|
BuildRequires: %{__perl}
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
# Module Runtime
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
# Run-time and tests:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(List::Util) >= 1.20
|
|
|
|
|
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::Regexp) >= 0.033
|
|
|
|
|
BuildRequires: perl(PPIx::Utils)
|
|
|
|
|
BuildRequires: perl(PPIx::Regexp) >= 0.033
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(version) >= 0.76
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Script Runtime
|
|
|
|
|
BuildRequires: perl(File::Find::Rule)
|
|
|
|
|
BuildRequires: perl(File::Find::Rule::Perl)
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
BuildRequires: perl(File::Find::Rule) >= 0.32
|
|
|
|
|
BuildRequires: perl(File::Find::Rule::Perl) >= 1.04
|
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.80
|
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
# Test Suite
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
|
# Dependencies
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
BuildRequires: perl(Test::Script) >= 1.03
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Remove under-specified dependencies
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(version\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Util\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl >= 0:5.005$
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Find a minimum required version of perl for Perl code.
|
|
|
|
|
Find a minimum required version of perl for Perl code
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Perl-MinimumVersion-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
%{__make} test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{_bindir}/perlver
|
|
|
|
|
%{perl_vendorlib}/Perl/
|
|
|
|
|
%{_mandir}/man1/perlver.1*
|
|
|
|
|
%{_mandir}/man3/Perl::MinimumVersion.3*
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{perl_vendorlib}/Perl
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
- Classify buildreqs by usage
|
|
|
|
|
- Use %%{make_build} and %%{make_install}
|
|
|
|
|
- Make %%files list more explicit
|
|
|
|
|
- Bootstrapping not required for EPEL-8
|
|
|
|
|
- Drop redundant dependency filter
|
|
|
|
|
* Wed Sep 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.40-9
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 29 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40-8
|
|
|
|
|
- Modernize spec.
|
|
|
|
|
- Convert license to SPDX.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-6
|
|
|
|
|
- Perl 5.36 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-5
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-2
|
|
|
|
|
- Perl 5.34 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-1
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-27
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-26
|
|
|
|
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-25
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-23
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-22
|
|
|
|
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-21
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|