Package: svn-buildpackage
Version: 0.6.18
Followup-For: Bug #369313

Since -d is undocumented, this doesn't really seem closed.  I'm
attaching a patch against 0.6.18 that skips the builddeps check 
if --svn-tag-only is specified.  This is very useful for folks 
who build in pbuilders and then tag later.

Thanks,
tony

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18.2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages svn-buildpackage depends on:
ii  devscripts                  2.10.2       Scripts to make the life of a Debi
ii  file                        4.20-4       Determines file type using "magic"
ii  libsvn-perl                 1.4.2dfsg1-2 Perl bindings for Subversion
ii  perl                        5.8.8-7      Larry Wall's Practical Extraction 
ii  subversion                  1.4.2dfsg1-2 Advanced version control system
ii  unp                         1.0.12       unpack (almost) everything with on
ii  wget                        1.10.2-2     retrieves files from the web

svn-buildpackage recommends no packages.

-- no debconf information
--- svn-buildpackage.ORIG       2007-04-11 04:30:46.000000000 -0700
+++ svn-buildpackage    2007-04-13 16:05:28.000000000 -0700
@@ -218,13 +218,15 @@
    # a simple "helper". Only executed if no custom command is choosen and
    # no -d switch is there and no prebuild hook is set
    {
-      if(  (!grep {$_ eq "-d"} @ARGV)
-         && (! withechoNoPrompt("dpkg-checkbuilddeps")) 
-         && ! $opt_prebuild
-      )
-
+      unless ($opt_only_tag) 
       {
-         die "Insufficient Build-Deps, stop!\n";
+         if(  (!grep {$_ eq "-d"} @ARGV)
+               && (! withechoNoPrompt("dpkg-checkbuilddeps")) 
+               && ! $opt_prebuild
+         )
+         {
+            die "Insufficient Build-Deps, stop!\n";
+         }
       }
    }
 }

Reply via email to