https://bugzilla.redhat.com/show_bug.cgi?id=2121250
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |decathorpe@gmail.com
--- Comment #2 from Fabio Valentini decathorpe@gmail.com --- (In reply to Jerry James from comment #1)
Package does not contain duplicates in %files. Note: warning: File listed twice: /usr/share/cargo/registry/diskus-0.7.0/CHANGELOG.md See: https://docs.fedoraproject.org/en-US/packaging- guidelines/#_duplicate_files
Rpm identifies 4 files that are listed twice: CHANGELOG.md, LICENSE-APACHE, LICENSE_MIT, and README.md. See the end of build.log. The issue is that %files devel has this:
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.
Also, in case you see problems with spec files that are generated by rust2rpm, please don't just try to work around them in spec files, but actually file issues against rust2rpm so things can either 1) be fixed for *all* Future packages, or 2) explained that some warnings are actually wrong and safe to ignore +as is the case here).