https://bugzilla.redhat.com/show_bug.cgi?id=2121250
--- Comment #3 from Jerry James <loganjerry(a)gmail.com> ---
(In reply to Fabio Valentini from comment #2)
This warning is a false positive. The resulting packages will not
include
duplicates and the correct files will be marked as %doc and %license,
respectively.
It isn't a false positive. The spec file really does list those files twice,
hence the warnings from rpm. See the end of the build log:
RPM build warnings:
File listed twice: /usr/share/cargo/registry/diskus-0.7.0/CHANGELOG.md
File listed twice: /usr/share/cargo/registry/diskus-0.7.0/LICENSE-APACHE
File listed twice: /usr/share/cargo/registry/diskus-0.7.0/LICENSE-MIT
File listed twice: /usr/share/cargo/registry/diskus-0.7.0/README.md
The RPM code has this comment just above where the warning is issued:
/* Two entries for the same file found, merge the entries. */
If the merging is order-independent and deterministic, then it may be okay to
simply ignore the warning. However, if you want to know for sure what the
binary RPM will contain in spite of future changes to RPM, a modification such
as the one I suggested will do that.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2121250