[perl-Test-Fatal] Update to 0.006

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

 



commit f2c0251ccb16d3000efc66194fc229aa50d09f0b
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Thu Jun 2 10:21:36 2011 +0100

    Update to 0.006
    
    - New upstream release 0.006:
      - Crank back the Test::More and Exporter requirements (CPAN RT#62699)
      - Add lives_ok and dies_ok emulation (CPAN RT#67598)
    - Versions patch replaced by workaround for old ExtUtils::MakeMaker
    - BR: perl(Test::Builder::Tester)

 .gitignore                        |    2 +-
 Test-Fatal-0.005-versions.patch   |   57 -------------------------------------
 Test-Fatal-0.006-old-EU::MM.patch |   30 +++++++++++++++++++
 perl-Test-Fatal.spec              |   18 ++++++++---
 sources                           |    2 +-
 5 files changed, 45 insertions(+), 64 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 26854cc..b3c0991 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Test-Fatal-0.005.tar.gz
+/Test-Fatal-[0-9.]*.tar.gz
diff --git a/Test-Fatal-0.006-old-EU::MM.patch b/Test-Fatal-0.006-old-EU::MM.patch
new file mode 100644
index 0000000..b040df5
--- /dev/null
+++ b/Test-Fatal-0.006-old-EU::MM.patch
@@ -0,0 +1,30 @@
+--- Test-Fatal/Makefile.PL
++++ Test-Fatal/Makefile.PL
+@@ -4,7 +4,7 @@
+ 
+ 
+ 
+-use ExtUtils::MakeMaker 6.30;
++use ExtUtils::MakeMaker;
+ 
+ 
+ 
+@@ -17,7 +17,7 @@
+     'overload' => '0'
+   },
+   'CONFIGURE_REQUIRES' => {
+-    'ExtUtils::MakeMaker' => '6.30'
++    'ExtUtils::MakeMaker' => '0'
+   },
+   'DISTNAME' => 'Test-Fatal',
+   'EXE_FILES' => [],
+@@ -52,6 +52,9 @@
+ delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+   unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+ 
++delete $WriteMakefileArgs{LICENSE}
++  unless eval { ExtUtils::MakeMaker->VERSION(6.31) };
++
+ WriteMakefile(%WriteMakefileArgs);
+ 
+ 
diff --git a/perl-Test-Fatal.spec b/perl-Test-Fatal.spec
index 3484e13..1419b0b 100644
--- a/perl-Test-Fatal.spec
+++ b/perl-Test-Fatal.spec
@@ -1,16 +1,17 @@
 Summary:	Incredibly simple helpers for testing code with exceptions 
 Name:		perl-Test-Fatal
-Version:	0.005
+Version:	0.006
 Release:	1%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Test-Fatal/
 Source0:	http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-%{version}.tar.gz
-Patch0:		Test-Fatal-0.005-versions.patch
+Patch0:		Test-Fatal-0.006-old-EU::MM.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 BuildRequires:	perl(Exporter) >= 5.57
 BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Test::Builder::Tester)
 BuildRequires:	perl(Test::More)
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Try::Tiny) >= 0.07
@@ -21,13 +22,13 @@ Test::Fatal is an alternative to the popular Test::Exception. It does much
 less, but should allow greater flexibility in testing exception-throwing code
 with about the same amount of typing.
 
-It exports one routine by default: exception.
-
 %prep
 %setup -q -n Test-Fatal-%{version}
 
-# No need to have bleeding edge versions of modules really
+# We don't really need ExtUtils::MakeMaker â 6.30
+%if "%{?rhel}" == "4"
 %patch0 -p1
+%endif
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -53,6 +54,13 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Test::Fatal.3pm*
 
 %changelog
+* Thu Jun  2 2011 Paul Howarth <paul@xxxxxxxxxxxx> 0.006-1
+- Update to 0.006
+  - Crank back the Test::More and Exporter requirements (CPAN RT#62699)
+  - Add lives_ok and dies_ok emulation (CPAN RT#67598)
+- Versions patch replaced by workaround for old ExtUtils::MakeMaker
+- BR: perl(Test::Builder::Tester)
+
 * Tue Apr 26 2011 Paul Howarth <paul@xxxxxxxxxxxx> 0.005-1
 - Update to 0.005
   - Fix the logic that picks tests for 5.13.1+
diff --git a/sources b/sources
index f8918a0..bbb6fdd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8fd91391e82ea4290eb0cf8409393485  Test-Fatal-0.005.tar.gz
+a984aa4d4088892c0454cbfce35e54d9  Test-Fatal-0.006.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