- update to 0.74

* tons and tons of fixes and new functions since 0.67, see ChangeLog
- take out patches of unclear use, to be removed on next update
- regenerate with cpanspec

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPC-XML?expand=0&rev=14
This commit is contained in:
Stephan Kulow 2011-03-22 06:47:11 +00:00 committed by Git OBS Bridge
parent cb26ceeca5
commit 7895c3cf15
5 changed files with 81 additions and 66 deletions

View File

@ -1,8 +1,23 @@
Index: t/40_server.t Index: t/40_server.t
=================================================================== ===================================================================
--- t/40_server.t.orig --- t/40_server.t.orig 2010-10-22 10:15:38.000000000 +0200
+++ t/40_server.t +++ t/40_server.t 2011-03-22 07:35:52.549287223 +0100
@@ -59,8 +59,9 @@ isa_ok($srv, 'RPC::XML::Server', '$srv<2 @@ -63,8 +63,9 @@ isa_ok($srv, 'RPC::XML::Server', '$srv<2
# 22/09/2008 - Just allow for anything the user has attached to this address.
# Aliases keep causing this test to falsely fail.
my @localhostinfo = gethostbyname('localhost');
+my $loc_reverse = gethostbyaddr(inet_aton("127.0.0.1"),AF_INET);
my $localIP = join('.', unpack('C4', $localhostinfo[4]));
-my @allhosts = ($localIP, $localhostinfo[0], split(' ', $localhostinfo[1]));
+my @allhosts = ($localIP, $localhostinfo[0], split(' ', $localhostinfo[1]), $loc_reverse);
for (@allhosts) { s/\./\\./g }
# Per RT 27778: For some reason gethostbyname('localhost') does not return
# "localhost" on win32
Index: t/40_server_xmllibxml.t
===================================================================
--- t/40_server_xmllibxml.t.orig 2010-10-22 10:15:38.000000000 +0200
+++ t/40_server_xmllibxml.t 2011-03-22 07:36:56.583394893 +0100
@@ -80,8 +80,9 @@ isa_ok($srv, 'RPC::XML::Server', '$srv<2
# 22/09/2008 - Just allow for anything the user has attached to this address. # 22/09/2008 - Just allow for anything the user has attached to this address.
# Aliases keep causing this test to falsely fail. # Aliases keep causing this test to falsely fail.
my @localhostinfo = gethostbyname('localhost'); my @localhostinfo = gethostbyname('localhost');

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09c0873bea5005626f0235c659b07dbb94b6185bea5acd2fa820ff1b548524b1
size 115080

3
RPC-XML-0.74.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:437353a02c8c30ace580c0c0d483c9f1dbcf60b243edecb3ad9a80a6ccffd3dd
size 186358

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Mar 22 06:26:33 UTC 2011 - coolo@novell.com
- update to 0.74
* tons and tons of fixes and new functions since 0.67, see ChangeLog
- take out patches of unclear use, to be removed on next update
- regenerate with cpanspec
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 10 10:58:42 UTC 2010 - coolo@novell.com Fri Dec 10 10:58:42 UTC 2010 - coolo@novell.com

View File

@ -1,5 +1,5 @@
# #
# spec file for package perl-RPC-XML (Version 0.67) # spec file for package perl-RPC-XML (Version 0.74)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -15,83 +15,75 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-RPC-XML Name: perl-RPC-XML
BuildRequires: perl-XML-Parser perl-libwww-perl perl perl-macros Version: 0.74
#BuildRequires: perl-XML-LibXML Release: 1
Url: http://search.cpan.org/search?module=RPC::XML License: GPL+ or Artistic
License: Artistic License .. %define cpan_name RPC-XML
Group: Development/Libraries/Perl
Requires: perl = %{perl_version} perl-XML-Parser perl-libwww-perl
AutoReqProv: on
Summary: A set of classes for core data, message and XML handling Summary: A set of classes for core data, message and XML handling
Version: 0.67 Url: http://search.cpan.org/dist/RPC-XML/
Release: 9 Group: Development/Libraries/Perl
Source: RPC-XML-%{version}.tar.bz2 #Source: http://www.cpan.org/authors/id/R/RJ/RJRAY/RPC-XML-%{version}.tar.gz
Patch0: RPC-XML-0.53-ext-daemon-and-header-cb.dif Source: %{cpan_name}-%{version}.tar.gz
Patch1: RPC-XML-0.60-fix-utf8.dif # UNCLEAR
Source0: RPC-XML-0.53-ext-daemon-and-header-cb.dif
# UNCLEAR
Source1: RPC-XML-0.60-fix-utf8.dif
#PATCH-FIX-OPENSUSE - ro@suse.de - fix build in chroot/buildservice
Patch2: RPC-XML-0.60-rev127.dif Patch2: RPC-XML-0.60-rev127.dif
BuildRequires: perl(constant) >= 1.03
BuildRequires: perl(File::Spec) >= 0.8
BuildRequires: perl(LWP) >= 5.834
BuildRequires: perl(Scalar::Util) >= 1.19
BuildRequires: perl(XML::LibXML) >= 1.70
BuildRequires: perl(XML::Parser) >= 2.31
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(constant) >= 1.03
Requires: perl(File::Spec) >= 0.8
Requires: perl(LWP) >= 5.834
Requires: perl(Scalar::Util) >= 1.19
Requires: perl(XML::LibXML) >= 1.70
Requires: perl(XML::Parser) >= 2.31
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires} %{perl_requires}
%description %description
The RPC::XML package is a reference implementation of the XML-RPC The *RPC::XML* package is an implementation of the *XML-RPC* standard.
standard.
The package provides a set of classes for creating values to pass to the
constructors for requests and responses. These are lightweight objects,
most of which are implemented as tied scalars so as to associate specific
type information with the value. Classes are also provided for requests,
responses, faults (errors) and a parser based on the the XML::Parser
manpage package from CPAN.
This module does not actually provide any transport implementation or
Authors: server basis. For these, see the RPC::XML::Client manpage and the
-------- RPC::XML::Server manpage, respectively.
Randy J. Ray <rjray@blackperl.com>
%prep %prep
%setup -n RPC-XML-%{version} %setup -q -n %{cpan_name}-%{version}
%patch0 -p0 %patch2 -p0
%patch1 -p1
%patch2
# ---------------------------------------------------------------------------
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %{__make} %{?_smp_mflags}
make test
# --------------------------------------------------------------------------- %check
%{__make} test
%install %install
make DESTDIR=$RPM_BUILD_ROOT \ %perl_make_install
INSTALLMAN1DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
install_vendor
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %{__rm} -rf %{buildroot}
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(644,root,root,755)
/usr/bin/make_method %doc ChangeLog ChangeLog.xml README README.apache2
%dir %{perl_vendorlib}/RPC
%dir %{perl_vendorlib}/RPC/XML
%{perl_vendorlib}/RPC/XML.pm
%{perl_vendorlib}/RPC/XML/*
%dir %{perl_vendorlib}/Apache
%dir %{perl_vendorlib}/Apache/RPC
%{perl_vendorlib}/Apache/RPC/*
%dir %{perl_vendorlib}/auto/RPC
%dir %{perl_vendorlib}/auto/RPC/XML
%dir %{perl_vendorlib}/auto/RPC/XML/Server
%dir %{perl_vendorlib}/auto/RPC/XML/Procedure
%dir %{perl_vendorlib}/auto/RPC/XML/Function
%{perl_vendorlib}/auto/RPC/XML/Server/*
%{perl_vendorlib}/auto/RPC/XML/Procedure/*
%{perl_vendorlib}/auto/RPC/XML/Function/*
%dir %{perl_vendorarch}/auto/RPC
%dir %{perl_vendorarch}/auto/RPC/XML
%doc MANIFEST ChangeLog README README.apache2
%{_mandir}/man3/RPC::XML*
%{_mandir}/man3/Apache::RPC::*
%{_mandir}/man1/make_method.1.gz
%changelog %changelog