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:
parent
8e9a1b1004
commit
5acdb04c84
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a828b70109e5c30457b079e48974f4621d3af4e85ba6475476400f05835cdd3
|
||||
size 17634
|
3
Test-Exception-0.32.tar.gz
Normal file
3
Test-Exception-0.32.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ba4427e6004797ece8dce93c61d1d6c82df891b0f017e7d4a5c2505fa05c5a47
|
||||
size 18131
|
@ -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
|
||||
|
||||
|
@ -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 <adrianh@quietstars.com>
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user