Ticket #385 (closed defect: accepted)
workarounds for rpm symlink <-> directory issue
|Reported by:||patches||Owned by:|
|Keywords:||Cc:||pmatilai, richardfearn@…, slaanesh|
Since this is a fairly common thing to do, and it will only become more so as we unbundle JS libraries from packages and replace them with a symlink for compatibility, it would be nice to have an official guideline for the %pretrans workarounds required to make this work.
So, I've composed a draft here: https://fedoraproject.org/wiki/User:Patches/PackagingDrafts/Symlink_Workarounds
I'm not sure where best to place this, it seems like it would fit nicely in either the File and Directory Ownership section or the %pretrans scriptlet section. I'll leave it up to you all to figure out where you best think it fits.
I copied the snippets from Panu's e-mails on the subject so hopefully they're correct, but I've added him on CC so they can get one final look before going in the official guidelines. :-)