[Fedora-packaging] Use of dos2unix in %prep

Panu Matilainen pmatilai at laiskiainen.org
Wed Jan 21 14:02:17 UTC 2009


On Wed, 14 Jan 2009, Jesse Keating wrote:

> On Wed, 2009-01-14 at 10:14 +0100, Ralf Corsepius wrote:
>> sigh, some people will never understand that keeping timestamps is
>> painting bikesheds :(
>
> Keeping timestamps avoids file conflicts on multilib packages.

Nope, timestamps of files are not considered a conflict. Time stamps *in* 
generated files are what causes conflicts, as the content checksums wont 
match.

Take for example man- or info-pages: they get compressed at build 
time so the time stamps will always be different between different 
builds, no matter what the timestamp of the original file was. If 
timestamps caused conflicts, no such file could ever be shared even though 
the content is identical.

The only thing keeping timestamps will help somewhat is avoiding timestamp 
difference whining on verification with older rpm versions, 4.6.0 filters 
them out on shared files (as timestamps are not considered a conflict at 
install time, it's bogus to consider it a verification failure either).

 	- Panu -




More information about the Fedora-packaging mailing list