2007-07-13 02:39:32 +00:00
|
|
|
#
|
2010-10-15 15:16:05 +00:00
|
|
|
# spec file for package perl-Test-Exception (Version 0.31 )
|
2007-07-13 02:39:32 +00:00
|
|
|
#
|
2010-01-12 10:44:09 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-07-13 02:39:32 +00:00
|
|
|
#
|
2009-06-18 15:13:03 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-07-13 02:39:32 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-25 16:36:57 +00:00
|
|
|
|
2007-07-13 02:39:32 +00:00
|
|
|
Name: perl-Test-Exception
|
2009-07-27 20:07:09 +00:00
|
|
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
Summary: Test::Exception - Test exception based code
|
2010-10-15 15:16:05 +00:00
|
|
|
Version: 0.31
|
2010-10-15 14:05:48 +00:00
|
|
|
Release: 1
|
2009-07-27 20:07:09 +00:00
|
|
|
License: Artistic License ..
|
2007-07-13 02:39:32 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2009-07-27 20:07:09 +00:00
|
|
|
Url: http://search.cpan.org/dist/Test-Exception
|
2007-07-13 02:39:32 +00:00
|
|
|
Source: Test-Exception-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:52:01 +00:00
|
|
|
%{perl_requires}
|
2009-07-27 20:07:09 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
BuildRequires: perl(Test::Simple) >= 0.7
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
BuildRequires: perl(Test::Builder::Tester)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.7
|
|
|
|
BuildRequires: perl(Test::Harness) >= 2.03
|
|
|
|
BuildRequires: perl(Sub::Uplevel) >= 0.18
|
|
|
|
Requires: perl(Sub::Uplevel) >= 0.18
|
|
|
|
Requires: perl(Test::More) >= 0.7
|
|
|
|
Requires: perl(Test::Builder)
|
2007-07-13 02:39:32 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2009-07-27 20:07:09 +00:00
|
|
|
Authors: Adrian Howard <adrianh@quietstars.com>
|
2007-07-13 02:39:32 +00:00
|
|
|
%prep
|
2009-07-27 20:07:09 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
echo "perlVersion: "%{perl_version}
|
2007-07-13 02:39:32 +00:00
|
|
|
|
|
|
|
%build
|
2009-07-27 20:07:09 +00:00
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
2010-01-12 10:44:09 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-07-13 02:39:32 +00:00
|
|
|
|
|
|
|
%check
|
2009-07-27 20:07:09 +00:00
|
|
|
%{__make} test
|
2007-07-13 02:39:32 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2009-07-27 20:07:09 +00:00
|
|
|
%perl_gen_filelist
|
2007-07-13 02:39:32 +00:00
|
|
|
|
|
|
|
%clean
|
2009-07-27 20:07:09 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-07-13 02:39:32 +00:00
|
|
|
|
2009-07-27 20:07:09 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc Changes README
|
2007-07-13 02:39:32 +00:00
|
|
|
|
|
|
|
%changelog
|