restore binary mtime after debug package creation

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

 



Hi rpm folks - 

I'm using rpm 4.9 and redhat-rpm-config 9.0.3 on a scientific linux 6 based system.  I'm writing a spec file for a package that's used during development; it needs to contain both headers & a binary utility.  

When debug package creation runs at the end of %install, it strips the binary utility, causing an update to its mtime.  Since the headers are untouched, that means that the binary utility looks newer than the headers – which ends up throwing off some makefiles later on.

I'd like to have all the files have the same mtime, but unsure of how to make a "set all times" shell action that runs after everything else in __spec_install_post (including debug package creation).  Any suggestions?

Thanks - Al
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux