%define upstream_name Dist-Zilla-Plugin-MinimumPerl %define upstream_version 1.006 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 6 Summary: Detects the minimum version of Perl required for your dist License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/modules/by-module/Dist/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Dist::Zilla::Role::FileFinderUser) >= 4.102.345 BuildRequires: perl(Dist::Zilla::Role::PrereqSource) >= 4.102.345 BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(Module::Build) >= 0.360.100 BuildRequires: perl(Moose) >= 1.30.0 BuildRequires: perl(Moose::Util::TypeConstraints) >= 1.10.0 BuildRequires: perl(MooseX::Types::Perl) >= 0.101.340 BuildRequires: perl(Perl::MinimumVersion) >= 1.260.0 BuildRequires: perl(Test::More) >= 0.880.0 BuildArch: noarch %description This plugin uses the Perl::MinimumVersion manpage to automatically find the minimum version of Perl required for your dist and adds it to the prereqs. You can specify a version of Perl to override the scanning logic. # In your dist.ini: [MinimumPerl] This plugin accepts the following options: %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test %install %make_install %files %doc Changes INSTALL LICENSE META.json META.yml README SIGNATURE examples %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Mar 20 2022 umeabot <umeabot> 1.6.0-6.mga9 + Revision: 1803294 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 1.6.0-5.mga8 + Revision: 1494369 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%makeinstall_std * Wed Sep 19 2018 umeabot <umeabot> 1.6.0-4.mga7 + Revision: 1267543 - Mageia 7 Mass Rebuild * Sun Jun 19 2016 pterjan <pterjan> 1.6.0-3.mga6 + Revision: 1026385 - Rebuild for perl 5.22.2 * Thu Feb 18 2016 umeabot <umeabot> 1.6.0-2.mga6 + Revision: 966577 - Mageia 6 Mass Rebuild * Sat Jun 27 2015 sander85 <sander85> 1.6.0-1.mga6 + Revision: 845966 - update to 1.006 * Sun Oct 19 2014 umeabot <umeabot> 1.3.0-6.mga5 + Revision: 790342 - Rebuild to potentially add missing dependencies * Wed Oct 15 2014 umeabot <umeabot> 1.3.0-5.mga5 + Revision: 741125 - Second Mageia 5 Mass Rebuild - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 1.3.0-3.mga4 + Revision: 511007 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 1.3.0-2.mga3 + Revision: 366285 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jun 15 2011 jquelin <jquelin> 1.3.0-1.mga2 + Revision: 106864 - update to 1.003 * Sun Apr 03 2011 jquelin <jquelin> 1.2.0-1.mga1 + Revision: 80064 - update to 1.002 * Wed Jan 26 2011 jquelin <jquelin> 0.20.0-1.mga1 + Revision: 40487 - mageia rebuild - imported package perl-Dist-Zilla-Plugin-MinimumPerl