jplesnik pushed to perl-CGI-Application-Plugin-SuperForm (master). "Fixed using of UNIVERSAL (RT#97686)"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From a987a42d549344de6d288facb7bd3810d4e406c9 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date: Wed, 29 Apr 2015 15:10:42 +0200
Subject: Fixed using of UNIVERSAL (RT#97686)


diff --git a/CGI-Application-Plugin-SuperForm-0.5-RT-97686-Fix-using-of-UNIVERSAL.patch b/CGI-Application-Plugin-SuperForm-0.5-RT-97686-Fix-using-of-UNIVERSAL.patch
new file mode 100644
index 0000000..24214fe
--- /dev/null
+++ b/CGI-Application-Plugin-SuperForm-0.5-RT-97686-Fix-using-of-UNIVERSAL.patch
@@ -0,0 +1,12 @@
+diff -up CGI-Application-Plugin-SuperForm-0.5/t/01_basic.t.orig CGI-Application-Plugin-SuperForm-0.5/t/01_basic.t
+--- CGI-Application-Plugin-SuperForm-0.5/t/01_basic.t.orig	2015-04-29 14:53:13.994187199 +0200
++++ CGI-Application-Plugin-SuperForm-0.5/t/01_basic.t	2015-04-29 14:53:28.438364023 +0200
+@@ -24,7 +24,7 @@ like( $t1_output, qr/value="2" selected/
+ 
+ 
+ {
+-	use UNIVERSAL (qw/can/);
++	use UNIVERSAL;
+ 	ok( $t1_obj->can('superform'), "has superform method" );
+ 	ok( $t1_obj->can('sform'),     "has sform method" );
+ 
diff --git a/perl-CGI-Application-Plugin-SuperForm.spec b/perl-CGI-Application-Plugin-SuperForm.spec
index 30dbc5b..4a15ada 100644
--- a/perl-CGI-Application-Plugin-SuperForm.spec
+++ b/perl-CGI-Application-Plugin-SuperForm.spec
@@ -1,11 +1,13 @@
 Name:           perl-CGI-Application-Plugin-SuperForm
 Version:        0.5
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Create sticky forms with HTML::SuperForm
 License:        GPL+ or Artistic
 
 URL:            http://search.cpan.org/dist/CGI-Application-Plugin-SuperForm/
 Source0:        http://www.cpan.org/authors/id/V/VA/VANAMBURG/CGI-Application-Plugin-SuperForm-%{version}.tar.gz
+# Fix using of UNIVERSAL for Perl 5.22 (RT#97686)
+Patch1:         CGI-Application-Plugin-SuperForm-0.5-RT-97686-Fix-using-of-UNIVERSAL.patch
 
 BuildArch:      noarch
 BuildRequires:  perl(CGI::Application)
@@ -23,6 +25,7 @@ Create sticky HTML forms in CGI::Application run modes using HTML::SuperForm.
 
 %prep
 %setup -q -n CGI-Application-Plugin-SuperForm-%{version}
+%patch1 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -45,6 +48,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Apr 29 2015 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.5-14
+- Fixed using of UNIVERSAL (RT#97686)
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.5-13
 - Perl 5.20 rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-CGI-Application-Plugin-SuperForm.git/commit/?h=master&id=a987a42d549344de6d288facb7bd3810d4e406c9
--
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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux