|
|
|
@ -1,30 +1,29 @@
|
|
|
|
|
Name: perl-Test-MinimumVersion
|
|
|
|
|
Version: 0.101080
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Version: 0.101081
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Check whether your code requires a newer perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Test-MinimumVersion/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-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(base)
|
|
|
|
|
BuildRequires: perl(CPAN::Meta)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
BuildRequires: perl(File::Find::Rule)
|
|
|
|
|
BuildRequires: perl(File::Find::Rule::Perl)
|
|
|
|
|
BuildRequires: perl(Perl::MinimumVersion) >= 1.20
|
|
|
|
|
BuildRequires: perl(Perl::MinimumVersion) >= 1.32
|
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
|
BuildRequires: perl(Test::Tester)
|
|
|
|
|
BuildRequires: perl(YAML::Tiny) >= 1.40
|
|
|
|
|
BuildRequires: perl(version) >= 0.70
|
|
|
|
|
|
|
|
|
|
# For improved tests
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Check whether your code requires a newer perl than you think.
|
|
|
|
@ -38,25 +37,26 @@ find -type f -exec chmod -x {} \;
|
|
|
|
|
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 RELEASE_TESTING=1
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes LICENSE
|
|
|
|
|
%{perl_vendorlib}/Test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jan 08 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.101081-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
- Modernize spec.
|
|
|
|
|
- Fix bogus changelog entry.
|
|
|
|
|
- Reflect upstream having abandoned RELEASE_TESTING.
|
|
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101080-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -105,7 +105,7 @@ make test RELEASE_TESTING=1
|
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.011-1
|
|
|
|
|
* Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.011-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.010-1
|
|
|
|
|