https://bugzilla.redhat.com/show_bug.cgi?id=1241469



--- Comment #15 from Jan Chaloupka <[email protected]> ---
From packaging guidelines [1]:

"A Fedora package must not list a file more than once in the spec file's %files
listings. If you think your package is a valid exception to this, please bring
it to the attention of the Packaging Committee so they can improve on this
Guideline."

So duplication is not implicitly allowed between two %files sections (if my
understanding of it is correct). The only exception are license files.

Talking to Lubos Kardos (<[email protected]>, rpm maintainer) the work-flow is
like this:
1) rpm installs both k8s-master and k8s-client. /usr/bin/kubectl owned by old
k8s-master is not deleted
2) both old k8s-master and new k8s-client own the binary
3) old k8s-master is removed and the binary is now owned only by k8s-client

If old and new /usr/bin/kubectl has different checksum, the old one is replaced
by the new one.

Eric, does it cover your situation?

[1] https://fedoraproject.org/wiki/Packaging:Guidelines#Duplicate_Files

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to