On 20.12.2016 13:25, Neal Gompa wrote:
> On Tue, Dec 20, 2016 at 7:20 AM, Tom Hughes <t...@compton.nu> 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.
> 
> 

I tested this by adding: Obsoletes: symlinktest < 1-2
But I still get the same error, so I guess that doesn't work and the
scriptlet is really needed.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to