[perl-Package-DeprecationManager] Update to 0.09

Paul Howarth pghmcfc at fedoraproject.org
Mon Oct 18 12:29:37 UTC 2010


commit f5873d8e9b2967d0b08f0e019da53a1038b1860d
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Oct 18 13:28:34 2010 +0100

    Update to 0.09
    
    - New upstream release 0.09:
      - Added a compilation test
    - Updated patch for old Test::More versions

 .gitignore                                         |    2 +-
 ...ge-DeprecationManager-0.08-old-Test::More.patch |   17 -----------
 ...ge-DeprecationManager-0.09-old-Test::More.patch |   30 ++++++++++++++++++++
 perl-Package-DeprecationManager.spec               |    8 ++++-
 sources                                            |    2 +-
 5 files changed, 38 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e1ec1ab..6378ae6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Package-DeprecationManager-0.08.tar.gz
+/Package-DeprecationManager-0.09.tar.gz
diff --git a/Package-DeprecationManager-0.09-old-Test::More.patch b/Package-DeprecationManager-0.09-old-Test::More.patch
new file mode 100644
index 0000000..98d1a01
--- /dev/null
+++ b/Package-DeprecationManager-0.09-old-Test::More.patch
@@ -0,0 +1,30 @@
+--- Package-DeprecationManager-0.09/t/basic.t	2010-10-17 21:08:57.000000000 +0100
++++ Package-DeprecationManager-0.09/t/basic.t	2010-10-18 11:06:20.627170768 +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();
+--- Package-DeprecationManager-0.09/t/compile.t	2010-10-17 21:08:57.000000000 +0100
++++ Package-DeprecationManager-0.09/t/compile.t	2010-10-18 11:07:01.795223136 +0100
+@@ -1,9 +1,7 @@
+ use strict;
+ use warnings;
+ 
+-use Test::More;
++use Test::More tests => 1;
+ 
+ eval "require Package::DeprecationManager";
+ ok( ! $@, 'no errors loading require Package::DeprecationManager' );
+-
+-done_testing();
diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec
index 7bd2bd4..c01b325 100644
--- a/perl-Package-DeprecationManager.spec
+++ b/perl-Package-DeprecationManager.spec
@@ -8,7 +8,7 @@
 %global extra_tests_available %(expr 0%{?fedora} + 0%{?rhel} '>' 5)
 
 Name:		perl-Package-DeprecationManager
-Version:	0.08
+Version:	0.09
 Release:	1%{?dist}
 Summary:	Manage deprecation warnings for your distribution
 Group:		Development/Libraries
@@ -16,7 +16,7 @@ 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.08-old-EU::MM.patch
-Patch1:		Package-DeprecationManager-0.08-old-Test::More.patch
+Patch1:		Package-DeprecationManager-0.09-old-Test::More.patch
 Patch2:		Package-DeprecationManager-0.08-no-Test::Requires.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
@@ -90,6 +90,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Package::DeprecationManager.3pm*
 
 %changelog
+* Mon Oct 18 2010 Paul Howarth <paul at city-fan.org> - 0.09-1
+- Update to 0.09:
+  - Added a compilation test
+
 * 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
diff --git a/sources b/sources
index c361b66..f3c5620 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b7b43011968fedc2e05bcba38d9d15e6  Package-DeprecationManager-0.08.tar.gz
+2536b5f09d48d9e5350cbae2d6e76645  Package-DeprecationManager-0.09.tar.gz


More information about the scm-commits mailing list