Comment 7 for bug 229374

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote : Re: [Bug 229374] Re: Please merge sbuild 0.57.2-1 from debian (sid)

Morten Kjeldgaard wrote:
> PS: There is no way to avoid getting config.sub and config.guess in the
> diff.gz from this package, because these files are copied from
> /usr/share/misc when the clean rule is being run, and that is called
> when you generate the source package.
>
> To fix it requires further changes in debian/rules.
>

You could do 'dpkg-source -b foo-1.0/', which builds the source package without
calling debian/rules clean, although that's indeed a workaround.

BTW, I think the package shouldn't copy the file in clean, but in configure, and
remove it in clean