Accepting request 28342 from devel:languages:perl

Copy from devel:languages:perl/perl-Test-Warn based on submit request 28342 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Warn?expand=0&rev=5
This commit is contained in:
OBS User autobuild 2010-01-09 10:51:26 +00:00 committed by Git OBS Bridge
parent ec60eeae62
commit fe4a6f9f24
4 changed files with 64 additions and 36 deletions

View File

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

3
Test-Warn-0.21.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Fri Dec 11 15:27:26 UTC 2009 - chris@computersalat.de
- update to version 0.21
* rename internal package Tree::MyDAG_Node with Test::Warn::DAG_Node_Tree
- 0.20 Aug 29 2009
* fix warning_exists.t for perl 5.6.2
* warnings_exists was renamed to warnings_exist
* compatibility layer in Makefile.PL
- 0.11_02 Jun 16 2009
* carped.t will work on VMS (RT#39579)
* fix warning_exists.t for perl 5.10
* warning_exists was renamed to warnings_exists
- 0.11_01 Jun 14 2009
* small changes
* MIN_PERL_VERSION in Makefile.PL
* Array::Compare is not needed
* allow files with spaces in path (RT#21545 by frew )
* Test::Exception is also not needed
* warning_exists added
- cleanup spec
* sort tags
* fixed build-/deps
o removed perl-Array-Compare
o removed perl-Test-Exception
* added author
- added perl-macros
* perl_gen_filelist
-------------------------------------------------------------------
Fri Jul 25 15:18:50 CEST 2008 - anicka@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Warn (Version 0.11)
# spec file for package perl-Test-Warn (Version 0.21)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,18 +19,29 @@
Name: perl-Test-Warn
Version: 0.11
Release: 20
Requires: perl = %{perl_version}
Requires: perl-Array-Compare perl-Tree-DAG_Node perl-Test-Exception
BuildRequires: perl-Array-Compare perl-Test-Exception perl-Tree-DAG_Node
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License
Url: http://cpan.org/modules/by-module/Test/
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl extension to test methods for warnings
Source: Test-Warn-%{version}.tar.bz2
Version: 0.21
Release: 1
License: Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Warn
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Pod) >= 1.14
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(Tree::DAG_Node)
Requires: perl = %{perl_version}
Requires: perl(Test::Builder) >= 0.13
Requires: perl(Sub::Uplevel) >= 0.12
Requires: perl(Tree::DAG_Node)
Provides: %{cpan_name}
%description
This module provides a few convenience methods for testing warning
@ -41,40 +52,28 @@ based code.
Authors:
--------
Janek Schleicher, <bigj AT kamelfreund.de>
Alexandr Ciornii, <alexchorny'.'@gmail.com>
%prep
%setup -n Test-Warn-%{version} -q
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make}
%check
make test
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf $RPM_BUILD_ROOT
%files
%files -f %{name}.files
%defattr(-,root,root)
%doc README Changes
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/Test
%{perl_vendorlib}/Test/*
%dir %{perl_vendorarch}/auto/Test
%{perl_vendorarch}/auto/Test
/var/adm/perl-modules/%{name}
%doc Changes README
%changelog
* Fri Jul 25 2008 anicka@suse.cz
- update to 0.11
* better Makefile.PL
* mention Test::Trap
* uplevel 2 changed to uplevel 1 to work with Sub::Uplevel 0.19_02
* small fixes
* Wed Mar 12 2008 anicka@suse.cz
- package created (version 0.10)