rpms/perl/devel perl-5.10.0-CGI.patch, NONE, 1.1 perl.spec, 1.183, 1.184

Štěpán Kasal (kasal) fedora-extras-commits at redhat.com
Mon Aug 4 15:04:53 UTC 2008


Author: kasal

Update of /cvs/extras/rpms/perl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17394

Modified Files:
	perl.spec 
Added Files:
	perl-5.10.0-CGI.patch 
Log Message:
- CGI.pm bug in exists() on tied param hash (#457085)
- move the enc2xs templates (../Encode/*.e2x) to -devel, (#456534)

perl-5.10.0-CGI.patch:

--- NEW FILE perl-5.10.0-CGI.patch ---
diff -up perl-5.10.0/lib/CGI.pm.tied perl-5.10.0/lib/CGI.pm
--- perl-5.10.0/lib/CGI.pm.tied	2008-07-30 08:37:48.000000000 +0200
+++ perl-5.10.0/lib/CGI.pm	2008-07-30 08:41:38.000000000 +0200
@@ -1176,7 +1176,7 @@ END_OF_FUNC
 
 'EXISTS' => <<'END_OF_FUNC',
 sub EXISTS {
-    exists $_[0]->{$_[1]};
+    exists $_[0]->{param}{$_[1]};
 }
 END_OF_FUNC
 


Index: perl.spec
===================================================================
RCS file: /cvs/extras/rpms/perl/devel/perl.spec,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -r1.183 -r1.184
--- perl.spec	21 Jul 2008 10:55:20 -0000	1.183
+++ perl.spec	4 Aug 2008 15:04:23 -0000	1.184
@@ -7,7 +7,7 @@
 
 Name:           perl
 Version:        %{perl_version}
-Release:        38%{?dist}
+Release:        39%{?dist}
 Epoch:          %{perl_epoch}
 Summary:        The Perl programming language
 Group:          Development/Languages
@@ -82,6 +82,9 @@
 # pos function handle unicode ok
 Patch20:	perl-5.10.0-pos.patch
 
+# 457085  CGI.pm bug in exists() on tied param hash
+Patch21:        perl-5.10.0-CGI.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{perl_version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  tcsh, dos2unix, man, groff
 BuildRequires:  gdbm-devel, db4-devel, zlib-devel
@@ -811,6 +814,7 @@
 %patch18 -p1
 %patch19 -p1
 %patch20 -p1
+%patch21 -p1
 #
 # Candidates for doc recoding (need case by case review):
 # find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)'
@@ -1056,6 +1060,7 @@
 # devel
 %exclude %{_bindir}/enc2xs
 %exclude %{_mandir}/man1/enc2xs*
+%exclude %{_prefix}/lib/perl5/%{perl_version}/Encode/
 %exclude %{_bindir}/h2xs
 %exclude %{_mandir}/man1/h2xs*
 %exclude %{_bindir}/libnetcfg
@@ -1326,6 +1331,7 @@
 %defattr(-,root,root,-)
 %{_bindir}/enc2xs
 %{_mandir}/man1/enc2xs*
+%{_prefix}/lib/perl5/%{perl_version}/Encode/
 %{_bindir}/h2xs
 %{_mandir}/man1/h2xs*
 %{_bindir}/libnetcfg
@@ -1631,6 +1637,10 @@
 
 # Old changelog entries are preserved in CVS.
 %changelog
+* Fri Aug  1 2008 Stepan Kasal <skasal at redhat.com> 4:5.10.0-39.fc10
+- CGI.pm bug in exists() on tied param hash (#457085)
+- move the enc2xs templates (../Encode/*.e2x) to -devel, (#456534)
+
 * Mon Jul 21 2008 Marcela Maslanova <mmaslano at redhat.com> 4:5.10.0-38
 - 455933 update to CGI-3.38
 - fix fuzz problems (patch6)




More information about the scm-commits mailing list