[perl-Test-Fatal] Update to 0.004

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

 



commit ec3c903b605a4590fcfd0675f2a57d467e601b10
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Apr 26 16:28:53 2011 +0100

    Update to 0.004
    
    - New upstream release 0.04:
      - success blocks now allow trailing blocks like finally, catch, etc.
    - Remove remaining uses of macros for commands
    - Re-order %install section to conventional position in spec

 .gitignore                                         |    2 +-
 ...rsions.patch => Test-Fatal-0.004-versions.patch |   14 ++++----
 perl-Test-Fatal.spec                               |   30 ++++++++++++--------
 sources                                            |    2 +-
 4 files changed, 27 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fb72672..0480182 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Test-Fatal-0.003.tar.gz
+/Test-Fatal-0.004.tar.gz
diff --git a/Test-Fatal-0.003-versions.patch b/Test-Fatal-0.004-versions.patch
similarity index 75%
rename from Test-Fatal-0.003-versions.patch
rename to Test-Fatal-0.004-versions.patch
index cca72e4..16f09d5 100644
--- a/Test-Fatal-0.003-versions.patch
+++ b/Test-Fatal-0.004-versions.patch
@@ -1,8 +1,8 @@
 There's no need to be as strict about versions as this.
 
-diff -up Test-Fatal-0.003/lib/Test/Fatal.pm.orig Test-Fatal-0.003/lib/Test/Fatal.pm
---- Test-Fatal-0.003/lib/Test/Fatal.pm.orig	2010-10-29 03:11:02.000000000 +0100
-+++ Test-Fatal-0.003/lib/Test/Fatal.pm	2010-10-29 09:06:06.608473151 +0100
+diff -up Test-Fatal-0.004/lib/Test/Fatal.pm.orig Test-Fatal-0.004/lib/Test/Fatal.pm
+--- Test-Fatal-0.004/lib/Test/Fatal.pm.orig	2011-04-25 16:58:02.000000000 +0100
++++ Test-Fatal-0.004/lib/Test/Fatal.pm	2011-04-26 14:53:19.759806309 +0100
 @@ -10,7 +10,7 @@ BEGIN {
  use Carp ();
  use Try::Tiny 0.07;
@@ -12,9 +12,9 @@ diff -up Test-Fatal-0.003/lib/Test/Fatal.pm.orig Test-Fatal-0.003/lib/Test/Fatal
  
  our @EXPORT    = qw(exception);
  our @EXPORT_OK = qw(exception success);
-diff -up Test-Fatal-0.003/Makefile.PL.orig Test-Fatal-0.003/Makefile.PL
---- Test-Fatal-0.003/Makefile.PL.orig	2010-10-29 03:11:02.000000000 +0100
-+++ Test-Fatal-0.003/Makefile.PL	2010-10-29 09:07:28.605285870 +0100
+diff -up Test-Fatal-0.004/Makefile.PL.orig Test-Fatal-0.004/Makefile.PL
+--- Test-Fatal-0.004/Makefile.PL.orig	2011-04-25 16:58:02.000000000 +0100
++++ Test-Fatal-0.004/Makefile.PL	2011-04-26 14:54:06.471985150 +0100
 @@ -4,7 +4,7 @@ use warnings;
  
  
@@ -46,7 +46,7 @@ diff -up Test-Fatal-0.003/Makefile.PL.orig Test-Fatal-0.003/Makefile.PL
 +    'Exporter' => '5.57',
      'Try::Tiny' => '0.07'
    },
-   'VERSION' => '0.003',
+   'VERSION' => '0.004',
 @@ -50,6 +50,9 @@ unless ( eval { ExtUtils::MakeMaker->VER
  delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
    unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
diff --git a/perl-Test-Fatal.spec b/perl-Test-Fatal.spec
index b9f7545..bf5cc90 100644
--- a/perl-Test-Fatal.spec
+++ b/perl-Test-Fatal.spec
@@ -1,20 +1,20 @@
 Summary:	Incredibly simple helpers for testing code with exceptions 
 Name:		perl-Test-Fatal
-Version:	0.003
-Release:	2%{?dist}
+Version:	0.004
+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.003-versions.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:		Test-Fatal-0.004-versions.patch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 BuildRequires:	perl(Exporter) >= 5.57
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(Test::More)
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Try::Tiny) >= 0.07
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 Test::Fatal is an alternative to the popular Test::Exception. It does much
@@ -33,12 +33,6 @@ It exports one routine by default: exception.
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-%check
-make test RELEASE_TESTING=1
-
-%clean
-rm -rf %{buildroot}
-
 %install
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
@@ -46,6 +40,12 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 %{_fixperms} %{buildroot}
 
+%check
+make test RELEASE_TESTING=1
+
+%clean
+rm -rf %{buildroot}
+
 %files
 %defattr(-,root,root,-)
 %doc Changes LICENSE README
@@ -53,7 +53,13 @@ find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 %{_mandir}/man3/Test::Fatal.3pm*
 
 %changelog
-* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.003-2
+* Tue Apr 26 2011 Paul Howarth <paul@xxxxxxxxxxxx> 0.004-1
+- Update to 0.004
+  - success blocks now allow trailing blocks like finally, catch, etc.
+- Remove remaining uses of macros for commands
+- Re-order %%install section to conventional position in spec
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> 0.003-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Fri Oct 29 2010 Paul Howarth <paul@xxxxxxxxxxxx> 0.003-1
diff --git a/sources b/sources
index 506289f..bdc56bb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e73e90b65a5f07ff77f7e5f3bd336fcf  Test-Fatal-0.003.tar.gz
+aa4106ed8aaba14fb234d3f7d012f432  Test-Fatal-0.004.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