Re: OK to have same license file in multiple sub-packages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 31. 10. 23 v 18:21 Kalev Lember napsal(a):
On Tue, Oct 31, 2023 at 5:47 PM Miroslav Suchý <msuchy@xxxxxxxxxx> 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 -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux