Thanks Mattia Rizzolo! I was using the debian/docs to include the changelog. Now I'm using the command dh_installchangelogs inside a override_dh_installchangelogs. I think it's Okay now.
You're correct. It was not building twice. I followed your advices and it's building twice and it seems more clean, now. It seems to be lintian clean, now. All the modifications are in Debian-Med SVN. best regards. ----- Original Message ----- From: "Mattia Rizzolo" <mat...@debian.org> To: "debian-med" <debian-med@lists.debian.org> Sent: Monday, August 14, 2017 11:17:12 AM Subject: {Spam} Re: InVesalius new upstream version On Mon, Aug 14, 2017 at 10:35:40AM -0300, Thiago Franco de Moraes wrote: > 1. Lintian reclaims about wrong-name-for-upstream-changelog: it's > because the changelog file in InVesalius is named changelog.md. I > thought in add this error to the lintian-overrides file. Do you think > it's a good idea? Or there is a better way to deal with this error? Please don't. Please read the lintian tag's description, and the related policy paragraph. The upstream changelog should be installed (compressed) as /usr/share/doc/pkg/changelog.gz, and dh_installchangelogs it the tool you use to accomplish so. > 2. I created a debian/source/options file with extend-diff-ignore > option. During the package generation I'm moving the cython source > files to another folder to compile them. This is causing errors with > generation of diff file relative to the orig file. > So I'm using the extend-diff-ignore to ignore these files. Am I doing > it correctly? That feels like something that is not as clean as it could be. Also, reading your description of what you are doing I believe your package wouldn't build twice in a row (i.e. `dpkg-buildpackage && dpkg-buildpackage`), which is another bug. I think what you want to do instead is to *copy* those sources into a temporary directory that you then remove with dh_clean. That said, this feels like an upstream thing, why do you need to copy/move files around before building them? The clean target doesn't clean enough? etc etc. Note: I haven't looked at the package at all. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-