- 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
This commit is contained in:
parent
1026950e3d
commit
0dec47ea83
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c035679567d817e38979de9f071ea109c4bc76d85aee0db586a05ea2d3d0639c
|
|
||||||
size 11316
|
|
3
Test-Warn-0.24.tar.gz
Normal file
3
Test-Warn-0.24.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b4f6b60c158cb8405861ddd045247c31d75d8cd89cab77ef608f999a39ab218b
|
||||||
|
size 11804
|
@ -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
|
Fri Nov 18 11:08:21 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Test-Warn
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,51 +15,45 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Test-Warn
|
Name: perl-Test-Warn
|
||||||
|
Version: 0.24
|
||||||
|
Release: 0
|
||||||
%define cpan_name Test-Warn
|
%define cpan_name Test-Warn
|
||||||
Summary: Perl extension to test methods for warnings
|
Summary: Perl extension to test methods for warnings
|
||||||
Version: 0.23
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Release: 1
|
|
||||||
License: Artistic-1.0
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Test-Warn
|
Url: http://search.cpan.org/dist/Test-Warn/
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/C/CH/CHORNY/%{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(Test::Pod) >= 1.14
|
BuildRequires: perl(Carp) >= 1.22
|
||||||
BuildRequires: perl(Test::Builder::Tester) >= 1.02
|
|
||||||
#BuildRequires: perl(Array::Compare)
|
|
||||||
#BuildRequires: perl(Test::Exception)
|
|
||||||
BuildRequires: perl(Test::Builder) >= 0.13
|
|
||||||
BuildRequires: perl(Sub::Uplevel) >= 0.12
|
BuildRequires: perl(Sub::Uplevel) >= 0.12
|
||||||
BuildRequires: perl(Tree::DAG_Node)
|
BuildRequires: perl(Tree::DAG_Node) >= 1.02
|
||||||
Requires: perl(Test::Builder) >= 0.13
|
#BuildRequires: perl(Test::Warn)
|
||||||
|
Requires: perl(Carp) >= 1.22
|
||||||
Requires: perl(Sub::Uplevel) >= 0.12
|
Requires: perl(Sub::Uplevel) >= 0.12
|
||||||
Requires: perl(Tree::DAG_Node)
|
Requires: perl(Tree::DAG_Node) >= 1.02
|
||||||
Provides: %{cpan_name}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides a few convenience methods for testing warning
|
A good style of Perl programming calls for a lot of diverse regression
|
||||||
based code.
|
tests.
|
||||||
|
|
||||||
|
This module provides a few convenience methods for testing warning based
|
||||||
|
code.
|
||||||
|
|
||||||
|
If you are not already familiar with the Test::More manpage now would be
|
||||||
Authors:
|
the time to go take a look.
|
||||||
--------
|
|
||||||
Janek Schleicher, <bigj AT kamelfreund.de>
|
|
||||||
Alexandr Ciornii, <alexchorny'.'@gmail.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
%{__make} test
|
||||||
@ -69,11 +63,8 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user