[Bug 2121250] Review Request: rust-diskus - Minimal, fast alternative to 'du -sh'

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

 



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



--- Comment #3 from Jerry James <loganjerry@xxxxxxxxx> ---
(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
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux