r15495 - in /trunk/libsvn-notify-mirror-perl/debian: changelog control patches/ patches/series patches/test_config_exit.patch rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Feb 24 15:07:05 UTC 2008


Author: gregoa-guest
Date: Sun Feb 24 15:07:04 2008
New Revision: 15495

URL: http://svn.debian.org/wsvn/?sc=1&rev=15495
Log:
Add patch test_config_exit.patch: don't exit with 1 if
  SVN::Notify::Config is not available, because the build aborts
  (closes: #467280). Add quilt framework.

Added:
    trunk/libsvn-notify-mirror-perl/debian/patches/
    trunk/libsvn-notify-mirror-perl/debian/patches/series
    trunk/libsvn-notify-mirror-perl/debian/patches/test_config_exit.patch
Modified:
    trunk/libsvn-notify-mirror-perl/debian/changelog
    trunk/libsvn-notify-mirror-perl/debian/control
    trunk/libsvn-notify-mirror-perl/debian/rules

Modified: trunk/libsvn-notify-mirror-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libsvn-notify-mirror-perl/debian/changelog?rev=15495&op=diff
==============================================================================
--- trunk/libsvn-notify-mirror-perl/debian/changelog (original)
+++ trunk/libsvn-notify-mirror-perl/debian/changelog Sun Feb 24 15:07:04 2008
@@ -21,8 +21,11 @@
     - remove unneeded calls to dh_link and dh_strip
     - move dh_clean before make distclean
   * debian/watch: use dist-based URL.
+  * Add patch test_config_exit.patch: don't exit with 1 if
+    SVN::Notify::Config is not available, because the build aborts
+    (closes: #467280). Add quilt framework.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 24 Feb 2008 15:41:08 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 24 Feb 2008 16:05:22 +0100
 
 libsvn-notify-mirror-perl (0.03603-1) unstable; urgency=medium
 

Modified: trunk/libsvn-notify-mirror-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libsvn-notify-mirror-perl/debian/control?rev=15495&op=diff
==============================================================================
--- trunk/libsvn-notify-mirror-perl/debian/control (original)
+++ trunk/libsvn-notify-mirror-perl/debian/control Sun Feb 24 15:07:04 2008
@@ -1,7 +1,7 @@
 Source: libsvn-notify-mirror-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), libmodule-build-perl (>= 0.2805)
+Build-Depends: debhelper (>= 5.0.0), libmodule-build-perl (>= 0.2805), quilt
 Build-Depends-Indep: perl (>= 5.8.8-7), libsvn-notify-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Standards-Version: 3.7.2

Added: trunk/libsvn-notify-mirror-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libsvn-notify-mirror-perl/debian/patches/series?rev=15495&op=file
==============================================================================
--- trunk/libsvn-notify-mirror-perl/debian/patches/series (added)
+++ trunk/libsvn-notify-mirror-perl/debian/patches/series Sun Feb 24 15:07:04 2008
@@ -1,0 +1,1 @@
+test_config_exit.patch

Added: trunk/libsvn-notify-mirror-perl/debian/patches/test_config_exit.patch
URL: http://svn.debian.org/wsvn/trunk/libsvn-notify-mirror-perl/debian/patches/test_config_exit.patch?rev=15495&op=file
==============================================================================
--- trunk/libsvn-notify-mirror-perl/debian/patches/test_config_exit.patch (added)
+++ trunk/libsvn-notify-mirror-perl/debian/patches/test_config_exit.patch Sun Feb 24 15:07:04 2008
@@ -1,0 +1,13 @@
+Don't exit with 1 if config_test is disabled (because SVN::Notify::Config is not availiable).
+Closes: #467280
+-- gregor
+--- libsvn-notify-mirror-perl.orig/t/002_config.t.PL
++++ libsvn-notify-mirror-perl/t/002_config.t.PL
+@@ -1,6 +1,6 @@
+ use Module::Build;
+ my $mb = Module::Build->current();
+-exit(1) unless $mb->feature('config_support');
++exit(0) unless $mb->feature('config_support');
+ 
+ use Cwd;
+ my ($testconfig, $maintest, $subtest) = (shift, shift, shift);

Modified: trunk/libsvn-notify-mirror-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libsvn-notify-mirror-perl/debian/rules?rev=15495&op=diff
==============================================================================
--- trunk/libsvn-notify-mirror-perl/debian/rules (original)
+++ trunk/libsvn-notify-mirror-perl/debian/rules Sun Feb 24 15:07:04 2008
@@ -14,6 +14,8 @@
 # always return the default without waiting for user input.
 export PERL_MM_USE_DEFAULT=1
 
+include /usr/share/quilt/quilt.make
+
 PACKAGE=$(shell dh_listpackages)
 
 ifndef PERL
@@ -23,7 +25,7 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	# redirect STDIN to avoid any prompting
@@ -33,7 +35,7 @@
 
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 




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