r8788 - in /trunk/libdigest-crc-perl/debian: changelog control patches/ patches/series patches/test.diff rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Nov 3 14:10:34 UTC 2007


Author: gregoa-guest
Date: Sat Nov  3 14:10:34 2007
New Revision: 8788

URL: http://svn.debian.org/wsvn/?sc=1&rev=8788
Log:
Add patch test.diff to make test work again.

Added:
    trunk/libdigest-crc-perl/debian/patches/
    trunk/libdigest-crc-perl/debian/patches/series
    trunk/libdigest-crc-perl/debian/patches/test.diff
Modified:
    trunk/libdigest-crc-perl/debian/changelog
    trunk/libdigest-crc-perl/debian/control
    trunk/libdigest-crc-perl/debian/rules

Modified: trunk/libdigest-crc-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdigest-crc-perl/debian/changelog?rev=8788&op=diff
==============================================================================
--- trunk/libdigest-crc-perl/debian/changelog (original)
+++ trunk/libdigest-crc-perl/debian/changelog Sat Nov  3 14:10:34 2007
@@ -1,8 +1,9 @@
 libdigest-crc-perl (0.12-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Add patch test.diff to make test work again.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 03 Nov 2007 14:50:36 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 03 Nov 2007 15:09:21 +0100
 
 libdigest-crc-perl (0.11-1) unstable; urgency=low
 

Modified: trunk/libdigest-crc-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libdigest-crc-perl/debian/control?rev=8788&op=diff
==============================================================================
--- trunk/libdigest-crc-perl/debian/control (original)
+++ trunk/libdigest-crc-perl/debian/control Sat Nov  3 14:10:34 2007
@@ -8,7 +8,7 @@
 Homepage: http://search.cpan.org/dist/Digest-CRC/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdigest-crc-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-crc-perl/
-Build-Depends: debhelper (>= 5), perl (>= 5.8)
+Build-Depends: debhelper (>= 5), perl (>= 5.8), quilt
 
 Package: libdigest-crc-perl
 Architecture: any

Added: trunk/libdigest-crc-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libdigest-crc-perl/debian/patches/series?rev=8788&op=file
==============================================================================
--- trunk/libdigest-crc-perl/debian/patches/series (added)
+++ trunk/libdigest-crc-perl/debian/patches/series Sat Nov  3 14:10:34 2007
@@ -1,0 +1,1 @@
+test.diff

Added: trunk/libdigest-crc-perl/debian/patches/test.diff
URL: http://svn.debian.org/wsvn/trunk/libdigest-crc-perl/debian/patches/test.diff?rev=8788&op=file
==============================================================================
--- trunk/libdigest-crc-perl/debian/patches/test.diff (added)
+++ trunk/libdigest-crc-perl/debian/patches/test.diff Sat Nov  3 14:10:34 2007
@@ -1,0 +1,14 @@
+Author changed README but forgot to change CRC value in t/crc.t
+Index: libdigest-crc-perl/t/crc.t
+===================================================================
+--- libdigest-crc-perl.orig/t/crc.t	2007-11-03 15:02:58.000000000 +0100
++++ libdigest-crc-perl/t/crc.t	2007-11-03 15:04:03.000000000 +0100
+@@ -45,7 +45,7 @@
+ $ctx->addfile(F);
+ close(F);
+ my $y = $ctx->digest;
+-ok($y == 1468974098, 'OO crc32 with addfile '.$y); 
++ok($y == 1304913126, 'OO crc32 with addfile '.$y); 
+ 
+ # start at offset >0 with previous checksum result
+ $ctx = Digest::CRC->new(type=>"crc32",cont=>1,init=>2583869373); 

Modified: trunk/libdigest-crc-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdigest-crc-perl/debian/rules?rev=8788&op=diff
==============================================================================
--- trunk/libdigest-crc-perl/debian/rules (original)
+++ trunk/libdigest-crc-perl/debian/rules Sat Nov  3 14:10:34 2007
@@ -6,6 +6,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
 
 # If set to a true value then MakeMaker's prompt function will
 # always return the default without waiting for user input.
@@ -29,7 +31,7 @@
 endif
 
 build: build-stamp
-build-stamp:
+build-stamp: patch
 	dh_testdir
 
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
@@ -38,7 +40,7 @@
 
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 




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