Accepting request 177517 from devel:languages:perl
- updated to 0.32 Fixed tests that broke due to Test::More diagnostic changes (forwarded request 177489 from coolo) OBS-URL: https://build.opensuse.org/request/show/177517 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Exception?expand=0&rev=25
This commit is contained in:
commit
61660a7db3
@ -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
|
Mon Apr 15 10:37:49 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user