|
|
|
@ -1,34 +1,34 @@
|
|
|
|
|
Name: perl-Perl-MinimumVersion
|
|
|
|
|
Version: 1.32
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 1.35
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Find a minimum required version of perl for Perl code
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Perl-MinimumVersion/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Perl-MinimumVersion-%{version}.tar.gz
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Perl-MinimumVersion-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
|
|
|
|
|
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(PPIx::Regexp) >= 0.029
|
|
|
|
|
BuildRequires: perl(PPI::Util)
|
|
|
|
|
BuildRequires: perl(PPIx::Regexp) >= 0.033
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(version) >= 0.76
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
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(PPI::Util)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
|
BuildRequires: perl(Test::Script) >= 1.03
|
|
|
|
|
%endif
|
|
|
|
@ -46,8 +46,7 @@ make %{?_smp_mflags}
|
|
|
|
|
%install
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
@ -55,7 +54,6 @@ make test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes LICENSE
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{perl_vendorlib}/Perl
|
|
|
|
@ -63,6 +61,12 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed May 07 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.35-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
- Reflect upstream BR:-changes.
|
|
|
|
|
- Reflect Source0: having changed.
|
|
|
|
|
- Minor spec file modernization.
|
|
|
|
|
|
|
|
|
|
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.32-5
|
|
|
|
|
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|