Dne 31. 10. 23 v 18:21 Kalev Lember napsal(a):
On Tue, Oct 31, 2023 at 5:47 PM Miroslav Suchý
<msuchy(a)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.
--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys