[perl-Package-DeprecationManager] Update to 0.08

Paul Howarth pghmcfc at fedoraproject.org
Sat Oct 16 08:54:23 UTC 2010


commit 658eaa225841ed866ed42c7a8cc80084f76b9fc9
Author: Paul Howarth <paul at city-fan.org>
Date:   Sat Oct 16 09:53:10 2010 +0100

    Update to 0.08
    
    - New upstream release 0.08:
      - The use of regular expressions in ignores didn't really work in 0.06
      - Added missing deps on List::MoreUtils and Test::Requires
      - Replaced Test::Warn with Test::Output in the tests
      - Made the tests actually test what they should be testing
    - BR: Test::Output rather than Test::Warn
    - Update patches

 .gitignore                                         |    2 +-
 ...DeprecationManager-0.06-no-Test::Requires.patch |   16 ----------------
 ...ge-DeprecationManager-0.06-old-Test::More.patch |   17 -----------------
 ...DeprecationManager-0.08-no-Test::Requires.patch |   16 ++++++++++++++++
 ...ackage-DeprecationManager-0.08-old-EU::MM.patch |   10 +++++-----
 ...ge-DeprecationManager-0.08-old-Test::More.patch |   17 +++++++++++++++++
 perl-Package-DeprecationManager.spec               |   19 ++++++++++++++-----
 sources                                            |    2 +-
 8 files changed, 54 insertions(+), 45 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 47b6fba..e1ec1ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Package-DeprecationManager-0.06.tar.gz
+/Package-DeprecationManager-0.08.tar.gz
diff --git a/Package-DeprecationManager-0.08-no-Test::Requires.patch b/Package-DeprecationManager-0.08-no-Test::Requires.patch
new file mode 100644
index 0000000..840a410
--- /dev/null
+++ b/Package-DeprecationManager-0.08-no-Test::Requires.patch
@@ -0,0 +1,16 @@
+--- Package-DeprecationManager-0.08/t/basic.t	2010-10-15 21:09:58.000000000 +0100
++++ Package-DeprecationManager-0.08/t/basic.t	2010-10-15 21:10:50.632225765 +0100
+@@ -4,9 +4,10 @@ use warnings;
+ use Test::Exception;
+ use Test::More;
+ 
+-use Test::Requires {
+-    'Test::Output' => '0.16',
+-};
++BEGIN {
++    eval "use Test::Output 0.16;";
++    plan skip_all => "Test::Output 0.16 is required for this test" if $@;
++}
+ 
+ plan tests => 25;
+ 
diff --git a/Package-DeprecationManager-0.06-old-EU::MM.patch b/Package-DeprecationManager-0.08-old-EU::MM.patch
similarity index 63%
rename from Package-DeprecationManager-0.06-old-EU::MM.patch
rename to Package-DeprecationManager-0.08-old-EU::MM.patch
index 6fb8b00..711a083 100644
--- a/Package-DeprecationManager-0.06-old-EU::MM.patch
+++ b/Package-DeprecationManager-0.08-old-EU::MM.patch
@@ -1,5 +1,5 @@
---- Package-DeprecationManager-0.06/Makefile.PL	2010-10-14 20:49:26.000000000 +0100
-+++ Package-DeprecationManager-0.06/Makefile.PL	2010-10-15 08:53:12.176176856 +0100
+--- Package-DeprecationManager-0.08/Makefile.PL	2010-10-15 17:39:30.000000000 +0100
++++ Package-DeprecationManager-0.08/Makefile.PL	2010-10-15 21:04:14.211191379 +0100
 @@ -4,7 +4,7 @@ use warnings;
  
  
@@ -9,8 +9,8 @@
  
  
  
