Update to 0.001009
- New upstream release 0.001009 - die if requested to export a symbol with a leading digit (CPAN RT#83491) - This release by FREW -> update source URL - Update old Test::More patch, and apply if we have Test::More < 0.88
This commit is contained in:
parent
08476c314e
commit
a5341ce231
@ -1,21 +1,21 @@
|
||||
--- Makefile.PL
|
||||
+++ Makefile.PL
|
||||
@@ -10,7 +10,7 @@ my %deps = (
|
||||
},
|
||||
);
|
||||
my $key = eval { ExtUtils::MakeMaker->VERSION(6.56) } ? 'BUILD_REQUIRES' : 'PREREQ_PM' ;
|
||||
-$deps{$key}{'Test::More'} = '0.96';
|
||||
+$deps{$key}{'Test::More'} = '0.47';
|
||||
@@ -6,7 +6,7 @@ use ExtUtils::MakeMaker;
|
||||
(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
|
||||
|
||||
WriteMakefile(
|
||||
NAME => 'Sub-Exporter-Progressive',
|
||||
my %BUILD_DEPS = (
|
||||
- 'Test::More' => '0.88'
|
||||
+ 'Test::More' => '0.47'
|
||||
);
|
||||
|
||||
my %RUN_DEPS = (
|
||||
--- t/all.t
|
||||
+++ t/all.t
|
||||
@@ -2,7 +2,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More 0.89;
|
||||
-use Test::More;
|
||||
+use Test::More tests => 6;
|
||||
use List::Util 'first';
|
||||
use lib 't/lib';
|
||||
@ -32,7 +32,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More 0.89;
|
||||
-use Test::More;
|
||||
+use Test::More tests => 2;
|
||||
use List::Util 'first';
|
||||
use lib 't/lib';
|
||||
@ -48,7 +48,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More 0.89;
|
||||
-use Test::More;
|
||||
+use Test::More tests => 2;
|
||||
use List::Util 'first';
|
||||
use lib 't/lib';
|
||||
@ -64,7 +64,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More 0.89;
|
||||
-use Test::More;
|
||||
+use Test::More tests => 2;
|
||||
BEGIN {
|
||||
plan skip_all => 'Sub::Exporter not installed'
|
||||
@ -81,24 +81,31 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More 0.96;
|
||||
-use Test::More;
|
||||
+use Test::More tests => 44;
|
||||
use List::Util 'first';
|
||||
use Carp;
|
||||
use lib 't/lib';
|
||||
@@ -38,9 +38,7 @@ sub check_tag
|
||||
{
|
||||
my ($tag, $should, $shouldnt) = @_;
|
||||
my $pkg = 'Local::Importer' . ++$i;
|
||||
- subtest "test the '$tag' tag" => sub
|
||||
{
|
||||
- plan tests => 1 + @$should + @$shouldnt;
|
||||
local $@ = undef;
|
||||
|
||||
ok(eval qq{
|
||||
@@ -65,5 +63,3 @@ check_tag('-bb', [qw/bar baz/], [qw/foo/
|
||||
@@ -58,5 +58,3 @@ check_tag('-bb', [qw/bar baz/], [qw/foo/
|
||||
check_tag(':all', [qw/foo bar baz/], []);
|
||||
check_tag('-all', [qw/foo bar baz/], []);
|
||||
|
||||
-done_testing;
|
||||
-
|
||||
--- t/version-check.t
|
||||
+++ t/version-check.t
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
-use Test::More;
|
||||
+use Test::More tests => 5;
|
||||
|
||||
BEGIN {
|
||||
package AAA;
|
||||
@@ -38,5 +38,3 @@
|
||||
);
|
||||
}
|
||||
|
||||
-done_testing;
|
||||
-
|
||||
@ -1,15 +1,15 @@
|
||||
# We need to patch the test suite if we have old versions of Test::More
|
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.96) ? 1 : 0);' 2>/dev/null || echo 0)
|
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
|
||||
|
||||
Name: perl-Sub-Exporter-Progressive
|
||||
Version: 0.001008
|
||||
Release: 2%{?dist}
|
||||
Version: 0.001009
|
||||
Release: 1%{?dist}
|
||||
Summary: Only use Sub::Exporter if you need it
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/Sub-Exporter-Progressive/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Sub-Exporter-Progressive-%{version}.tar.gz
|
||||
Patch1: Sub-Exporter-Progressive-0.001008-old-Test::More.patch
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Sub-Exporter-Progressive-%{version}.tar.gz
|
||||
Patch1: Sub-Exporter-Progressive-0.001009-old-Test::More.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
# =============== Module Build ======================
|
||||
@ -70,6 +70,12 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Sub::Exporter::Progressive.3pm*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 13 2013 Paul Howarth <paul@city-fan.org> - 0.001009-1
|
||||
- Update to 0.001009
|
||||
- die if requested to export a symbol with a leading digit (CPAN RT#83491)
|
||||
- This release by FREW -> update source URL
|
||||
- Update old Test::More patch, and apply if we have Test::More < 0.88
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001008-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user