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



--- Comment #7 from Otto Urpelainen <[email protected]> ---
%license must be always used, it puts the license to standard license file
location in Fedora, which is /usr/share/licenses. Reference:
https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/

The complain from unstalled but unpackaged files appears, because upstream
build script installs the LICENSE to buildroot (to docs it seems), then rpm
detects that there is a file installed in buildroot that is not handled in
%files. There are at least two ways to fix this: Copy the license to docs as
you were already doing. The it appears both in /usr/share/licenses and
/usr/share/doc. That is kind of redundant, but not a big deal. Or get rid of
the file with 'rm /unwanted/file' in the end of %install section, which avoids
the duplication.

The warning can also be silenced by using %exclude in %files, but apparently it
will stop working in the future:
https://lists.fedoraproject.org/archives/list/[email protected]/message/RWUGI5HAPH6FTM46QUC534ZE4HLMMOSG/

I will take a look at the new files later.


-- 
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
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to