From 5acdb04c8475240096690501e1112e1b2e7674e267a0be4ba19f498e9936da72 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 4 Jun 2013 15:31:34 +0000 Subject: [PATCH] Accepting request 177489 from home:coolo:update-perl - updated to 0.32 Fixed tests that broke due to Test::More diagnostic changes OBS-URL: https://build.opensuse.org/request/show/177489 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Exception?expand=0&rev=30 --- Test-Exception-0.31.tar.gz | 3 -- Test-Exception-0.32.tar.gz | 3 ++ perl-Test-Exception.changes | 6 ++++ perl-Test-Exception.spec | 59 ++++++++++++++++++------------------- 4 files changed, 38 insertions(+), 33 deletions(-) delete mode 100644 Test-Exception-0.31.tar.gz create mode 100644 Test-Exception-0.32.tar.gz diff --git a/Test-Exception-0.31.tar.gz b/Test-Exception-0.31.tar.gz deleted file mode 100644 index 256b1b3..0000000 --- a/Test-Exception-0.31.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a828b70109e5c30457b079e48974f4621d3af4e85ba6475476400f05835cdd3 -size 17634 diff --git a/Test-Exception-0.32.tar.gz b/Test-Exception-0.32.tar.gz new file mode 100644 index 0000000..dfb0d59 --- /dev/null +++ b/Test-Exception-0.32.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba4427e6004797ece8dce93c61d1d6c82df891b0f017e7d4a5c2505fa05c5a47 +size 18131 diff --git a/perl-Test-Exception.changes b/perl-Test-Exception.changes index 90a7664..8eb91e5 100644 --- a/perl-Test-Exception.changes +++ b/perl-Test-Exception.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 4 15:03:12 UTC 2013 - coolo@suse.com + +- updated to 0.32 + Fixed tests that broke due to Test::More diagnostic changes + ------------------------------------------------------------------- Mon Apr 15 10:37:49 UTC 2013 - idonmez@suse.com diff --git a/perl-Test-Exception.spec b/perl-Test-Exception.spec index 365d613..20f3aa6 100644 --- a/perl-Test-Exception.spec +++ b/perl-Test-Exception.spec @@ -17,59 +17,58 @@ Name: perl-Test-Exception -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) -Summary: Test::Exception - Test exception based code -License: Artistic-1.0 -Group: Development/Libraries/Perl -Version: 0.31 +Version: 0.32 Release: 0 -Url: http://search.cpan.org/dist/Test-Exception -Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz +%define cpan_name Test-Exception +Summary: Test exception based code +License: Artistic-1.0 or GPL-1.0+ +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Test-Exception/ +Source: http://www.cpan.org/authors/id/A/AD/ADIE/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Module::Build) >= 0.38 BuildRequires: perl(Sub::Uplevel) >= 0.18 -BuildRequires: perl(Test::Builder) -BuildRequires: perl(Test::Builder::Tester) -BuildRequires: perl(Test::Harness) >= 2.03 +BuildRequires: perl(Test::Builder) >= 0.7 +BuildRequires: perl(Test::Builder::Tester) >= 1.07 BuildRequires: perl(Test::More) >= 0.7 -BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Simple) >= 0.7 +#BuildRequires: perl(Local::Error::Simple) +#BuildRequires: perl(Test::Exception) Requires: perl(Sub::Uplevel) >= 0.18 -Requires: perl(Test::Builder) +Requires: perl(Test::Builder) >= 0.7 +Requires: perl(Test::Builder::Tester) >= 1.07 Requires: perl(Test::More) >= 0.7 +Requires: perl(Test::Simple) >= 0.7 +%{perl_requires} %description -This module provides a few convenience methods for testing exception -based code. It is built with Test::Builder and plays happily with -Test::More and friends. +This module provides a few convenience methods for testing exception based +code. It is built with the Test::Builder manpage and plays happily with the +Test::More manpage and friends. -Authors: --------- - Adrian Howard +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} -echo "perlVersion: "%{perl_version} +find . -type f -print0 | xargs -0 chmod 644 %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -%{__make} %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(0644,root,root,0755) -%doc Changes README +%defattr(-,root,root,755) +%doc Changes README xt %changelog