On 17/05/2025 12:27, André Flechs wrote:
But there is still the error " source-is-missing".
The named files are in the upstream package, but I have no idea how to
remove.
I tried "Files-Excluded" in debian/copyright, but this led to
"repackaged-source-not-advertised". Also this seems odd because the
removal is not because of copyright issues.
I tried to remove in the "clean" target and rebuild it, but this didn't
help.
What is the best way to remove the files from source package?
The excluded files have to be removed from the .orig tarball, not from
inside d/rules. And the version should have a suffix like +ds for the
not-advertised part.
To actually remove the files, I usually do this:
- edit d/copyright Files-Excluded field
- mk-origtargz ../upstream.orig.tarball
(removes them from upstream.orig.tarball based on upstream.tarball)
- rm files from current dir
Then you can start building.
Here is an example of a repacked project if you want to see how it all
works with d/watch and branch names, etc.
https://salsa.debian.org/debian/hueplusplus
However, the sources for those html files aren't missing, it's just
lintian is not able to map them to the .rst files - maybe overriding the
error is an option here (also avoids all the fiddly exclusion/repacking).
--
Regards,
Ahmad