r8303 - in /trunk/libpar-perl/debian: changelog control patches/ patches/fix-test_50-autoloaderfix.t.patch patches/series rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Oct 17 09:11:18 UTC 2007


Author: dmn
Date: Wed Oct 17 09:11:18 2007
New Revision: 8303

URL: http://svn.debian.org/wsvn/?sc=1&rev=8303
Log:
* Add a patch to avoid endless loop in t/50-autoloaderfix.t

Added:
    trunk/libpar-perl/debian/patches/
    trunk/libpar-perl/debian/patches/fix-test_50-autoloaderfix.t.patch
    trunk/libpar-perl/debian/patches/series
Modified:
    trunk/libpar-perl/debian/changelog
    trunk/libpar-perl/debian/control
    trunk/libpar-perl/debian/rules

Modified: trunk/libpar-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libpar-perl/debian/changelog?rev=8303&op=diff
==============================================================================
--- trunk/libpar-perl/debian/changelog (original)
+++ trunk/libpar-perl/debian/changelog Wed Oct 17 09:11:18 2007
@@ -26,8 +26,9 @@
   * Really enable POD tests
   * Change architecture to all
   * Move test suite from install to build target
+  * Add a patch to avoid endless loop in t/50-autoloaderfix.t
 
- -- Damyan Ivanov <dmn at debian.org>  Wed, 17 Oct 2007 11:47:21 +0300
+ -- Damyan Ivanov <dmn at debian.org>  Wed, 17 Oct 2007 12:11:03 +0300
 
 libpar-perl (0.952-1) unstable; urgency=low
 

Modified: trunk/libpar-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libpar-perl/debian/control?rev=8303&op=diff
==============================================================================
--- trunk/libpar-perl/debian/control (original)
+++ trunk/libpar-perl/debian/control Wed Oct 17 09:11:18 2007
@@ -1,7 +1,7 @@
 Source: libpar-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 5.0.0), quilt
 Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-install-perl,
  libmodule-scandeps-perl (>= 0.66), libarchive-zip-perl,
  libpar-dist-perl (>= 0.22), libdigest-sha1-perl, libmodule-signature-perl,

Added: trunk/libpar-perl/debian/patches/fix-test_50-autoloaderfix.t.patch
URL: http://svn.debian.org/wsvn/trunk/libpar-perl/debian/patches/fix-test_50-autoloaderfix.t.patch?rev=8303&op=file
==============================================================================
--- trunk/libpar-perl/debian/patches/fix-test_50-autoloaderfix.t.patch (added)
+++ trunk/libpar-perl/debian/patches/fix-test_50-autoloaderfix.t.patch Wed Oct 17 09:11:18 2007
@@ -1,0 +1,13 @@
+Index: libpar-perl/t/50-autoloaderfix.t
+===================================================================
+--- libpar-perl.orig/t/50-autoloaderfix.t	2007-10-17 12:05:50.000000000 +0300
++++ libpar-perl/t/50-autoloaderfix.t	2007-10-17 12:06:13.000000000 +0300
+@@ -16,7 +16,7 @@
+ 
+ package main;
+ 
+-$INC{"Bar.pm"} = $0; # <--
++$INC{"Bar"} = $0; # <--
+ {
+     my $p = Bar->new();
+ } # <-- looping while looking for Bar::DESTROY

Added: trunk/libpar-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libpar-perl/debian/patches/series?rev=8303&op=file
==============================================================================
--- trunk/libpar-perl/debian/patches/series (added)
+++ trunk/libpar-perl/debian/patches/series Wed Oct 17 09:11:18 2007
@@ -1,0 +1,1 @@
+fix-test_50-autoloaderfix.t.patch

Modified: trunk/libpar-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libpar-perl/debian/rules?rev=8303&op=diff
==============================================================================
--- trunk/libpar-perl/debian/rules (original)
+++ trunk/libpar-perl/debian/rules Wed Oct 17 09:11:18 2007
@@ -10,6 +10,8 @@
 PERL = /usr/bin/perl
 endif
 
+include /usr/share/quilt/quilt.make
+
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 # Allow disabling build optimation by setting noopt in
@@ -21,7 +23,7 @@
         CFLAGS += -O2
 endif
 
-build: build-stamp
+build: patch build-stamp
 build-stamp:
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
@@ -29,7 +31,7 @@
 	PERL_TEST_POD=1 $(MAKE) test
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp




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