[perl-Sub-Exporter-Progressive] Update to 0.001009

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit a5341ce23101ebe7d14ada4e3265eb124d4cbdc2
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Thu Mar 14 00:27:49 2013 +0000

    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

 ...orter-Progressive-0.001009-old-Test::More.patch |   53 +++++++++++---------
 perl-Sub-Exporter-Progressive.spec                 |   16 ++++--
 sources                                            |    2 +-
 3 files changed, 42 insertions(+), 29 deletions(-)
---
diff --git a/Sub-Exporter-Progressive-0.001008-old-Test::More.patch b/Sub-Exporter-Progressive-0.001009-old-Test::More.patch
similarity index 71%
rename from Sub-Exporter-Progressive-0.001008-old-Test::More.patch
rename to Sub-Exporter-Progressive-0.001009-old-Test::More.patch
index 5692b7e..6564a19 100644
--- a/Sub-Exporter-Progressive-0.001008-old-Test::More.patch
+++ b/Sub-Exporter-Progressive-0.001009-old-Test::More.patch
@@ -1,21 +1,21 @@
 --- Makefile.PL
 +++ Makefile.PL
-@@ -10,7 +10,7 @@ my %deps = (
- 	},
+@@ -6,7 +6,7 @@ use ExtUtils::MakeMaker;
+ (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+ 
+ my %BUILD_DEPS = (
+-  'Test::More' => '0.88'
++  'Test::More' => '0.47'
  );
- my $key = eval { ExtUtils::MakeMaker->VERSION(6.56) } ? 'BUILD_REQUIRES' : 'PREREQ_PM' ;
--$deps{$key}{'Test::More'} = '0.96';
-+$deps{$key}{'Test::More'} = '0.47';
  
- WriteMakefile(
-   NAME => 'Sub-Exporter-Progressive',
+ 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;
+-
diff --git a/perl-Sub-Exporter-Progressive.spec b/perl-Sub-Exporter-Progressive.spec
index 2eedaad..41d0381 100644
--- a/perl-Sub-Exporter-Progressive.spec
+++ b/perl-Sub-Exporter-Progressive.spec
@@ -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@xxxxxxxxxxxx> - 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@xxxxxxxxxxxxxxxxxxxxxxx> - 0.001008-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 3c40eb9..d15bb37 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d80a27859c13d471019c75494409282e  Sub-Exporter-Progressive-0.001008.tar.gz
+35b8b1e35284808a4539d6ccec0b49ca  Sub-Exporter-Progressive-0.001009.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux