package arch-buildpackage
reopen 324135 =
thanks iho

Hi all,

Looking at /usr/bin/arch-buildpackage, it seems that the (re)building
of upstream source from <package>/upstream doesn't strip
'\{arch\}|\.arch-ids' at all:

unless ($skip_tarball)
  {
    my $olddir = cwd;
    chdir "$package/upstream" or die "Failed to chdir to $package/upstream";
    print "cd $package/upstream\n";
    system_log("tar",
               "--gzip", "--create",
               "--exclude", "++pristine-trees",
               "--exclude", "++saved-*",
               "--exclude", ",,*",
               "--file", "../${package}_$upstreamversion.orig.tar.gz",
               $source_tree || "$package-$upstreamversion") == 0
                 or die "tar failed: $!";
    chdir $olddir or die "Failed to chdir to $olddir";
    print "cd $olddir\n";
  }

As shown, the `tar' to make the .orig.tar.gz is hard-coded.  Hence,
even Mr. Sogo's setting at ~/.archdeb.conf will not work, unless I
copy the upstream .tar.gz manually to <package>/.*.orig.tar.gz.

--
Zak B. Elep --- http://zakame.spunge.org
1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 851D

Reply via email to