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

Bug#762105: lintian: package-contains-timestamped-gzip incorrectly complains about files from the upstream tarball



Hi Stuart!

* Stuart Prescott <stuart@debian.org>, 2014-09-18, 23:35:
The package-contains-timestamped-gzip tag complains about gzipped files that are in the upstream tarball. While it is true that these files were compressed and contain a timestamp, it is not true that this timestamp will be different each time the package is built,
[...]
It would be best if lintian didn't complain about compressed files that are also present in the upstream package.

I think the following heuristics, which doesn't require access to the source package, should work well:

If the gzip timestamp is older than the timestamp from the changelog trailer, then the file wasn't generated at build time, and package-contains-timestamped-gzip shouldn't be emitted.

--
Jakub Wilk


Reply to: