tags 428205 + patch fixed-upstream pending
thanks

"Alec Berryman" <[EMAIL PROTECTED]> writes:

> Somewhere between 0.52 and 0.55, the --force-orig-source option was
> renamed to --force_orig_source (dashes changed to underscores).  The man
> page still documents the dashed version (twice), but the program only
> accepts the underscored version.

This is a regression.  When I converted the options parsing to use
Getopt::Long, there must have been a copy/paste error for that option
(it's the variable name, not the option name).

The following patch fixes this and has been applied in SVN.  It will
be included in sbuild 0.56.  If you apply the patch to sbuild, does
this restore the old behaviour for you?

Index: sbuild
===================================================================
--- sbuild	(revision 1219)
+++ sbuild	(working copy)
@@ -138,7 +138,7 @@
 				       if $main::distribution eq "e";
 			       $main::override_distribution = 1;
 		       },
-		       "force_orig_source" => \$conf::force_orig_source,
+		       "force-orig-source" => \$conf::force_orig_source,
 		       "m|maintainer" => \$conf::maintainer_name,
 		       "k|keyid" => \$conf::key_id,
 		       "e|uploader" => \$conf::uploader_name,
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 1219)
+++ debian/changelog	(working copy)
@@ -1,3 +1,13 @@
+sbuild (0.56) UNRELEASED; urgency=low
+
+  * sbuild
+    - Fix --force-orig-source option which was renamed to
+      --force_orig_source while rewriting the options parsing logic to use
+      Getopt::Long (Closes: #428205).  Thanks to Alec Berryman for
+      reporting this regression.
+
+ -- Roger Leigh <[EMAIL PROTECTED]>  Sun, 10 Jun 2007 11:26:28 +0100
+
 sbuild (0.55) unstable; urgency=low
 
   * sbuild:

Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: pgpSh6ccmZGQ3.pgp
Description: PGP signature

Reply via email to