From 7a861fe363ce7cf6aa0b6a15111db41649b2682a Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Mon, 6 May 2013 21:21:28 +0200 Subject: [PATCH 1/7] Initial import. --- .gitignore | 1 + perl-Test-FailWarnings.spec | 63 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+) create mode 100644 perl-Test-FailWarnings.spec diff --git a/.gitignore b/.gitignore index e69de29..9d07648 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Test-FailWarnings-0.003.tar.gz diff --git a/perl-Test-FailWarnings.spec b/perl-Test-FailWarnings.spec new file mode 100644 index 0000000..e21656c --- /dev/null +++ b/perl-Test-FailWarnings.spec @@ -0,0 +1,63 @@ +Name: perl-Test-FailWarnings +Version: 0.003 +Release: 2%{?dist} +Summary: Add test failures if warnings are caught +License: ASL 2.0 + +URL: http://search.cpan.org/dist/Test-FailWarnings/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Capture::Tiny) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(List::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) + +# tests +BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::Script) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module hooks $SIG{__WARN__} and converts warnings to Test::More's +fail() calls. It is designed to be used with done_testing, when you don't +need to know the test count in advance. + +%prep +%setup -q -n Test-FailWarnings-%{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 CONTRIBUTING LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri May 03 2013 Emmanuel Seyman - 0.003-2 +- Take into account review comments (#957466) + +* Sun Apr 28 2013 Emmanuel Seyman 0.003-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..775c409 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bbed4b467d8934f285b8a0cffc9fe200 Test-FailWarnings-0.003.tar.gz From 915a739e6c4147929f48c5396e554266ffbba32b Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Wed, 8 May 2013 11:46:06 +0200 Subject: [PATCH 2/7] Update to 0.005 --- .gitignore | 1 + perl-Test-FailWarnings.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9d07648..14409fd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Test-FailWarnings-0.003.tar.gz +/Test-FailWarnings-0.005.tar.gz diff --git a/perl-Test-FailWarnings.spec b/perl-Test-FailWarnings.spec index e21656c..62e31ae 100644 --- a/perl-Test-FailWarnings.spec +++ b/perl-Test-FailWarnings.spec @@ -1,6 +1,6 @@ Name: perl-Test-FailWarnings -Version: 0.003 -Release: 2%{?dist} +Version: 0.005 +Release: 1%{?dist} Summary: Add test failures if warnings are caught License: ASL 2.0 @@ -56,6 +56,9 @@ make test %{_mandir}/man3/* %changelog +* Wed May 08 2013 Emmanuel Seyman - 0.005-1 +- Update to 0.005 + * Fri May 03 2013 Emmanuel Seyman - 0.003-2 - Take into account review comments (#957466) diff --git a/sources b/sources index 775c409..fc80433 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bbed4b467d8934f285b8a0cffc9fe200 Test-FailWarnings-0.003.tar.gz +b73257948f9b656487216f3a95812d32 Test-FailWarnings-0.005.tar.gz From a309d312fbd2babfcb5f9c6fe890e9ef73740023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 23 Jul 2013 17:20:30 +0200 Subject: [PATCH 3/7] Perl 5.18 rebuild --- perl-Test-FailWarnings.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-Test-FailWarnings.spec b/perl-Test-FailWarnings.spec index 62e31ae..acda541 100644 --- a/perl-Test-FailWarnings.spec +++ b/perl-Test-FailWarnings.spec @@ -1,6 +1,6 @@ Name: perl-Test-FailWarnings Version: 0.005 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Add test failures if warnings are caught License: ASL 2.0 @@ -56,6 +56,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Jul 23 2013 Petr Pisar - 0.005-2 +- Perl 5.18 rebuild + * Wed May 08 2013 Emmanuel Seyman - 0.005-1 - Update to 0.005 From 225965b96d8d5eebd237bed7c0f9168f1b2ef9fb Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 20:14:09 -0500 Subject: [PATCH 4/7] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- perl-Test-FailWarnings.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-Test-FailWarnings.spec b/perl-Test-FailWarnings.spec index acda541..67646be 100644 --- a/perl-Test-FailWarnings.spec +++ b/perl-Test-FailWarnings.spec @@ -1,6 +1,6 @@ Name: perl-Test-FailWarnings Version: 0.005 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Add test failures if warnings are caught License: ASL 2.0 @@ -56,6 +56,9 @@ make test %{_mandir}/man3/* %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 0.005-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Tue Jul 23 2013 Petr Pisar - 0.005-2 - Perl 5.18 rebuild From ebc0223eb33099c2706b089ad54e9384247f7fd6 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 25 Aug 2013 11:48:25 +0200 Subject: [PATCH 5/7] Update to 0.006 --- .gitignore | 1 + perl-Test-FailWarnings.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 14409fd..505a5e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /Test-FailWarnings-0.003.tar.gz /Test-FailWarnings-0.005.tar.gz +/Test-FailWarnings-0.006.tar.gz diff --git a/perl-Test-FailWarnings.spec b/perl-Test-FailWarnings.spec index 67646be..ebc3fe3 100644 --- a/perl-Test-FailWarnings.spec +++ b/perl-Test-FailWarnings.spec @@ -1,6 +1,6 @@ Name: perl-Test-FailWarnings -Version: 0.005 -Release: 3%{?dist} +Version: 0.006 +Release: 1%{?dist} Summary: Add test failures if warnings are caught License: ASL 2.0 @@ -56,6 +56,9 @@ make test %{_mandir}/man3/* %changelog +* Sun Aug 25 2013 Emmanuel Seyman - 0.006-1 +- Update to 0.006 + * Sun Aug 04 2013 Fedora Release Engineering - 0.005-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index fc80433..66069f2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b73257948f9b656487216f3a95812d32 Test-FailWarnings-0.005.tar.gz +82fcf26a4f675e99cae2b560babbacee Test-FailWarnings-0.006.tar.gz From 78a5428e8da5af7651fafe17b9b67e55ed3f9647 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 1 Sep 2013 09:54:39 +0200 Subject: [PATCH 6/7] Update to 0.007 --- .gitignore | 1 + perl-Test-FailWarnings.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 505a5e5..d1f1ba3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /Test-FailWarnings-0.003.tar.gz /Test-FailWarnings-0.005.tar.gz /Test-FailWarnings-0.006.tar.gz +/Test-FailWarnings-0.007.tar.gz diff --git a/perl-Test-FailWarnings.spec b/perl-Test-FailWarnings.spec index ebc3fe3..3425de8 100644 --- a/perl-Test-FailWarnings.spec +++ b/perl-Test-FailWarnings.spec @@ -1,5 +1,5 @@ Name: perl-Test-FailWarnings -Version: 0.006 +Version: 0.007 Release: 1%{?dist} Summary: Add test failures if warnings are caught License: ASL 2.0 @@ -56,6 +56,9 @@ make test %{_mandir}/man3/* %changelog +* Sun Sep 01 2013 Emmanuel Seyman - 0.007-1 +- Update to 0.007 + * Sun Aug 25 2013 Emmanuel Seyman - 0.006-1 - Update to 0.006 diff --git a/sources b/sources index 66069f2..297ceae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -82fcf26a4f675e99cae2b560babbacee Test-FailWarnings-0.006.tar.gz +e81bafafa5ecb9455b970f99b726da7c Test-FailWarnings-0.007.tar.gz From bf8065ca628ba7aa99600cd455fbe713a98774f2 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 29 Sep 2013 10:59:22 +0200 Subject: [PATCH 7/7] Update to 0.008 --- .gitignore | 1 + perl-Test-FailWarnings.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d1f1ba3..594a668 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /Test-FailWarnings-0.005.tar.gz /Test-FailWarnings-0.006.tar.gz /Test-FailWarnings-0.007.tar.gz +/Test-FailWarnings-0.008.tar.gz diff --git a/perl-Test-FailWarnings.spec b/perl-Test-FailWarnings.spec index 3425de8..1173bbb 100644 --- a/perl-Test-FailWarnings.spec +++ b/perl-Test-FailWarnings.spec @@ -1,5 +1,5 @@ Name: perl-Test-FailWarnings -Version: 0.007 +Version: 0.008 Release: 1%{?dist} Summary: Add test failures if warnings are caught License: ASL 2.0 @@ -56,6 +56,9 @@ make test %{_mandir}/man3/* %changelog +* Sun Sep 29 2013 Emmanuel Seyman - 0.008-1 +- Update to 0.008 + * Sun Sep 01 2013 Emmanuel Seyman - 0.007-1 - Update to 0.007 diff --git a/sources b/sources index 297ceae..b291a7f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e81bafafa5ecb9455b970f99b726da7c Test-FailWarnings-0.007.tar.gz +c03d51f550dbfd9945722ff7f4c32717 Test-FailWarnings-0.008.tar.gz