Dne 31. 10. 23 v 18:21 Kalev Lember napsal(a):
On Tue, Oct 31, 2023 at 5:47 PM Miroslav Suchý <[email protected]> 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.

--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to