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
This commit is contained in:
Stephan Kulow 2013-06-04 15:31:34 +00:00 committed by Git OBS Bridge
parent 8e9a1b1004
commit 5acdb04c84
4 changed files with 38 additions and 33 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a828b70109e5c30457b079e48974f4621d3af4e85ba6475476400f05835cdd3
size 17634

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba4427e6004797ece8dce93c61d1d6c82df891b0f017e7d4a5c2505fa05c5a47
size 18131

View File

@ -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 Mon Apr 15 10:37:49 UTC 2013 - idonmez@suse.com

View File

@ -17,59 +17,58 @@
Name: perl-Test-Exception Name: perl-Test-Exception
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Version: 0.32
Summary: Test::Exception - Test exception based code
License: Artistic-1.0
Group: Development/Libraries/Perl
Version: 0.31
Release: 0 Release: 0
Url: http://search.cpan.org/dist/Test-Exception %define cpan_name Test-Exception
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.38
BuildRequires: perl(Sub::Uplevel) >= 0.18 BuildRequires: perl(Sub::Uplevel) >= 0.18
BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder) >= 0.7
BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::Builder::Tester) >= 1.07
BuildRequires: perl(Test::Harness) >= 2.03
BuildRequires: perl(Test::More) >= 0.7 BuildRequires: perl(Test::More) >= 0.7
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Simple) >= 0.7 BuildRequires: perl(Test::Simple) >= 0.7
#BuildRequires: perl(Local::Error::Simple)
#BuildRequires: perl(Test::Exception)
Requires: perl(Sub::Uplevel) >= 0.18 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::More) >= 0.7
Requires: perl(Test::Simple) >= 0.7
%{perl_requires}
%description %description
This module provides a few convenience methods for testing exception This module provides a few convenience methods for testing exception based
based code. It is built with Test::Builder and plays happily with code. It is built with the Test::Builder manpage and plays happily with the
Test::More and friends. Test::More manpage and friends.
Authors: If you are not already familiar with the Test::More manpage now would be
-------- the time to go take a look.
Adrian Howard <adrianh@quietstars.com>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
echo "perlVersion: "%{perl_version} find . -type f -print0 | xargs -0 chmod 644
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Build.PL installdirs=vendor
%{__make} %{?_smp_mflags} ./Build build flags=%{?_smp_mflags}
%check %check
%{__make} test ./Build test
%install %install
%perl_make_install ./Build install destdir=%{buildroot} create_packlist=0
%perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(0644,root,root,0755) %defattr(-,root,root,755)
%doc Changes README %doc Changes README xt
%changelog %changelog