Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 4f1af2750df499dfea4e50e85d3ac284 > files > 2

perl-Test-NoWarnings-0.083-1mdv2008.0.src.rpm

%define	module	Test-NoWarnings
%define	modprefix Test
%define	version	0.083
%define	release	%mkrel 1

Summary:	Make sure you didn't emit any warnings while testing
Name:		perl-%{module}
Version:	%{version}
Release:	%{release}
License:	LGPL
Group:		Development/Perl
Source:		http://www.cpan.org/modules/by-module/%{modprefix}/%{module}-%{version}.tar.bz2
Url:		http://search.cpan.org/dist/%{module}/
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl(Test::Tester) >= 0.103
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot/
BuildArch:	noarch

%description
In general, your tests shouldn't produce warnings. This modules causes
any warnings to be captured and stored. It automatically adds an extra
test that will run when your script ends to check that there were no
warnings. If there were any warings, the test will give a "not ok" and
diagnostics of where, when and what the warning was, including a stack
trace of what was going on when the it occurred.


%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make}

%check
%{__make} test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGES README
%{_mandir}/*/*
%{perl_vendorlib}/%{modprefix}



%changelog
* Thu May 03 2007 Olivier Thauvin <nanardon@mandriva.org> 0.083-1mdv2008.0
+ Revision: 22117
- 0.083


* Tue Sep 05 2006 Scott Karns <scottk@mandriva.org>
+ 2006-09-05 12:05:47 (60022)
- fixed typo

* Tue Sep 05 2006 Scott Karns <scottk@mandriva.org>
+ 2006-09-05 11:59:35 (60018)
- spec file cleanup
- bump release for rebuild

* Tue Sep 05 2006 Scott Karns <scottk@mandriva.org>
+ 2006-09-05 11:49:15 (60008)
Import perl-Test-NoWarnings

* Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.082-3mdk
- Fix SPEC according to Perl Policy
	- BuildRequires
	- Source URL

* Mon Mar 06 2006 Buchan Milne <bgmilne@mandriva.org> 0.082-2mdk
- Rebuild
- use mkrel

* Tue Oct 11 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.082-1mdk
- Initial MDV release