From 73f2edb132e4e0dce39fb2c072b5dfa8243dc047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Mon, 24 Aug 2015 16:48:06 +0200 Subject: Add plugins requiring fixed Test::Vars
diff --git a/Test-Apocalypse-1.006-Remove-Test-Apocalypse-UnusedVars.patch b/Test-Apocalypse-1.006-Remove-Test-Apocalypse-UnusedVars.patch deleted file mode 100644 index 4da9420..0000000 --- a/Test-Apocalypse-1.006-Remove-Test-Apocalypse-UnusedVars.patch +++ /dev/null @@ -1,160 +0,0 @@ -From 4ad318c31547329d2c492a3eac815de1c45b24c5 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> -Date: Fri, 10 Jul 2015 15:11:37 +0200 -Subject: [PATCH] Remove Test::Apocalypse::UnusedVars -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Test::Vars is broken on perl 5.22.0. This patch removes the plugin -that uses the Test::Vars. - -<https://bugzilla.redhat.com/show_bug.cgi?id=1231903> - -Signed-off-by: Petr Písař <ppi...@redhat.com> ---- - MANIFEST | 1 - - lib/Test/Apocalypse/UnusedVars.pm | 97 --------------------------------------- - t/00-compile.t | 3 +- - 3 files changed, 1 insertion(+), 100 deletions(-) - delete mode 100644 lib/Test/Apocalypse/UnusedVars.pm - -diff --git a/MANIFEST b/MANIFEST -index 66f920a..bc43c38 100644 ---- a/MANIFEST -+++ b/MANIFEST -@@ -51,7 +51,6 @@ lib/Test/Apocalypse/Script.pm - lib/Test/Apocalypse/Signature.pm - lib/Test/Apocalypse/Strict.pm - lib/Test/Apocalypse/Synopsis.pm --lib/Test/Apocalypse/UnusedVars.pm - t/00-compile.t - t/000-report-versions-tiny.t - t/apocalypse.t -diff --git a/lib/Test/Apocalypse/UnusedVars.pm b/lib/Test/Apocalypse/UnusedVars.pm -deleted file mode 100644 -index 7d1c4d3..0000000 ---- a/lib/Test/Apocalypse/UnusedVars.pm -+++ /dev/null -@@ -1,97 +0,0 @@ --# --# This file is part of Test-Apocalypse --# --# This software is copyright (c) 2014 by Apocalypse. --# --# This is free software; you can redistribute it and/or modify it under --# the same terms as the Perl 5 programming language system itself. --# --use strict; use warnings; --package Test::Apocalypse::UnusedVars; --$Test::Apocalypse::UnusedVars::VERSION = '1.006'; --BEGIN { -- $Test::Apocalypse::UnusedVars::AUTHORITY = 'cpan:APOCAL'; --} -- --# ABSTRACT: Plugin for Test::Vars -- --use Test::Vars 0.001; -- --sub do_test { -- all_vars_ok(); -- -- return; --} -- --1; -- --__END__ -- --=pod -- --=encoding UTF-8 -- --=for :stopwords Apocalypse Niebur Ryan -- --=for Pod::Coverage do_test -- --=head1 NAME -- --Test::Apocalypse::UnusedVars - Plugin for Test::Vars -- --=head1 VERSION -- -- This document describes v1.006 of Test::Apocalypse::UnusedVars - released October 25, 2014 as part of Test-Apocalypse. -- --=head1 DESCRIPTION -- --Encapsulates L<Test::Vars> functionality. -- --=head1 SEE ALSO -- --Please see those modules/websites for more information related to this module. -- --=over 4 -- --=item * -- --L<Test::Apocalypse|Test::Apocalypse> -- --=back -- --=head1 AUTHOR -- --Apocalypse <apo...@cpan.org> -- --=head1 COPYRIGHT AND LICENSE -- --This software is copyright (c) 2014 by Apocalypse. -- --This is free software; you can redistribute it and/or modify it under --the same terms as the Perl 5 programming language system itself. -- --The full text of the license can be found in the --F<LICENSE> file included with this distribution. -- --=head1 DISCLAIMER OF WARRANTY -- --THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY --APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT --HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY --OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, --THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR --PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM --IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF --ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -- --IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING --WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS --THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY --GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE --USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF --DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD --PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), --EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF --SUCH DAMAGES. -- --=cut -diff --git a/t/00-compile.t b/t/00-compile.t -index d841133..3eeabaa 100644 ---- a/t/00-compile.t -+++ b/t/00-compile.t -@@ -6,7 +6,7 @@ use warnings; - - use Test::More; - --plan tests => 36 + ($ENV{AUTHOR_TESTING} ? 1 : 0); -+plan tests => 35 + ($ENV{AUTHOR_TESTING} ? 1 : 0); - - my @module_files = ( - 'Test/Apocalypse.pm', -@@ -44,7 +44,6 @@ my @module_files = ( - 'Test/Apocalypse/Signature.pm', - 'Test/Apocalypse/Strict.pm', - 'Test/Apocalypse/Synopsis.pm', -- 'Test/Apocalypse/UnusedVars.pm' - ); - - --- -2.4.3 - diff --git a/perl-Test-Apocalypse.spec b/perl-Test-Apocalypse.spec index 956bd72..36dcd24 100644 --- a/perl-Test-Apocalypse.spec +++ b/perl-Test-Apocalypse.spec @@ -1,13 +1,11 @@ Name: perl-Test-Apocalypse Version: 1.006 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Apocalypse's favorite tests bundled into a simple interface License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Apocalypse/ Source0: http://www.cpan.org/authors/id/A/AP/APOCAL/Test-Apocalypse-%{version}.tar.gz -# Remove plugins requiring broken Test::Vars, bug #1231903 -Patch0: Test-Apocalypse-1.006-Remove-Test-Apocalypse-UnusedVars.patch BuildArch: noarch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) @@ -66,7 +64,7 @@ BuildRequires: perl(Test::Signature) >= 1.10 BuildRequires: perl(Test::Spelling) >= 0.11 BuildRequires: perl(Test::Strict) >= 0.14 BuildRequires: perl(Test::Synopsis) >= 0.06 -# Test::Vars 0.001 not used because of Remove-Test-Apocalypse-UnusedVars.patch +BuildRequires: perl(Test::Vars) >= 0.001 BuildRequires: perl(version) >= 0.77 BuildRequires: perl(YAML) >= 0.70 BuildRequires: perl(YAML::Any) >= 0.72 @@ -93,7 +91,6 @@ my distributions would be magically updated! %prep %setup -q -n Test-Apocalypse-%{version} -%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor @@ -113,6 +110,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Aug 24 2015 Petr Pisar <ppi...@redhat.com> - 1.006-4 +- Add plugins requiring fixed Test::Vars (bug #1231903) + * Fri Jul 10 2015 Petr Pisar <ppi...@redhat.com> - 1.006-3 - Remove plugins requiring broken Test::Vars (bug #1231903) -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-Test-Apocalypse.git/commit/?h=master&id=73f2edb132e4e0dce39fb2c072b5dfa8243dc047 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel