| 
									
										
										
										
											2007-07-13 02:39:32 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2008-02-25 16:36:57 +00:00
										 |  |  | # spec file for package perl-Test-Exception (Version 0.27 )
 | 
					
						
							| 
									
										
										
										
											2007-07-13 02:39:32 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2009-06-18 15:13:03 +00:00
										 |  |  | # Copyright (c) 2009 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
 | 
					
						
							|  |  |  | BuildRequires:  perl-Sub-Uplevel
 | 
					
						
							| 
									
										
										
										
											2008-02-25 16:36:57 +00:00
										 |  |  | Version:        0.27 
 | 
					
						
							| 
									
										
										
										
											2009-06-18 15:13:03 +00:00
										 |  |  | Release:        41
 | 
					
						
							| 
									
										
										
										
											2007-07-13 02:39:32 +00:00
										 |  |  | Requires:       perl = %{perl_version}
 | 
					
						
							|  |  |  | Requires:       perl-Sub-Uplevel
 | 
					
						
							| 
									
										
										
										
											2007-12-13 19:22:15 +00:00
										 |  |  | AutoReqProv:    on
 | 
					
						
							| 
									
										
										
										
											2007-07-13 02:39:32 +00:00
										 |  |  | Group:          Development/Libraries/Perl
 | 
					
						
							|  |  |  | License:        Artistic License
 | 
					
						
							| 
									
										
										
										
											2007-12-13 19:22:15 +00:00
										 |  |  | Url:            http://cpan.org/modules/by-module/Test/
 | 
					
						
							| 
									
										
										
										
											2007-07-13 02:39:32 +00:00
										 |  |  | 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
 | 
					
						
							| 
									
										
										
										
											2008-02-25 16:36:57 +00:00
										 |  |  | * Mon Feb 25 2008 anicka@suse.cz
 | 
					
						
							|  |  |  | - update to 0.27
 | 
					
						
							|  |  |  |   * Patch to fix my broken code with the now working Sub::Uplevel.
 | 
					
						
							|  |  |  | * Thu Dec 13 2007 anicka@suse.cz
 | 
					
						
							| 
									
										
										
										
											2007-12-13 19:22:15 +00:00
										 |  |  | - update to 0.26
 | 
					
						
							|  |  |  |   * Added some more exposition on the usage of dies_ok() and
 | 
					
						
							|  |  |  |   lives_ok() for those who found them confusing. Also reordered
 | 
					
						
							|  |  |  |   presentation of docs so more specific throws_ok() comes first.
 | 
					
						
							|  |  |  |   * Some misc. documentation tweaks.
 | 
					
						
							|  |  |  |   * Added some tests for RT#24678, but not actually fixed them yet
 | 
					
						
							|  |  |  |   * Added comment in docs about T::E not catching exit() in eval()
 | 
					
						
							|  |  |  |   blocks
 | 
					
						
							| 
									
										
										
										
											2008-02-25 16:36:57 +00:00
										 |  |  | * Thu Jun 14 2007 anicka@suse.cz
 | 
					
						
							| 
									
										
										
										
											2007-07-13 02:39:32 +00:00
										 |  |  | - package created (version 0.25)
 |