[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to handle a change in "Files-Excluded:" with gbp



Hello everyone,

I'm trying to polish the packaging for toulbar2 on salsa and I would
like to remove a file from upstream (a doc that is included there and
regenerated from source during compilation).This is to avoid a lintian
"source-contains-prebuilt-doxygen-documentation".

Some files are already excluded from upstream using "Files-Excluded:" in
debian/copyright, and I just added this file to the list.

But this means a new "tarball" needs to be generated by uscan and
committed. This would look like an upstream change, but it's a "debian"
change. As I expected

    uscan --verbose --force-download
    gbp import-orig --pristine-tar ../toulbar2_1.0.0+dfsg.orig.tar.xz

does not work as the upstream version number is unchanged and I get:

    gbp:error: Upstream tag 'upstream/1.0.0+dfsg' already exists

What would you do?

Would it be reasonable to ignore this
"source-contains-prebuilt-doxygen-documentation" for now and wait for
the next upstream version to remove it?

Thomas


Reply to: