On Mon, Mar 3, 2025 at 6:35 PM Ben Beasley <code@xxxxxxxxxxxxxxxxxx> wrote: > > On Mon, Mar 3, 2025, at 12:28 PM, Petr Pisar wrote: > > RPM poorly handles changing symlinks to directories (or vice versa?). This > > shortcoming can be mitigated with an RPM scriptlet, but scriptlets are frown > > by OSTree distribution systems. > > > > In case you will need to revert the symlink, your could have problems. > > > > -- Petr > > More details on this: > > https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/ If I remember correctly, the method documented here also does not work any longer. Recent versions of DNF run some kind of "transaction check" that will complain about conflicting files (since it doesn't know that the scriptlets would resolve the conflict programmatically during the transaction). Fabio -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue