From 0dec47ea8396468d0b53b880400da945be116aab564d4ba8100122f19a65070e Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 29 May 2012 12:30:21 +0000 Subject: [PATCH] - updated to 0.24 - compatibility with Carp 1.25 (RURBAN) - require Carp 1.22 - carped.t would better work on Windows OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Warn?expand=0&rev=19 --- Test-Warn-0.23.tar.gz | 3 --- Test-Warn-0.24.tar.gz | 3 +++ perl-Test-Warn.changes | 8 +++++++ perl-Test-Warn.spec | 53 ++++++++++++++++++------------------------ 4 files changed, 33 insertions(+), 34 deletions(-) delete mode 100644 Test-Warn-0.23.tar.gz create mode 100644 Test-Warn-0.24.tar.gz diff --git a/Test-Warn-0.23.tar.gz b/Test-Warn-0.23.tar.gz deleted file mode 100644 index 20b6970..0000000 --- a/Test-Warn-0.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c035679567d817e38979de9f071ea109c4bc76d85aee0db586a05ea2d3d0639c -size 11316 diff --git a/Test-Warn-0.24.tar.gz b/Test-Warn-0.24.tar.gz new file mode 100644 index 0000000..7c80003 --- /dev/null +++ b/Test-Warn-0.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4f6b60c158cb8405861ddd045247c31d75d8cd89cab77ef608f999a39ab218b +size 11804 diff --git a/perl-Test-Warn.changes b/perl-Test-Warn.changes index 7a62fb8..a106927 100644 --- a/perl-Test-Warn.changes +++ b/perl-Test-Warn.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 29 12:22:41 UTC 2012 - coolo@suse.com + +- updated to 0.24 + - compatibility with Carp 1.25 (RURBAN) + - require Carp 1.22 + - carped.t would better work on Windows + ------------------------------------------------------------------- Fri Nov 18 11:08:21 UTC 2011 - coolo@suse.com diff --git a/perl-Test-Warn.spec b/perl-Test-Warn.spec index 9981e0f..8d6ab65 100644 --- a/perl-Test-Warn.spec +++ b/perl-Test-Warn.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Warn # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -15,51 +15,45 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Test-Warn +Version: 0.24 +Release: 0 %define cpan_name Test-Warn Summary: Perl extension to test methods for warnings -Version: 0.23 -Release: 1 -License: Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Test-Warn -Source: %{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/Test-Warn/ +Source: http://www.cpan.org/authors/id/C/CH/CHORNY/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::Pod) >= 1.14 -BuildRequires: perl(Test::Builder::Tester) >= 1.02 -#BuildRequires: perl(Array::Compare) -#BuildRequires: perl(Test::Exception) -BuildRequires: perl(Test::Builder) >= 0.13 +BuildRequires: perl(Carp) >= 1.22 BuildRequires: perl(Sub::Uplevel) >= 0.12 -BuildRequires: perl(Tree::DAG_Node) -Requires: perl(Test::Builder) >= 0.13 +BuildRequires: perl(Tree::DAG_Node) >= 1.02 +#BuildRequires: perl(Test::Warn) +Requires: perl(Carp) >= 1.22 Requires: perl(Sub::Uplevel) >= 0.12 -Requires: perl(Tree::DAG_Node) -Provides: %{cpan_name} +Requires: perl(Tree::DAG_Node) >= 1.02 +%{perl_requires} %description -This module provides a few convenience methods for testing warning -based code. +A good style of Perl programming calls for a lot of diverse regression +tests. +This module provides a few convenience methods for testing warning based +code. - -Authors: --------- - Janek Schleicher, - Alexandr Ciornii, +If you are not already familiar with the Test::More manpage now would be +the time to go take a look. %prep %setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -%{__make} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check %{__make} test @@ -69,11 +63,8 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root) +%defattr(-,root,root,755) %doc Changes README %changelog