r11231 - in /trunk/libio-zlib-perl/debian: changelog control patches/ patches/01-fix_gzip_path.patch patches/series rules

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Sun Dec 16 15:19:58 UTC 2007


Author: hanska-guest
Date: Sun Dec 16 15:19:58 2007
New Revision: 11231

URL: http://svn.debian.org/wsvn/?sc=1&rev=11231
Log:
* debian/control:
  - bumping Standards-Version to 3.7.3
  - adding myself to Uploaders
  - moving debhelper to Build-Depends from B-D-Indep
  - adding quilt to B-D
* debian/rules:
  - don't ignore the return value of $(MAKE) clean
  - updated to support quilt patch system
* debian/patches: added to fix gzip's path (/bin/ instead of /usr/bin/)
  in a test file (t/external.t)

Added:
    trunk/libio-zlib-perl/debian/patches/
    trunk/libio-zlib-perl/debian/patches/01-fix_gzip_path.patch
    trunk/libio-zlib-perl/debian/patches/series
Modified:
    trunk/libio-zlib-perl/debian/changelog
    trunk/libio-zlib-perl/debian/control
    trunk/libio-zlib-perl/debian/rules

Modified: trunk/libio-zlib-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libio-zlib-perl/debian/changelog?rev=11231&op=diff
==============================================================================
--- trunk/libio-zlib-perl/debian/changelog (original)
+++ trunk/libio-zlib-perl/debian/changelog Sun Dec 16 15:19:58 2007
@@ -1,4 +1,4 @@
-libio-zlib-perl (1.08-1) UNRELEASED; urgency=low
+libio-zlib-perl (1.08-1) unstable; urgency=low
 
   [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -8,6 +8,16 @@
 
   [ David Paleino ]
   * New upstream version
+  * debian/control:
+    - bumping Standards-Version to 3.7.3
+    - adding myself to Uploaders
+    - moving debhelper to Build-Depends from B-D-Indep
+    - adding quilt to B-D
+  * debian/rules:
+    - don't ignore the return value of $(MAKE) clean
+    - updated to support quilt patch system
+  * debian/patches: added to fix gzip's path (/bin/ instead of /usr/bin/)
+    in a test file (t/external.t)
 
  -- David Paleino <d.paleino at gmail.com>  Sun, 16 Dec 2007 16:10:36 +0100
 

Modified: trunk/libio-zlib-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libio-zlib-perl/debian/control?rev=11231&op=diff
==============================================================================
--- trunk/libio-zlib-perl/debian/control (original)
+++ trunk/libio-zlib-perl/debian/control Sun Dec 16 15:19:58 2007
@@ -2,9 +2,10 @@
 Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Jay Bonci <jaybonci at debian.org>
-Build-Depends-Indep: debhelper (>> 4.0.0),perl (>> 5.6.1-16), libcompress-zlib-perl
-Standards-Version: 3.6.1.0
+Uploaders: Jay Bonci <jaybonci at debian.org>, David Paleino <d.paleino at gmail.com>
+Build-Depends: debhelper (>= 5), quilt
+Build-Depends-Indep: perl (>> 5.6.1-16), libcompress-zlib-perl
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/IO-Zlib/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libio-zlib-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libio-zlib-perl/

Added: trunk/libio-zlib-perl/debian/patches/01-fix_gzip_path.patch
URL: http://svn.debian.org/wsvn/trunk/libio-zlib-perl/debian/patches/01-fix_gzip_path.patch?rev=11231&op=file
==============================================================================
--- trunk/libio-zlib-perl/debian/patches/01-fix_gzip_path.patch (added)
+++ trunk/libio-zlib-perl/debian/patches/01-fix_gzip_path.patch Sun Dec 16 15:19:58 2007
@@ -1,0 +1,25 @@
+Index: IO-Zlib-1.08/t/external.t
+===================================================================
+--- IO-Zlib-1.08.orig/t/external.t	2007-12-16 16:15:36.000000000 +0100
++++ IO-Zlib-1.08/t/external.t	2007-12-16 16:16:09.000000000 +0100
+@@ -1,14 +1,14 @@
+-# Test this only iff we have an executable /usr/bin/gzip
+-# AND we have /usr/bin in our PATH
+-# AND we have a useable /usr/bin directory.
++# Test this only iff we have an executable /bin/gzip
++# AND we have /bin in our PATH
++# AND we have a useable /bin directory.
+ # This limits the testing to UNIX-like
+ # systems but that should be enough.
+ 
+-my $gzip = "/usr/bin/gzip";
++my $gzip = "/bin/gzip";
+ 
+ unless( -x $gzip &&
+-        ":$ENV{PATH}:" =~ m!:/usr/bin:! &&
+-        -d "/usr/bin" && -x "/usr/bin") {
++        ":$ENV{PATH}:" =~ m!:/bin:! &&
++        -d "/bin" && -x "/bin") {
+     print "1..0 # Skip: no $gzip\n";
+     exit 0;
+ }

Added: trunk/libio-zlib-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libio-zlib-perl/debian/patches/series?rev=11231&op=file
==============================================================================
--- trunk/libio-zlib-perl/debian/patches/series (added)
+++ trunk/libio-zlib-perl/debian/patches/series Sun Dec 16 15:19:58 2007
@@ -1,0 +1,1 @@
+01-fix_gzip_path.patch

Modified: trunk/libio-zlib-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libio-zlib-perl/debian/rules?rev=11231&op=diff
==============================================================================
--- trunk/libio-zlib-perl/debian/rules (original)
+++ trunk/libio-zlib-perl/debian/rules Sun Dec 16 15:19:58 2007
@@ -10,18 +10,18 @@
 
 PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
 
+include /usr/share/quilt/quilt.make
 
-build:
+build: patch
 	dh_testdir
-	# Add here commands to compile the package.
 	perl Makefile.PL verbose INSTALLDIRS=vendor
-clean:
+
+clean: unpatch
 	dh_testdir
 	dh_testroot
 
-	-$(MAKE) clean
-	rm -f Makefile.old
-	dh_clean
+	[ ! -f Makefile ] || $(MAKE) clean
+	dh_clean Makefile.old
 
 install:
 	dh_testdir




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