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

Bug#801528: lintian: package-contains-timestamped-gzip false positive



Dear Bill,

Bill Allombert wrote:
> On Tue, Oct 13, 2015 at 02:51:25PM +0000, Mattia Rizzolo wrote:
> > On Tue, Oct 13, 2015 at 03:49:25PM +0200, Bill Allombert wrote:
> > > Being compressed at buildtime is not a problem, since the timestamp stored
> > > is the original one, and it can be useful to preserve it.
> > 
> > the timestamp stored on the gzip container is the one at build time.
> 
> It is the timestamp of the file that is compressed. If the file is taken from
> the original source and the timestamp is not updated when moving it to the 
> debian/tmp tree, for example by using 'cp -p', then the gzip file will contain 
> the time stamp of the original file.

Just add a "-n" to the gzip call in line 165 of debian/rules and
everyone will be happy:

http://anonscm.debian.org/cgit/dbnpolicy/policy.git/tree/debian/rules#n165

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


Reply to: