fix for 11.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Package-DeprecationManager?expand=0&rev=2
This commit is contained in:
parent
7bf9bc926d
commit
48c8d39361
17
perl-Package-DeprecationManager-remove_done_testing.patch
Normal file
17
perl-Package-DeprecationManager-remove_done_testing.patch
Normal 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();
|
||||||
|
+
|
@ -6,6 +6,7 @@ Version: 0.04
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Manage deprecation warnings for your distribution
|
Summary: Manage deprecation warnings for your distribution
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz
|
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/
|
URL: http://search.cpan.org/dist/Package-DeprecationManager/
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
License: Perl License
|
||||||
@ -25,6 +26,7 @@ This module allows you to manage a set of deprecations for one or more modules.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n "Package-DeprecationManager-%{version}"
|
%setup -q -n "Package-DeprecationManager-%{version}"
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||||
|
Loading…
Reference in New Issue
Block a user