perl-Test-Warn/perl-Test-Warn.spec

74 lines
1.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Test-Warn (Version 0.11)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Test-Warn
Version: 0.11
Release: 1
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/
Summary: Perl extension to test methods for warnings
Source: Test-Warn-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module provides a few convenience methods for testing warning
based code.
Authors:
--------
Janek Schleicher, <bigj AT kamelfreund.de>
%prep
%setup -n Test-Warn-%{version} -q
%build
perl Makefile.PL
make
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%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}
%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)