Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > main-release-src > by-pkgid > 4d5642e93a109c6c63b4bf5bb1d58d62 > files > 2

perl-Test-NoWarnings-1.10.0-1mdv2010.1.src.rpm

%define	upstream_name	 Test-NoWarnings
%define upstream_version 1.01

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:	Make sure you didn't emit any warnings while testing
License:	LGPL
Group:		Development/Perl
Url:		http://search.cpan.org/dist/%{upstream_name}/
Source0:	http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz

%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl(Test::Tester) >= 0.103

BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}

%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 %{upstream_name}-%{upstream_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 README
%{_mandir}/*/*
%{perl_vendorlib}/Test


%changelog
* Fri Jan 15 2010 Jérôme Quelin <jquelin@mandriva.org> 1.10.0-1mdv2010.1
+ Revision: 491633
- update to 1.01

* Tue Jan 12 2010 Jérôme Quelin <jquelin@mandriva.org> 1.0.0-1mdv2010.1
+ Revision: 490071
- update to 1.00

  + Christophe Fergeau <cfergeau@mandriva.com>
    - rebuild

* Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.084-4mdv2009.0
+ Revision: 258539
- rebuild

* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.084-3mdv2009.0
+ Revision: 246542
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Thu Nov 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.084-1mdv2008.1
+ Revision: 104586
- update to new version 0.084

* 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