On Wed, Nov 1, 2023 at 2:19 AM Miroslav Suchý <msu...@redhat.com> wrote:
>
> Dne 31. 10. 23 v 18:21 Kalev Lember napsal(a):
>
> On Tue, Oct 31, 2023 at 5:47 PM Miroslav Suchý <msu...@redhat.com> wrote:
>>
>> How it conflicts?
>>
>> %files
>>
>> %license LICENSE
>>
>> %files doc
>>
>> %license LICENSE
>>
>> should not create any conflicts. And this is recomended way to do it.
>
>
> I guess the conflicts happen when the LICENSE file changes between builds and 
> individual subpackages that ship it aren't updated in lock step. Often there 
> is a full NVR version requirement that locks individual subpackages together, 
> but not in this case. If people for example download just one of the 
> subpackages from koji (and not the other), it can lead to only one of them 
> getting updated.
>
> License from subpackage goes to different directory. See:
>
> $ rpm -qf /usr/share/licenses/llvm/LICENSE.TXT
> llvm-17.0.2-1.fc39.x86_64
> $ rpm -qf /usr/share/licenses/llvm-libs/LICENSE.TXT
> llvm-libs-17.0.2-1.fc39.x86_64
>
> llvm-libs-17.0.2-1.fc39.i686
>
> so license from llvm and llvm-libs should not never conflicts because the 
> file goes to different directory.
>
> What can conflict is multilib packages in different version with different 
> content of the file.
>

The cmake-doc package reuses the license and doc directories from the
main package and ships them. That's why the conflict exists.




--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to