Also reported to FPC as (if an expected behavior) it may affects packaging documentation https://pagure.io/packaging-committee/issue/1139 In short when a scriplet (%pretrans) clean a symlink before the update to be replaced by a directory and its content => works with pm -Uvh => doesn't work with dnf (Transaction test fails) This may block distro upgrade.
Probably dupe of bug 1835424
*** This bug has been marked as a duplicate of bug 1835424 ***