rpms/perl-SOAP-Lite/devel SOAP-Lite-0.710.07-nil-value.patch, NONE, 1.1 perl-SOAP-Lite.spec, 1.11, 1.12

Lubomir Rintel lkundrak at fedoraproject.org
Tue Sep 9 13:22:11 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/perl-SOAP-Lite/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25666

Modified Files:
	perl-SOAP-Lite.spec 
Added Files:
	SOAP-Lite-0.710.07-nil-value.patch 
Log Message:
* Tue Sep 09 2008 Lubomir Rintel <lkundrak at v3.sk> - 0.710.07-2
- Re-add the nil patch


SOAP-Lite-0.710.07-nil-value.patch:

--- NEW FILE SOAP-Lite-0.710.07-nil-value.patch ---
This adds support for <nil> value, a XML-RPC extension.
http://ontosys.com/xml-rpc/extensions.php

http://rt.cpan.org/Public/Bug/Display.html?id=20569

diff -up SOAP-Lite-0.710.07/lib/XMLRPC/Lite.pm.nil-value SOAP-Lite-0.710.07/lib/XMLRPC/Lite.pm
--- SOAP-Lite-0.710.07/lib/XMLRPC/Lite.pm.nil-value	2008-06-05 20:43:44.000000000 +0200
+++ SOAP-Lite-0.710.07/lib/XMLRPC/Lite.pm	2008-09-09 15:10:21.000000000 +0200
@@ -314,6 +314,9 @@ sub decode_value {
     elsif ($name =~ /^(?:param|fault)$/) {
         return scalar(($self->decode_object($children->[0]))[1]);
     }
+    elsif ($name =~ /^(?:nil)$/) {
+        return undef;
+    }
     else {
         die "wrong element '$name'\n";
     }


Index: perl-SOAP-Lite.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-SOAP-Lite/devel/perl-SOAP-Lite.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- perl-SOAP-Lite.spec	24 Jun 2008 21:11:30 -0000	1.11
+++ perl-SOAP-Lite.spec	9 Sep 2008 13:21:40 -0000	1.12
@@ -1,11 +1,13 @@
 Name: 		perl-SOAP-Lite
 Version:	0.710.07
-Release:    1%{?dist}
+Release:	2%{?dist}
 Summary:	Client and server side SOAP implementation
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL: 		http://search.cpan.org/dist/SOAP-Lite/
 Source0: 	http://search.cpan.org/CPAN/authors/id/B/BY/BYRNE/SOAP/SOAP-Lite-%{version}.tar.gz
+# Submitted upstream: http://rt.cpan.org/Public/Bug/Display.html?id=20569
+Patch0:		SOAP-Lite-0.710.07-nil-value.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -34,6 +36,7 @@
 
 %prep
 %setup -q -n SOAP-Lite-%{version}
+%patch0 -p1 -b .nil-value
 
 %build
 %{__perl} Makefile.PL --noprompt INSTALLDIRS=vendor
@@ -74,6 +77,9 @@
 %{_mandir}/man1/*
 
 %changelog
+* Tue Sep 09 2008 Lubomir Rintel <lkundrak at v3.sk> - 0.710.07-2
+- Re-add the nil patch
+
 * Tue Jun 24 2008 Mike McGrath <mmcgrath at redhat.com> - 0.710.07-1
 - Upstream released new version
 




More information about the Fedora-perl-devel-list mailing list