On Tue, Dec 20, 2016 at 7:20 AM, Tom Hughes <tom@xxxxxxxxxx> wrote: > On 20/12/16 12:15, Till Hofmann wrote: > >> I have a package that contains a subdirectory which is changed to a >> symlink in the next release. When I upgrade, I get the following error: >> >> Error: Transaction check error: >> file /usr/share/symlinktest/dir/subdir from install of >> symlinktest-1-2.fc25.x86_64 conflicts with file from package >> symlinktest-1-1.fc25.x86_64 > > > Replacing a directory needs special lua scriptlet hackery: > > https://fedoraproject.org/wiki/Packaging:Directory_Replacement > I'm not completely sure about this, but I think using Obsoletes in the successive version is supposed make RPM handle "internal" file conflicts properly, too. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx