From 3725a9451729225b7b100241ea321b33d586223178403e0e2d596d987583d07f Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Wed, 20 Mar 2013 19:10:11 +0000 Subject: [PATCH] - remove Package-DeprecationManager-0.10-Build_n_Test.patch as it did not apply to newest version any more - use inline sed instead OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Package-DeprecationManager?expand=0&rev=19 --- ...DeprecationManager-0.10-Build_n_Test.patch | 24 ------------------- perl-Package-DeprecationManager.changes | 6 +++++ perl-Package-DeprecationManager.spec | 7 +++--- 3 files changed, 9 insertions(+), 28 deletions(-) delete mode 100644 Package-DeprecationManager-0.10-Build_n_Test.patch diff --git a/Package-DeprecationManager-0.10-Build_n_Test.patch b/Package-DeprecationManager-0.10-Build_n_Test.patch deleted file mode 100644 index 19d8368..0000000 --- a/Package-DeprecationManager-0.10-Build_n_Test.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ruN Package-DeprecationManager-0.10-orig/t/basic.t Package-DeprecationManager-0.10/t/basic.t ---- Package-DeprecationManager-0.10-orig/t/basic.t 2010-10-26 19:35:07.000000000 +0200 -+++ Package-DeprecationManager-0.10/t/basic.t 2010-11-11 20:37:51.000000000 +0100 -@@ -219,4 +219,4 @@ - 'no deprecation warning for second call to My::Package1::foo()'; - } - --done_testing(); -+#done_testing(); -diff -ruN Package-DeprecationManager-0.10-orig/t/compile.t Package-DeprecationManager-0.10/t/compile.t ---- Package-DeprecationManager-0.10-orig/t/compile.t 2010-10-26 19:35:07.000000000 +0200 -+++ Package-DeprecationManager-0.10/t/compile.t 2010-11-11 20:22:44.000000000 +0100 -@@ -1,9 +1,9 @@ - use strict; - use warnings; - --use Test::More; -+use Test::More qw(no_plan); - - eval "require Package::DeprecationManager"; - ok( ! $@, 'no errors loading require Package::DeprecationManager' ); - --done_testing(); -+#done_testing(); diff --git a/perl-Package-DeprecationManager.changes b/perl-Package-DeprecationManager.changes index d87b49a..9031d4d 100644 --- a/perl-Package-DeprecationManager.changes +++ b/perl-Package-DeprecationManager.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 20 19:09:01 UTC 2013 - lars@linux-schulserver.de + +- remove Package-DeprecationManager-0.10-Build_n_Test.patch as it + did not apply to newest version any more - use inline sed instead + ------------------------------------------------------------------- Tue May 29 13:46:21 UTC 2012 - coolo@suse.com diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec index b1b3ba0..12ac5a5 100644 --- a/perl-Package-DeprecationManager.spec +++ b/perl-Package-DeprecationManager.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Package-DeprecationManager # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,6 @@ Version: 0.13 Release: 0 Url: http://search.cpan.org/dist/Package-DeprecationManager/ Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz -Patch: %{cpan_name}-0.10-Build_n_Test.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} @@ -37,7 +36,7 @@ BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Output) => 0.16 %else -BuildRequires: perl(Test::More) +BuildRequires: perl(Test::More) >= 0.88 %endif BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 # @@ -57,7 +56,7 @@ more modules. %prep %setup -q -n %{cpan_name}-%{version} %if 0%{?suse_version} < 1130 -%patch -p1 +sed -i "s|use Test::More;|use Test::More qw(no_plan);|g" t/*.t %endif %build