- updated to 0.10, as 0.04 was too old for perl-Moose 0.19
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Package-DeprecationManager?expand=0&rev=5
This commit is contained in:
parent
6c7041163a
commit
325d584a67
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fa27d9d8dbb529371389089217c0139d9757c006f5a0711d8bde229b7863d3d4
|
||||
size 10480
|
3
Package-DeprecationManager-0.10.tar.bz2
Normal file
3
Package-DeprecationManager-0.10.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce1a0152e5b5f035454a5a5feefeacb9d7fc8ddd2afea29432bb7bd72a9eda3d
|
||||
size 10760
|
@ -1,17 +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 @@
|
||||
--- Package-DeprecationManager-0.10/t/basic.t.orig 2010-10-26 19:35:07.000000000 +0200
|
||||
+++ Package-DeprecationManager-0.10/t/basic.t 2010-11-02 20:21:09.714596000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use Test::Exception;
|
||||
-use Test::More;
|
||||
+use Test::More tests => 20;
|
||||
use Test::Warn;
|
||||
+use Test::More tests => 25;
|
||||
use Test::Fatal;
|
||||
|
||||
{
|
||||
@@ -181,4 +181,4 @@
|
||||
'no wanrning when calling My::Bar::foo()';
|
||||
use Test::Requires {
|
||||
@@ -219,4 +219,4 @@ use Test::Requires {
|
||||
'no deprecation warning for second call to My::Package1::foo()';
|
||||
}
|
||||
|
||||
-done_testing();
|
||||
+
|
||||
+# done_testing();
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 2 19:27:21 UTC 2010 - jw@novell.com
|
||||
|
||||
- updated to 0.10, as 0.04 was too old for perl-Moose 0.19
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 26 07:32:11 UTC 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
|
@ -2,10 +2,10 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-Package-DeprecationManager
|
||||
Version: 0.04
|
||||
Version: 0.10
|
||||
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
|
||||
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.bz2
|
||||
Patch1: perl-Package-DeprecationManager-remove_done_testing.patch
|
||||
URL: http://search.cpan.org/dist/Package-DeprecationManager/
|
||||
Group: Development/Libraries/Perl
|
||||
@ -14,12 +14,17 @@ BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: make perl
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::Requires)
|
||||
BuildRequires: perl(Test::Output)
|
||||
BuildRequires: perl(Params::Util)
|
||||
BuildRequires: perl(List::MoreUtils)
|
||||
BuildRequires: perl(Sub::Install)
|
||||
BuildRequires: perl(Test::Warn)
|
||||
%if 0%{?suse_version} < 1110
|
||||
BuildRequires: perl-ExtUtils-MakeMaker
|
||||
%endif
|
||||
Requires: perl(List::MoreUtils)
|
||||
Requires: perl(Params::Util)
|
||||
Requires: perl(Sub::Install)
|
||||
|
||||
@ -29,7 +34,8 @@ 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
|
||||
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
|
Loading…
Reference in New Issue
Block a user