|
|
|
@ -1,19 +1,18 @@
|
|
|
|
|
Name: perl-Perl-MinimumVersion
|
|
|
|
|
Version: 1.26
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.28
|
|
|
|
|
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/A/AD/ADAMK/Perl-MinimumVersion-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(List::Util) >= 1.18
|
|
|
|
|
BuildRequires: perl(PPI) >= 1.205
|
|
|
|
|
BuildRequires: perl(Test::Script) >= 1.02
|
|
|
|
|
BuildRequires: perl(List::Util) >= 1.20
|
|
|
|
|
BuildRequires: perl(PPI) >= 1.215
|
|
|
|
|
BuildRequires: perl(Test::Script) >= 1.03
|
|
|
|
|
BuildRequires: perl(version) >= 0.76
|
|
|
|
|
BuildRequires: perl(File::Find::Rule) >= 0.32
|
|
|
|
|
BuildRequires: perl(File::Find::Rule::Perl) >= 1.04
|
|
|
|
@ -22,12 +21,6 @@ BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
|
BuildRequires: perl(Perl::Critic::Utils) >= 1.104
|
|
|
|
|
BuildRequires: perl(Params::Util) >= 0.25
|
|
|
|
|
|
|
|
|
|
# For improved tests
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.26
|
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
|
|
|
|
|
BuildRequires: perl(Pod::Simple) >= 3.07
|
|
|
|
|
BuildRequires: perl(Test::MinimumVersion) >= 0.008
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Find a minimum required version of perl for Perl code
|
|
|
|
|
|
|
|
|
@ -39,17 +32,13 @@ Find a minimum required version of perl for Perl code
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
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/*
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test AUTOMATED_TESTING=1
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
@ -60,6 +49,11 @@ make test AUTOMATED_TESTING=1
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 17 2011 Ralf Corsépius <ralf.corsepius@fedoraproject.org> - 1.28-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
- Remove maintainer test (Upstream doesn't want us to find his bugs).
|
|
|
|
|
- Update BR's.
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|