From 60747a2d00bb96713f483ea21ed2805442fa197c Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <[email protected]> Date: Wed, 1 Feb 2017 14:39:06 +0100 Subject: 0.203 bump
--- .gitignore | 1 + ...not-use-done_testing-with-Test-NoWarnings.patch | 44 ---------------------- perl-Scalar-Does.spec | 15 ++++---- sources | 2 +- 4 files changed, 9 insertions(+), 53 deletions(-) delete mode 100644 Scalar-Does-0.202-Do-not-use-done_testing-with-Test-NoWarnings.patch diff --git a/.gitignore b/.gitignore index a559b8e..1a8c98d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Scalar-Does-0.202.tar.gz +/Scalar-Does-0.203.tar.gz diff --git a/Scalar-Does-0.202-Do-not-use-done_testing-with-Test-NoWarnings.patch b/Scalar-Does-0.202-Do-not-use-done_testing-with-Test-NoWarnings.patch deleted file mode 100644 index 2b1a9e3..0000000 --- a/Scalar-Does-0.202-Do-not-use-done_testing-with-Test-NoWarnings.patch +++ /dev/null @@ -1,44 +0,0 @@ -From edc5b114a098df5fa50f92882073c73c34bedaf2 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]> -Date: Tue, 29 Nov 2016 17:34:29 +0100 -Subject: [PATCH] Do not use done_testing with Test::NoWarnings -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Test::NoWarnings does not work with done_testing correctly and the -mistaken usage in t/09warnings.t becomes visible since -Test-Simple-1.302064. - -This patch replaces done_testing call with proper test plan -definition. - -CPAN RT#119030 - -Signed-off-by: Petr Písař <[email protected]> ---- - t/09warnings.t | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/t/09warnings.t b/t/09warnings.t -index 3ee58eb..114b5a6 100644 ---- a/t/09warnings.t -+++ b/t/09warnings.t -@@ -27,7 +27,7 @@ the same terms as the Perl 5 programming language system itself. - - use strict; - use warnings; --use Test::More; -+use Test::More tests => 1; - use Test::Requires "List::MoreUtils"; - - BEGIN { -@@ -40,5 +40,3 @@ use Test::NoWarnings; - $^W = 1; - require Scalar::Does; - Scalar::Does::does(undef, 'ARRAY'); -- --done_testing(1); --- -2.7.4 - diff --git a/perl-Scalar-Does.spec b/perl-Scalar-Does.spec index abdfd94..b68b5b0 100644 --- a/perl-Scalar-Does.spec +++ b/perl-Scalar-Does.spec @@ -1,16 +1,13 @@ Name: perl-Scalar-Does -Version: 0.202 -Release: 2%{?dist} +Version: 0.203 +Release: 1%{?dist} Summary: Check an object implements an interface -# CONTRIBUTING: CC-BY-SA # COPYRIGHT: Public Domain # other files: GPL+ or Artistic -License: (GPL+ or Artistic) and CC-BY-SA and Public Domain +License: (GPL+ or Artistic) and Public Domain Group: Development/Libraries URL: http://search.cpan.org/dist/Scalar-Does/ Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/Scalar-Does-%{version}.tar.gz -# Fix a no-warnings test, bug #1399514, CPAN RT#119030 -Patch0: Scalar-Does-0.202-Do-not-use-done_testing-with-Test-NoWarnings.patch BuildArch: noarch BuildRequires: findutils BuildRequires: make @@ -74,7 +71,6 @@ delivers Scalar::Does Perl module that can do it. %prep %setup -q -n Scalar-Does-%{version} -%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor @@ -90,12 +86,15 @@ make test %files %license LICENSE -%doc Changes CONTRIBUTING COPYRIGHT CREDITS IO-Detect-Changes.txt NEWS README +%doc Changes COPYRIGHT CREDITS IO-Detect-Changes.txt NEWS README %doc TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Feb 01 2017 Jitka Plesnikova <[email protected]> - 0.203-1 +- 0.203 bump + * Tue Nov 29 2016 Petr Pisar <[email protected]> - 0.202-2 - Fix a no-warnings test (bug #1399514) diff --git a/sources b/sources index 4df51d3..5c470c5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d32eeaea9b9dcb5eb55d5b56eda753a3 Scalar-Does-0.202.tar.gz +SHA512 (Scalar-Does-0.203.tar.gz) = 698c5678c54f730dee96568853ba3e62c9bad4ae6157a134c0465d49068afdac039b3ab8319eba6f0c2c0634bfb7a58464a46bd1e8f2bf759d340dc2620d8419 -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-Scalar-Does.git/commit/?h=master&id=60747a2d00bb96713f483ea21ed2805442fa197c _______________________________________________ perl-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
