1
0
perl-Test-Exception/perl-Test-Exception.spec

68 lines
1.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Test-Exception (Version 0.25 )
#
# Copyright (c) 2007 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-Exception
BuildRequires: perl-Sub-Uplevel
Version: 0.25
Release: 1
Requires: perl = %{perl_version}
Requires: perl-Sub-Uplevel
Autoreqprov: on
Group: Development/Libraries/Perl
License: Artistic License
URL: http://cpan.org/modules/by-module/Test/
Summary: Test::Exception - Test exception based code
Source: Test-Exception-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module provides a few convenience methods for testing exception
based code. It is built with Test::Builder and plays happily with
Test::More and friends.
Authors:
--------
Adrian Howard <adrianh@quietstars.com>
%prep
%setup -q -n Test-Exception-%{version}
%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
%doc %{_mandir}/man?/*
/var/adm/perl-modules/%{name}
%dir %{perl_vendorlib}/Test
%dir %{perl_vendorarch}/auto/Test/
%{perl_vendorlib}/Test/Exception.pm
%{perl_vendorarch}/auto/Test/Exception/
%changelog
* Thu Jun 14 2007 - anicka@suse.cz
- package created (version 0.25)