From 5be150a24acbcd285cdc2813c8989ca6a952eb1d Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jan 07 2013 09:54:59 +0000 Subject: import perl-Test-NoWarnings-1.04-1.el7.src.rpm --- diff --git a/.perl-Test-NoWarnings.metadata b/.perl-Test-NoWarnings.metadata new file mode 100644 index 0000000..a8d93d3 --- /dev/null +++ b/.perl-Test-NoWarnings.metadata @@ -0,0 +1 @@ +2b8840b199d30812b6abc24f2b86289e0a3811f3 SOURCES/Test-NoWarnings-1.04.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Test-NoWarnings.spec b/SPECS/perl-Test-NoWarnings.spec new file mode 100644 index 0000000..8690971 --- /dev/null +++ b/SPECS/perl-Test-NoWarnings.spec @@ -0,0 +1,114 @@ +Name: perl-Test-NoWarnings +Version: 1.04 +Release: 1%{?dist} +Summary: Make sure you didn't emit any warnings while testing +License: LGPLv2+ +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-NoWarnings/ +Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-NoWarnings-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Devel::StackTrace) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::Builder) >= 0.86 +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Tester) >= 0.107 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +In general, your tests shouldn't produce warnings. This module 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 warnings, 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 Test-NoWarnings-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Jan 05 2013 Iain Arnell 1.04-1 +- update to latest upstream version +- clean up spec for modern rpmbuild + +* Thu Nov 08 2012 Jitka Plesnikova - 1.02-7 +- Update dependencies + +* Fri Jul 20 2012 Fedora Release Engineering - 1.02-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 1.02-5 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.02-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Jun 19 2011 Marcela Mašláňová - 1.02-3 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.02-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Dec 08 2010 Steven Pritchard 1.02-1 +- Update to 1.02. +- Update Source0 URL. +- BR Test::Builder and Test::More, plus update versioned Test::Tester BR. +- CHANGES renamed to Changes, and LGPL renamed to LICENSE. + +* Thu May 06 2010 Marcela Maslanova - 0.084-7 +- Mass rebuild with perl-5.12.0 + +* Fri Dec 4 2009 Stepan Kasal - 0.084-6 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 0.084-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.084-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.084-3 +- Rebuild for perl 5.10 (again) + +* Mon Jan 28 2008 Tom "spot" Callaway 0.084-2 +- rebuild for new perl + +* Sat Jan 12 2008 Steven Pritchard 0.084-1 +- Update to 0.084. +- Update License. +- BR Devel::StackTrace. + +* Wed Apr 18 2007 Steven Pritchard 0.083-2 +- BR ExtUtils::MakeMaker. + +* Tue Dec 26 2006 Steven Pritchard 0.083-1 +- Update to 0.083. +- Use fixperms macro instead of our own chmod incantation. + +* Sat Sep 16 2006 Steven Pritchard 0.082-2 +- Fix find option order. + +* Sat Apr 08 2006 Steven Pritchard 0.082-1 +- Specfile autogenerated by cpanspec 1.64. +- Fix License. +- Drop explicit dependency on perl(Test::Tester). (Seems to be bogus.)