Pascal Bleser 2010-07-26 07:38:23 +00:00 committed by Git OBS Bridge
parent 7bf9bc926d
commit 48c8d39361
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,17 @@
--- t/basic.t.orig 2010-07-26 09:35:13.000000000 +0200
+++ t/basic.t 2010-07-26 09:35:51.000000000 +0200
@@ -2,7 +2,7 @@
use warnings;
use Test::Exception;
-use Test::More;
+use Test::More tests => 20;
use Test::Warn;
{
@@ -181,4 +181,4 @@
'no wanrning when calling My::Bar::foo()';
}
-done_testing();
+

View File

@ -6,6 +6,7 @@ Version: 0.04
Release: 0
Summary: Manage deprecation warnings for your distribution
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz
Patch1: perl-Package-DeprecationManager-remove_done_testing.patch
URL: http://search.cpan.org/dist/Package-DeprecationManager/
Group: Development/Libraries/Perl
License: Perl License
@ -25,6 +26,7 @@ This module allows you to manage a set of deprecations for one or more modules.
%prep
%setup -q -n "Package-DeprecationManager-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%patch1
%build
%__perl Makefile.PL PREFIX="%{_prefix}"