Opened 13 years ago

Closed 13 years ago

#23 closed defect (fixed)

rpm: timestamps are not preserved when installing

Reported by: Yuri Dario Owned by: Yuri Dario
Priority: major Milestone:
Component: rpm Version:
Severity: Keywords:
Cc:

Description

when rpm installs a file, the timestamp is set to current time.

a simple test on ubuntu showed that timestamps are preserved on installation.

Change History (3)

comment:1 by Yuri Dario, 13 years ago

more tests showed that rpm installation is ok, the 'bug' is at build time.

cp (and install) does not preserve timestamp while copying files.

cp -p preserves attributes and timestamps.

Fixing in .spec files needed.

comment:2 by Yuri Dario, 13 years ago

(changeset:202) added -p to cp.

comment:3 by Yuri Dario, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.