File perl-Test-Warn.spec of Package perl-Test-Warn

# spec file for package perl-Test-Warn
# Copyright (c) 2011 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           perl-Test-Warn
%define cpan_name Test-Warn
Summary:        Perl extension to test methods for warnings
Version:        0.23
Release:        1
License:        Artistic
Group:          Development/Libraries/Perl
Source:         %{cpan_name}-%{version}.tar.gz
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(Test::Builder) >= 0.13
Requires:       perl(Sub::Uplevel) >= 0.12
Requires:       perl(Tree::DAG_Node)
Provides:       %{cpan_name}

This module provides a few convenience methods for testing warning
based code.

    Janek Schleicher, <bigj AT>
    Alexandr Ciornii, <alexchorny'.'>

%setup -q -n %{cpan_name}-%{version}

perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"

%{__make} test


%{__rm} -rf $RPM_BUILD_ROOT

%files -f %{name}.files
%doc Changes README