-@@ -16,7 +16,7 @@ my %WriteMakefileArgs = (
-     'Test::More' => '0.88'
+@@ -17,7 +17,7 @@ my %WriteMakefileArgs = (
+     'Test::Requires' => '0'
    },
    'CONFIGURE_REQUIRES' => {
 -    'ExtUtils::MakeMaker' => '6.31'
@@ -18,7 +18,7 @@
    },
    'DISTNAME' => 'Package-DeprecationManager',
    'EXE_FILES' => [],
-@@ -50,6 +50,9 @@ unless ( eval { ExtUtils::MakeMaker->VER
+@@ -52,6 +52,9 @@ unless ( eval { ExtUtils::MakeMaker->VER
  delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
    unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
  
diff --git a/Package-DeprecationManager-0.08-old-Test::More.patch b/Package-DeprecationManager-0.08-old-Test::More.patch
new file mode 100644
index 0000000..6a3de23
--- /dev/null
+++ b/Package-DeprecationManager-0.08-old-Test::More.patch
@@ -0,0 +1,17 @@
+--- Package-DeprecationManager-0.08/t/basic.t	2010-10-15 17:39:30.000000000 +0100
++++ Package-DeprecationManager-0.08/t/basic.t	2010-10-15 21:08:31.669098682 +0100
+@@ -8,6 +8,8 @@ use Test::Requires {
+     'Test::Output' => '0.16',
+ };
+ 
++plan tests => 25;
++
+ {
+     throws_ok {
+         eval 'package Foo; use Package::DeprecationManager;';
+@@ -216,5 +218,3 @@ use Test::Requires {
+         q{},
+         'no deprecation warning for second call to My::Package1::foo()';
+ }
+-
+-done_testing();
diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec
index ea20bae..7bd2bd4 100644
--- a/perl-Package-DeprecationManager.spec
+++ b/perl-Package-DeprecationManager.spec
@@ -8,16 +8,16 @@
 %global extra_tests_available %(expr 0%{?fedora} + 0%{?rhel} '>' 5)
 
 Name:		perl-Package-DeprecationManager
-Version:	0.06
+Version:	0.08
 Release:	1%{?dist}
 Summary:	Manage deprecation warnings for your distribution
 Group:		Development/Libraries
 License:	Artistic 2.0
 URL:		http://search.cpan.org/dist/Package-DeprecationManager/
 Source0:	http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz
-Patch0:		Package-DeprecationManager-0.06-old-EU::MM.patch
-Patch1:		Package-DeprecationManager-0.06-old-Test::More.patch
-Patch2:		Package-DeprecationManager-0.06-no-Test::Requires.patch
+Patch0:		Package-DeprecationManager-0.08-old-EU::MM.patch
+Patch1:		Package-DeprecationManager-0.08-old-Test::More.patch
+Patch2:		Package-DeprecationManager-0.08-no-Test::Requires.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
 BuildRequires:	perl(Carp)
@@ -28,9 +28,9 @@ BuildRequires:	perl(Test::EOL)
 BuildRequires:	perl(Test::Exception)
 BuildRequires:	perl(Test::More)
 BuildRequires:	perl(Test::NoTabs)
+BuildRequires:	perl(Test::Output)
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
-BuildRequires:	perl(Test::Warn)
 # Pod::Coverage::TrustPod not yet in EPEL
 %if 0%{?fedora}
 BuildRequires:	perl(Pod::Coverage::TrustPod)
@@ -90,6 +90,15 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Package::DeprecationManager.3pm*
 
 %changelog
+* Fri Oct 15 2010 Paul Howarth <paul at city-fan.org> - 0.08-1
+- Update to 0.08:
+  - The use of regular expressions in ignores didn't really work in 0.06
+  - Added missing deps on List::MoreUtils and Test::Requires
+  - Replaced Test::Warn with Test::Output in the tests
+  - Made the tests actually test what they should be testing
+- BR: Test::Output rather than Test::Warn
+- Update patches
+
 * Fri Oct 15 2010 Paul Howarth <paul at city-fan.org> - 0.06-1
 - Update to 0.06:
   - Removed hard dep on Test::Warn for the benefit of Moose
diff --git a/sources b/sources
index f073398..c361b66 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7523d8acf3aebad186cea0969dbd8844  Package-DeprecationManager-0.06.tar.gz
+b7b43011968fedc2e05bcba38d9d15e6  Package-DeprecationManager-0.08.tar.gz


More information about the scm-commits mailing list