Update to 0.09

- New upstream release 0.09:
  - Added a compilation test
- Updated patch for old Test::More versions
epel9
Paul Howarth 14 years ago
parent 658eaa2258
commit f5873d8e9b

2
.gitignore vendored

@ -1 +1 @@
/Package-DeprecationManager-0.08.tar.gz
/Package-DeprecationManager-0.09.tar.gz

@ -1,17 +0,0 @@
--- 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();

@ -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();

@ -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@city-fan.org> - 0.09-1
- Update to 0.09:
- Added a compilation test
* Fri Oct 15 2010 Paul Howarth <paul@city-fan.org> - 0.08-1
- Update to 0.08:
- The use of regular expressions in ignores didn't really work in 0.06

@ -1 +1 @@
b7b43011968fedc2e05bcba38d9d15e6 Package-DeprecationManager-0.08.tar.gz
2536b5f09d48d9e5350cbae2d6e76645 Package-DeprecationManager-0.09.tar.gz

Loading…
Cancel
Save