Accepting request 65076 from devel:languages:perl

Accepted submit request 65076 from user licensedigger

OBS-URL: https://build.opensuse.org/request/show/65076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-RPC-XML?expand=0&rev=15
This commit is contained in:
Sascha Peilicke 2011-03-24 15:52:32 +00:00 committed by Git OBS Bridge
commit efdf01e05d
5 changed files with 81 additions and 66 deletions

View File

@ -1,8 +1,23 @@
Index: t/40_server.t
===================================================================
--- t/40_server.t.orig
+++ t/40_server.t
@@ -59,8 +59,9 @@ isa_ok($srv, 'RPC::XML::Server', '$srv<2
--- t/40_server.t.orig 2010-10-22 10:15:38.000000000 +0200
+++ t/40_server.t 2011-03-22 07:35:52.549287223 +0100
@@ -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.
# Aliases keep causing this test to falsely fail.
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

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.
#
@ -15,83 +15,75 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-RPC-XML
BuildRequires: perl perl-XML-Parser perl-libwww-perl perl-macros
#BuildRequires: perl-XML-LibXML
Url: http://search.cpan.org/search?module=RPC::XML
License: Artistic License ..
Group: Development/Libraries/Perl
Requires: perl = %{perl_version} perl-XML-Parser perl-libwww-perl
AutoReqProv: on
Version: 0.74
Release: 1
License: GPL+ or Artistic
%define cpan_name RPC-XML
Summary: A set of classes for core data, message and XML handling
Version: 0.67
Release: 10
Source: RPC-XML-%{version}.tar.bz2
Patch0: RPC-XML-0.53-ext-daemon-and-header-cb.dif
Patch1: RPC-XML-0.60-fix-utf8.dif
Url: http://search.cpan.org/dist/RPC-XML/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/R/RJ/RJRAY/RPC-XML-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
# UNCLEAR
Source1: RPC-XML-0.53-ext-daemon-and-header-cb.dif
# UNCLEAR
Source2: 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
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
BuildArch: noarch
%{perl_requires}
%description
The RPC::XML package is a reference implementation of the XML-RPC
standard.
The *RPC::XML* package is an implementation of the *XML-RPC* 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.
Authors:
--------
Randy J. Ray <rjray@blackperl.com>
This module does not actually provide any transport implementation or
server basis. For these, see the RPC::XML::Client manpage and the
RPC::XML::Server manpage, respectively.
%prep
%setup -n RPC-XML-%{version}
%patch0 -p0
%patch1 -p1
%patch2
# ---------------------------------------------------------------------------
%setup -q -n %{cpan_name}-%{version}
%patch2 -p0
%build
perl Makefile.PL
make %{?_smp_mflags}
make test
# ---------------------------------------------------------------------------
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
make DESTDIR=$RPM_BUILD_ROOT \
INSTALLMAN1DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
/usr/bin/make_method
%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
%files -f %{name}.files
%defattr(644,root,root,755)
%doc ChangeLog ChangeLog.xml README README.apache2
%changelog