r20250 - in /trunk/librpc-xml-perl/debian: changelog control patches/ patches/series patches/test-localhost.patch rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Wed May 21 15:36:51 UTC 2008


Author: gregoa
Date: Wed May 21 15:36:50 2008
New Revision: 20250

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20250
Log:
* Add patch test-localhost.patch: allow both 'localhost' and
  'localhost.localdomain' as valid values in t/40server.t
  (closes: #482221); add quilt framework.
* Severity set to medium because of the FTBFS bug.

Added:
    trunk/librpc-xml-perl/debian/patches/
    trunk/librpc-xml-perl/debian/patches/series
    trunk/librpc-xml-perl/debian/patches/test-localhost.patch
Modified:
    trunk/librpc-xml-perl/debian/changelog
    trunk/librpc-xml-perl/debian/control
    trunk/librpc-xml-perl/debian/rules

Modified: trunk/librpc-xml-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/changelog?rev=20250&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/changelog (original)
+++ trunk/librpc-xml-perl/debian/changelog Wed May 21 15:36:50 2008
@@ -1,3 +1,12 @@
+librpc-xml-perl (0.60-3) UNRELEASED; urgency=medium
+
+  * Add patch test-localhost.patch: allow both 'localhost' and
+    'localhost.localdomain' as valid values in t/40server.t
+    (closes: #482221); add quilt framework.
+  * Severity set to medium because of the FTBFS bug.
+
+ -- gregor herrmann <gregoa at debian.org>  Wed, 21 May 2008 17:22:21 +0200
+
 librpc-xml-perl (0.60-2) unstable; urgency=low
 
   [ gregor herrmann ]

Modified: trunk/librpc-xml-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/control?rev=20250&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/control (original)
+++ trunk/librpc-xml-perl/debian/control Wed May 21 15:36:50 2008
@@ -3,7 +3,7 @@
 Priority: optional
 Build-Depends-Indep: libxml-parser-perl, libwww-perl (>= 5.811), perl (>= 5.8.0-7), 
  netbase, libtest-pod-perl, libtest-pod-coverage-perl, libnet-server-perl
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), quilt (>= 0.40)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ivan Kohler <ivan-debian at 420.am>, Damyan Ivanov <dmn at debian.org>,
  Niko Tyni <ntyni at iki.fi>, gregor herrmann <gregoa at debian.org>, 

Added: trunk/librpc-xml-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/patches/series?rev=20250&op=file
==============================================================================
--- trunk/librpc-xml-perl/debian/patches/series (added)
+++ trunk/librpc-xml-perl/debian/patches/series Wed May 21 15:36:50 2008
@@ -1,0 +1,1 @@
+test-localhost.patch

Added: trunk/librpc-xml-perl/debian/patches/test-localhost.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/patches/test-localhost.patch?rev=20250&op=file
==============================================================================
--- trunk/librpc-xml-perl/debian/patches/test-localhost.patch (added)
+++ trunk/librpc-xml-perl/debian/patches/test-localhost.patch Wed May 21 15:36:50 2008
@@ -1,0 +1,17 @@
+Author: gregor herrmann <gregoa at debian.org>
+Bug: #482221
+Description: The test depends on /etc/hosts or whatever resolves
+'localhost'. Allow both 'localhost' and 'localhost.localdomain' as valid
+values.
+
+--- librpc-xml-perl-0.60.orig/t/40_server.t
++++ librpc-xml-perl-0.60/t/40_server.t
+@@ -55,7 +55,7 @@
+ $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/",
++like($srv->url, qr#http://localhost(.localdomain)?:$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',

Modified: trunk/librpc-xml-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/rules?rev=20250&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/rules (original)
+++ trunk/librpc-xml-perl/debian/rules Wed May 21 15:36:50 2008
@@ -7,12 +7,14 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/quilt/quilt.make
+
 PACKAGE = $(shell dh_listpackages)
 PERL   ?= /usr/bin/perl
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
@@ -21,7 +23,7 @@
 	$(MAKE) -C ex MAKEMETHOD="$(PERL) ../etc/make_method"
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp




More information about the Pkg-perl-cvs-commits mailing list