forked from pool/perl-RPC-XML
This commit is contained in:
committed by
Git OBS Bridge
parent
e9e42c8483
commit
2810a73be7
12
RPC-XML-0.60-rev127.dif
Normal file
12
RPC-XML-0.60-rev127.dif
Normal file
@@ -0,0 +1,12 @@
|
||||
--- t/40_server.t
|
||||
+++ t/40_server.t
|
||||
@@ -55,7 +55,8 @@
|
||||
$srv = RPC::XML::Server->new(no_default => 1,
|
||||
host => 'localhost', port => $port);
|
||||
isa_ok($srv, 'RPC::XML::Server', '$srv<2>');
|
||||
-is($srv->url, "http://localhost:$port/",
|
||||
+my $loc_reverse = gethostbyaddr(inet_aton("127.0.0.1"),AF_INET);
|
||||
+is($srv->url, "http://$loc_reverse:$port/",
|
||||
'RPC::XML::Server::url method (set)'); # This should be non-null this time
|
||||
# Test some of the simpler cases of add_method and get_method
|
||||
$res = $srv->add_method({ name => 'perl.test.suite.test1',
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 13:53:46 CEST 2008 - ro@suse.de
|
||||
|
||||
- hack to build also in buildservice where 127.0.0.1 can
|
||||
resolve to the hostname instead of localhost
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 18:06:07 CEST 2008 - mc@suse.de
|
||||
|
||||
|
@@ -2,9 +2,16 @@
|
||||
# spec file for package perl-RPC-XML (Version 0.60)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
@@ -21,10 +28,11 @@ Requires: perl = %{perl_version} perl-XML-Parser perl-libwww-perl
|
||||
AutoReqProv: on
|
||||
Summary: A set of classes for core data, message and XML handling
|
||||
Version: 0.60
|
||||
Release: 1
|
||||
Release: 28
|
||||
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
|
||||
Patch2: RPC-XML-0.60-rev127.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -41,6 +49,7 @@ Authors:
|
||||
%setup -n RPC-XML-%{version}
|
||||
%patch0 -p0
|
||||
%patch1 -p1
|
||||
%patch2
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
%build
|
||||
@@ -87,6 +96,9 @@ make DESTDIR=$RPM_BUILD_ROOT \
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Aug 18 2008 ro@suse.de
|
||||
- hack to build also in buildservice where 127.0.0.1 can
|
||||
resolve to the hostname instead of localhost
|
||||
* Mon Apr 14 2008 mc@suse.de
|
||||
- version 0.60
|
||||
* fix problem caused by having colons in temp-file names.
|
||||
|
Reference in New Issue
Block a user