Bug#782354: mergechanges: option to discard architecture-specific packages

Simon McVittie smcv at debian.org
Fri Apr 10 19:27:02 UTC 2015


Package: devscripts
Version: 2.15.3
Severity: wishlist
Tags: patch

The Debian archive does not currently accept source-only uploads
for source packages with Architecture: all binaries, but it does
allow source+all uploads, which result in the architecture-dependent
binaries actually used by typical Debian users being built
in a predictable environment. The attached patch adds an --indep (-i)
option to mergechanges, which takes the source and the
Architecture: all parts of a binary build, and discards the rest.

Typical use:

    debuild
    cd ..
    # install and test it
    mergechanges -f -i foo_1.2-3_amd64.changes
    debsign foo_1.2-3_multi.changes
    dput ftp-master foo_1.2-3_multi.changes

or (this is more like how I actually use it):

    debuild -S
    cd ..
    sbuild -A -d unstable foo_1.2-3.dsc
    # install and test it
    mergechanges -f -i foo_1.2-3_{amd64,source}.changes
    debsign foo_1.2-3_multi.changes
    dput ftp-master foo_1.2-3_multi.changes

Regards,
    S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mergechanges-add-indep-option-to-skip-architecture-s.patch
Type: text/x-diff
Size: 3904 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20150410/7cefcc7c/attachment.patch>


More information about the devscripts-devel mailing list