commit e557979c8106fd0f955ed4a6ab5085962ff70a98 Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Sun Aug 4 14:54:50 2013 +0200 Apply Paul Howarth's patch to silence warnings (#988458) Perl6-Junction-1.50000-smartmatch.patch | 40 +++++++++++++++++++++++++++++++ perl-Perl6-Junction.spec | 7 ++++- 2 files changed, 46 insertions(+), 1 deletions(-) --- diff --git a/Perl6-Junction-1.50000-smartmatch.patch b/Perl6-Junction-1.50000-smartmatch.patch new file mode 100644 index 0000000..c8e574d --- /dev/null +++ b/Perl6-Junction-1.50000-smartmatch.patch @@ -0,0 +1,40 @@ +--- lib/Perl6/Junction/All.pm ++++ lib/Perl6/Junction/All.pm +@@ -1,5 +1,7 @@ + package Perl6::Junction::All; + use strict; ++use warnings; ++no if $] >= 5.018000, warnings => 'experimental::smartmatch'; + our $VERSION = '1.50000'; + + use base 'Perl6::Junction::Base'; +--- lib/Perl6/Junction/Any.pm ++++ lib/Perl6/Junction/Any.pm +@@ -1,5 +1,7 @@ + package Perl6::Junction::Any; + use strict; ++use warnings; ++no if $] >= 5.018000, warnings => 'experimental::smartmatch'; + our $VERSION = '1.50000'; + + use base 'Perl6::Junction::Base'; +--- lib/Perl6/Junction/None.pm ++++ lib/Perl6/Junction/None.pm +@@ -1,5 +1,7 @@ + package Perl6::Junction::None; + use strict; ++use warnings; ++no if $] >= 5.018000, warnings => 'experimental::smartmatch'; + our $VERSION = '1.50000'; + + use base 'Perl6::Junction::Base'; +--- lib/Perl6/Junction/One.pm ++++ lib/Perl6/Junction/One.pm +@@ -1,5 +1,7 @@ + package Perl6::Junction::One; + use strict; ++use warnings; ++no if $] >= 5.018000, warnings => 'experimental::smartmatch'; + our $VERSION = '1.50000'; + + use base 'Perl6::Junction::Base'; diff --git a/perl-Perl6-Junction.spec b/perl-Perl6-Junction.spec index 0e16530..c7b5a4d 100644 --- a/perl-Perl6-Junction.spec +++ b/perl-Perl6-Junction.spec @@ -1,13 +1,14 @@ %define tarname Perl6-Junction Name: perl-Perl6-Junction Version: 1.50000 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Perl6 style Junction operators in Perl5 Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Perl6-Junction/ Source0: http://search.cpan.org/CPAN/authors/id/C/CF/CFRANKS/%{tarname}-%{version}.tar.gz +Patch0: Perl6-Junction-1.50000-smartmatch.patch BuildArch: noarch # Correct for lots of packages, other common choices include eg. Module::Build @@ -29,6 +30,7 @@ Provides a limited subset of the functionality of L<Quantum::Superpositions>. %prep %setup -q -n Perl6-Junction-%{version} +%patch0 %build @@ -54,6 +56,9 @@ make test %changelog +* Sun Aug 04 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 1.50000-5 +- Apply Paul Howarth's patch to silence warnings (#988458) + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.50000-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel