rpms/perl-SOAP-Lite/FC-3 SOAP-Lite-0.68-nil-value.patch, NONE, 1.1 perl-SOAP-Lite.spec, 1.2, 1.3 sources, 1.2, 1.3

Michael Patrick McGrath (mmcgrath) fedora-extras-commits at redhat.com
Tue Jul 18 19:51:19 UTC 2006


Author: mmcgrath

Update of /cvs/extras/rpms/perl-SOAP-Lite/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11486/FC-3

Modified Files:
	perl-SOAP-Lite.spec sources 
Added Files:
	SOAP-Lite-0.68-nil-value.patch 
Log Message:
New upstream source
patch provided to fix <value><nil/></value> errors



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

--- NEW FILE SOAP-Lite-0.68-nil-value.patch ---
--- SOAP-Lite-0.68/lib/XMLRPC/Lite.pm.nil_value	2004-11-14 14:30:50.000000000 -0500
+++ SOAP-Lite-0.68/lib/XMLRPC/Lite.pm	2006-07-18 13:06:53.000000000 -0400
@@ -286,6 +286,8 @@
     return +{map {$self->decode_object($_)} @{$children || []}};
   } 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/extras/rpms/perl-SOAP-Lite/FC-3/perl-SOAP-Lite.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-SOAP-Lite.spec	26 Oct 2005 18:23:19 -0000	1.2
+++ perl-SOAP-Lite.spec	18 Jul 2006 19:51:19 -0000	1.3
@@ -1,73 +1,84 @@
-Name:           perl-SOAP-Lite
-Version:        0.60a
-Release:        3%{?dist}
-Summary:        Provides the Simple Object Access Protocol (SOAP) 
-
-Group:          Development/Libraries
-License:        GPL or Artistic
-URL:            http://search.cpan.org/dist/SOAP-Lite/
-Source0:        http://www.cpan.org/authors/id/B/BY/BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz
-Source1:        filter-requires.sh
-Patch0:         SOAP-Lite-0.60a-paths.patch
+Name: 		perl-SOAP-Lite
+Version:	0.68
+Release:	1%{?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
+Patch0:		SOAP-Lite-0.68-nil-value.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.1
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-%define __perl_requires %{SOURCE1}
+Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:	perl-XML-Parser
+BuildArch: 	noarch
+
+%define bogusreqs 'perl(MQClient::MQSeries)\
+perl(MQSeries)\
+perl(MQSeries::Message)\
+perl(MQSeries::Queue)\
+perl(MQSeries::QueueManager)\
+perl(Net::Jabber)'
+%global reqfilt sh -c "%{__perl_requires} | %{__grep} -Fv %{bogusreqs}"
+%define __perl_requires %{reqfilt}
 
 %description
-SOAP::Lite for Perl is a collection of Perl modules which provides a simple
-and lightweight interface to the Simple Object Access Protocol (SOAP) both
-on client and server side.
-
-This version of SOAP::Lite supports a subset of the SOAP 1.1 specification
-and has initial support for SOAP 1.2 specification.
-
+SOAP::Lite is a collection of Perl modules which provides a simple and
+lightweight interface to the Simple Object Access Protocol (SOAP) both on
+client and server side.
 
 %prep
-%setup -q -n SOAP-Lite-0.60   # Upstream tar is inconsistent.
-%patch0 -p1 
-
-# avoid dependencies
-find examples -type f | xargs chmod 644
-
+%setup -q -n SOAP-Lite-%{version}
+%patch0 -p1
 
 %build
-# Despite the --noprompt, it prompts for a enter....
-%{__perl} Makefile.PL INSTALLDIRS=vendor --noprompt << EOL
-
-EOL
+%{__perl} Makefile.PL --noprompt INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 
+#Items not yet in Extras
+#find $RPM_BUILD_ROOT -type f -name JABBER* -exec rm -f {} ';'
+#find $RPM_BUILD_ROOT -type f -name MQ* -exec rm -f {} ';'
 
-%check || :
-make test
-
+chmod -R u+w $RPM_BUILD_ROOT/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%check
+make test
 
 %files
 %defattr(-,root,root,-)
-%doc README Changes examples
-%{_bindir}/*
-%{perl_vendorlib}/*
-%{_mandir}/man1/*.1*
-%{_mandir}/man3/*.3*
-
+# For license text(s), see the perl package.
+%doc Changes README ReleaseNotes.txt
+%{_bindir}/*pl
+%{perl_vendorlib}/SOAP
+%{perl_vendorlib}/Apache
+%{perl_vendorlib}/IO
+%{perl_vendorlib}/UDDI
+%{perl_vendorlib}/OldDocs
+%{perl_vendorlib}/XML
+%{perl_vendorlib}/XMLRPC
+%{_mandir}/man3/*
+%{_mandir}/man1/*
 
 %changelog
+* Tue Jul 18 2006 Mike McGrath <imlinux at gmail.com> - 0.68-1
+- New upstream source
+- Patch provided for <value><nil/></value> issues
+
+* Mon Mar 20 2006 Mike McGrath <imlinux at gmail.com> - 0.67-2
+- Removed perl requirements that do not yet exist in Extras
+
+* Sat Mar 18 2006 Mike McGrath <imlinux at gmail.com> - 0.67-1
+- New Owner and new spec file
+
 * Wed Oct 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.60a-3
 - Fix build, doc permissions (#169821).
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-SOAP-Lite/FC-3/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	11 Apr 2005 22:42:45 -0000	1.2
+++ sources	18 Jul 2006 19:51:19 -0000	1.3
@@ -1 +1 @@
-aed9f8e9c4cf180d15c6e15aedc484d7  SOAP-Lite-0.60a.tar.gz
+1ce5b461de969b12c5ce9892ffcdb810  SOAP-Lite-0.68.tar.gz




More information about the fedora-extras-commits mailing list